-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support to ACH and Level 2 & 3 fields
Added Palestine Country code API Updates: Payments
- Loading branch information
Showing
13 changed files
with
178 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Checkout\Payments; | ||
|
||
use Checkout\Common\CustomerRequest; | ||
|
||
class PaymentCustomerRequest extends CustomerRequest | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $tax_number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
lib/Checkout/Payments/Request/Source/Apm/RequestAlipayPlusCNSource.php
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
lib/Checkout/Payments/Request/Source/Apm/RequestAlipayPlusGCashSource.php
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
lib/Checkout/Payments/Request/Source/Apm/RequestAlipayPlusHKSource.php
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
lib/Checkout/Payments/Request/Source/Apm/RequestAlipayPlusSource.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
|
||
namespace Checkout\Payments\Request\Source\Apm; | ||
|
||
use Checkout\Common\PaymentSourceType; | ||
use Checkout\Payments\Request\Source\AbstractRequestSource; | ||
|
||
class RequestAlipayPlusSource extends AbstractRequestSource | ||
{ | ||
public static function requestAlipayPlusCNSource() | ||
{ | ||
return new RequestAlipayPlusSource(PaymentSourceType::$alipay_cn); | ||
} | ||
|
||
public static function requestAlipayPlusGCashSource() | ||
{ | ||
return new RequestAlipayPlusSource(PaymentSourceType::$gcash); | ||
} | ||
|
||
public static function requestAlipayPlusHKSource() | ||
{ | ||
return new RequestAlipayPlusSource(PaymentSourceType::$alipay_hk); | ||
} | ||
|
||
public static function requestAlipayPlusDanaSource() | ||
{ | ||
return new RequestAlipayPlusSource(PaymentSourceType::$dana); | ||
} | ||
|
||
public static function requestAlipayPlusKakaoPaySource() | ||
{ | ||
return new RequestAlipayPlusSource(PaymentSourceType::$kakaopay); | ||
} | ||
|
||
public static function requestAlipayPlusTrueMoneySource() | ||
{ | ||
return new RequestAlipayPlusSource(PaymentSourceType::$truemoney); | ||
} | ||
|
||
public static function requestAlipayPlusTNGSource() | ||
{ | ||
return new RequestAlipayPlusSource(PaymentSourceType::$tng); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,9 @@ public function __construct() | |
* @var string | ||
*/ | ||
public $cvv; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $payment_method; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,9 @@ class ShippingDetails | |
* @var Phone | ||
*/ | ||
public $phone; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $from_address_zip; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters