Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
Improved @SInCE.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Apr 30, 2015
1 parent e0f8b11 commit df50283
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 10 deletions.
4 changes: 4 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ private function request( $message ) {

/**
* Get iDEAL issuers
*
* @since 1.2.0
*/
public function get_ideal_issuers( $merchant ) {
$request = new Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_IDealIssuersRequestMessage( $merchant );
Expand All @@ -106,6 +108,8 @@ public function get_ideal_issuers( $merchant ) {

/**
* Get gateways
*
* @since 1.2.0
*/
public function get_gateways( $merchant, $customer ) {
$request = new Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_GatewaysRequestMessage( $merchant, $customer );
Expand Down
6 changes: 6 additions & 0 deletions src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function __construct( Pronamic_WP_Pay_Gateways_MultiSafepay_Config $confi
* Get issuers
*
* @see Pronamic_WP_Pay_Gateway::get_issuers()
* @since 1.2.0
*/
public function get_issuers() {
$groups = array();
Expand All @@ -65,6 +66,11 @@ public function get_issuers() {

/////////////////////////////////////////////////

/**
* Get issuer field
*
* @since 1.2.0
*/
public function get_issuer_field() {
return array(
'id' => 'pronamic_ideal_issuer_id',
Expand Down
4 changes: 2 additions & 2 deletions src/XML/DirectTransactionRequestMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Copyright: Copyright (c) 2005 - 2015
* Company: Pronamic
* @author Remco Tolsma
* @version 1.1.0
* @since 1.1.0
* @version 1.2.0
* @since 1.2.0
*/
class Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_DirectTransactionRequestMessage extends Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_RequestMessage {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/XML/DirectTransactionResponseMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Copyright: Copyright (c) 2005 - 2015
* Company: Pronamic
* @author Remco Tolsma
* @version 1.1.0
* @since 1.1.0
* @version 1.2.0
* @since 1.2.0
*/
class Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_DirectTransactionResponseMessage {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/XML/GatewaysResponseMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Copyright: Copyright (c) 2005 - 2015
* Company: Pronamic
* @author Remco Tolsma
* @version 1.1.0
* @since 1.1.0
* @version 1.2.0
* @since 1.2.0
*/
class Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_GatewaysResponseMessage {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/XML/IDealIssuersRequestMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Copyright: Copyright (c) 2005 - 2015
* Company: Pronamic
* @author Remco Tolsma
* @version 1.0.0
* @since 1.0.0
* @version 1.2.0
* @since 1.2.0
*/
class Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_IDealIssuersRequestMessage extends Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_RequestMessage {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/XML/IDealIssuersResponseMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Copyright: Copyright (c) 2005 - 2015
* Company: Pronamic
* @author Remco Tolsma
* @version 1.1.0
* @since 1.1.0
* @version 1.2.0
* @since 1.2.0
*/
class Pronamic_WP_Pay_Gateways_MultiSafepay_Connect_XML_IDealIssuersResponseMessage {
/**
Expand Down
1 change: 1 addition & 0 deletions src/XML/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function __construct( $name ) {
$this->name = $name;

// User Agent
// @since 1.2.0
global $pronamic_pay_version;

$this->set_user_agent( 'Pronamic Pay' . ' ' . $pronamic_pay_version );
Expand Down

0 comments on commit df50283

Please sign in to comment.