-
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 destination object inside refund payment request (#255)
- Loading branch information
1 parent
16d432d
commit 2946028
Showing
4 changed files
with
179 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
|
||
namespace Checkout\Common; | ||
|
||
class Destination | ||
{ | ||
/** | ||
* @var string values of AccountType | ||
*/ | ||
public $account_type; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $account_number; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $bank_code; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $branch_code; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $iban; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $bban; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $swift_bic; | ||
|
||
/** | ||
* @var string values of Country | ||
*/ | ||
public $country; | ||
|
||
/** | ||
* @var AccountHolder | ||
*/ | ||
public $account_holder; | ||
|
||
/** | ||
* @var BankDetails | ||
*/ | ||
public $bank; | ||
} |
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,76 @@ | ||
<?php | ||
|
||
namespace Checkout\Payments\Request; | ||
|
||
class Order | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $quantity; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $unit_price; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $reference; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $commodity_code; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $unit_of_measure; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $total_amount; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $tax_amount; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $discount_amount; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $wxpay_goods_id; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $image_url; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $url; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $type; | ||
|
||
/** | ||
* @var DateTime | ||
*/ | ||
public $service_ends_on; | ||
} |
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