-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #547 from Mangopay/feature/payout_features
Feature/payout features
- Loading branch information
Showing
7 changed files
with
125 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
class InstantPayout | ||
{ | ||
/** | ||
* @var boolean | ||
*/ | ||
public $IsReachable; | ||
|
||
/** | ||
* @var FallbackReason | ||
*/ | ||
public $UnreachableReason; | ||
} |
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,53 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
use MangoPay\Libraries\Dto; | ||
|
||
class PayOutEligibilityRequest extends Dto | ||
{ | ||
/** | ||
* A user's ID | ||
* @var string | ||
*/ | ||
public $AuthorId; | ||
|
||
/** | ||
* Information about the funds that are being debited | ||
* @var Money | ||
*/ | ||
public $DebitedFunds; | ||
|
||
/** | ||
* Information about the fees that were taken by the client for this transaction (and were hence transferred to the Client's platform wallet) | ||
* @var Money | ||
*/ | ||
public $Fees; | ||
|
||
/** | ||
* An ID of a Bank Account | ||
* @var string | ||
*/ | ||
public $BankAccountId; | ||
|
||
/** | ||
* The ID of the wallet that was debited | ||
* @var string | ||
*/ | ||
public $DebitedWalletId; | ||
|
||
/** | ||
* A custom reference you wish to appear on the user’s bank statement (your Client Name is already shown). We advise you not to add more than 12 characters. | ||
* @var string | ||
*/ | ||
public $BankWireRef; | ||
|
||
/** | ||
* Payout mode requested. May take one of the following values: | ||
* STANDARD (value by default if no parameter is sent): a standard bank wire is requested and the processing time of the funds is about 48 hours; | ||
* INSTANT_PAYMENT: an instant payment bank wire is requested and the processing time is within 25 seconds (subject to prerequisites); | ||
* INSTANT_PAYMENT_ONLY: an instant payment bank wire is requested and the processing time is within 25 seconds, but if any prerequisite is not met or another problem occurs, there is no fallback: the wallet is automatically refunded and the payout is not completed. | ||
* @var string | ||
*/ | ||
public $PayoutModeRequested; | ||
} |
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,14 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
use MangoPay\Libraries\Dto; | ||
|
||
class PayOutEligibilityResponse extends Dto | ||
{ | ||
/** | ||
* @var InstantPayout | ||
*/ | ||
public $InstantPayout; | ||
} | ||
|
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