forked from LiveCarta/PayPal-PHP-SDK
Update payments API to v1.9
This commit is contained in:
committed by
jaypatel512 and sdcoffey
parent
7c5ea8b997
commit
c2947ff409
@@ -11,38 +11,37 @@ use PayPal\Common\PayPalModel;
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
* @property string account_number
|
||||
* @property string account_number_type
|
||||
* @property string routing_number
|
||||
* @property string account_type
|
||||
* @property string account_name
|
||||
* @property string check_type
|
||||
* @property string auth_type
|
||||
* @property string auth_capture_timestamp
|
||||
* @property string bank_name
|
||||
* @property string country_code
|
||||
* @property string first_name
|
||||
* @property string last_name
|
||||
* @property string birth_date
|
||||
* @property string account_number
|
||||
* @property string account_number_type
|
||||
* @property string routing_number
|
||||
* @property string account_type
|
||||
* @property string account_name
|
||||
* @property string check_type
|
||||
* @property string auth_type
|
||||
* @property string auth_capture_timestamp
|
||||
* @property string bank_name
|
||||
* @property string country_code
|
||||
* @property string first_name
|
||||
* @property string last_name
|
||||
* @property string birth_date
|
||||
* @property \PayPal\Api\Address billing_address
|
||||
* @property string state
|
||||
* @property string confirmation_status
|
||||
* @property string payer_id
|
||||
* @property string external_customer_id
|
||||
* @property string merchant_id
|
||||
* @property string create_time
|
||||
* @property string update_time
|
||||
* @property string valid_until
|
||||
* @property string state
|
||||
* @property string confirmation_status
|
||||
* @property string payer_id
|
||||
* @property string external_customer_id
|
||||
* @property string merchant_id
|
||||
* @property string create_time
|
||||
* @property string update_time
|
||||
* @property string valid_until
|
||||
* @property \PayPal\Api\Links[] links
|
||||
*/
|
||||
class BankAccount extends PayPalModel
|
||||
{
|
||||
/**
|
||||
* ID of the bank account being saved for later use.
|
||||
*
|
||||
* @deprecated Not publicly available
|
||||
* @param string $id
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setId($id)
|
||||
@@ -53,7 +52,6 @@ class BankAccount extends PayPalModel
|
||||
|
||||
/**
|
||||
* ID of the bank account being saved for later use.
|
||||
*
|
||||
* @deprecated Not publicly available
|
||||
* @return string
|
||||
*/
|
||||
@@ -66,7 +64,7 @@ class BankAccount extends PayPalModel
|
||||
* Account number in either IBAN (max length 34) or BBAN (max length 17) format.
|
||||
*
|
||||
* @param string $account_number
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountNumber($account_number)
|
||||
@@ -90,7 +88,7 @@ class BankAccount extends PayPalModel
|
||||
* Valid Values: ["BBAN", "IBAN"]
|
||||
*
|
||||
* @param string $account_number_type
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountNumberType($account_number_type)
|
||||
@@ -113,7 +111,7 @@ class BankAccount extends PayPalModel
|
||||
* Routing transit number (aka Bank Code) of the bank (typically for domestic use only - for international use, IBAN includes bank code). For more information refer to http://en.wikipedia.org/wiki/Bank_code.
|
||||
*
|
||||
* @param string $routing_number
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoutingNumber($routing_number)
|
||||
@@ -137,7 +135,7 @@ class BankAccount extends PayPalModel
|
||||
* Valid Values: ["CHECKING", "SAVINGS"]
|
||||
*
|
||||
* @param string $account_type
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountType($account_type)
|
||||
@@ -160,7 +158,7 @@ class BankAccount extends PayPalModel
|
||||
* A customer designated name.
|
||||
*
|
||||
* @param string $account_name
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountName($account_name)
|
||||
@@ -184,7 +182,7 @@ class BankAccount extends PayPalModel
|
||||
* Valid Values: ["PERSONAL", "COMPANY"]
|
||||
*
|
||||
* @param string $check_type
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCheckType($check_type)
|
||||
@@ -208,7 +206,7 @@ class BankAccount extends PayPalModel
|
||||
* Valid Values: ["CCD", "PPD", "TEL", "POP", "ARC", "RCK", "WEB"]
|
||||
*
|
||||
* @param string $auth_type
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuthType($auth_type)
|
||||
@@ -231,7 +229,7 @@ class BankAccount extends PayPalModel
|
||||
* Time at which the authorization (or check) was captured. Use this field if the user authorization needs to be captured due to any privacy requirements.
|
||||
*
|
||||
* @param string $auth_capture_timestamp
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuthCaptureTimestamp($auth_capture_timestamp)
|
||||
@@ -254,7 +252,7 @@ class BankAccount extends PayPalModel
|
||||
* Name of the bank.
|
||||
*
|
||||
* @param string $bank_name
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBankName($bank_name)
|
||||
@@ -277,7 +275,7 @@ class BankAccount extends PayPalModel
|
||||
* 2 letter country code of the Bank.
|
||||
*
|
||||
* @param string $country_code
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCountryCode($country_code)
|
||||
@@ -300,7 +298,7 @@ class BankAccount extends PayPalModel
|
||||
* Account holder's first name.
|
||||
*
|
||||
* @param string $first_name
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFirstName($first_name)
|
||||
@@ -323,7 +321,7 @@ class BankAccount extends PayPalModel
|
||||
* Account holder's last name.
|
||||
*
|
||||
* @param string $last_name
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setLastName($last_name)
|
||||
@@ -346,7 +344,7 @@ class BankAccount extends PayPalModel
|
||||
* Birth date of the bank account holder.
|
||||
*
|
||||
* @param string $birth_date
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBirthDate($birth_date)
|
||||
@@ -369,7 +367,7 @@ class BankAccount extends PayPalModel
|
||||
* Billing address.
|
||||
*
|
||||
* @param \PayPal\Api\Address $billing_address
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBillingAddress($billing_address)
|
||||
@@ -393,7 +391,7 @@ class BankAccount extends PayPalModel
|
||||
* Valid Values: ["ACTIVE", "INACTIVE", "DELETED"]
|
||||
*
|
||||
* @param string $state
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setState($state)
|
||||
@@ -417,7 +415,7 @@ class BankAccount extends PayPalModel
|
||||
* Valid Values: ["UNCONFIRMED", "CONFIRMED"]
|
||||
*
|
||||
* @param string $confirmation_status
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setConfirmationStatus($confirmation_status)
|
||||
@@ -440,7 +438,7 @@ class BankAccount extends PayPalModel
|
||||
* [DEPRECATED] Use external_customer_id instead.
|
||||
*
|
||||
* @param string $payer_id
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPayerId($payer_id)
|
||||
@@ -463,7 +461,7 @@ class BankAccount extends PayPalModel
|
||||
* A unique identifier of the customer to whom this bank account belongs to. Generated and provided by the facilitator. This is required when creating or using a stored funding instrument in vault.
|
||||
*
|
||||
* @param string $external_customer_id
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setExternalCustomerId($external_customer_id)
|
||||
@@ -483,10 +481,10 @@ class BankAccount extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* A unique identifier of the merchant for which this bank account has been stored for. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchnt.
|
||||
* A unique identifier of the merchant for which this bank account has been stored for. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchant.
|
||||
*
|
||||
* @param string $merchant_id
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMerchantId($merchant_id)
|
||||
@@ -496,7 +494,7 @@ class BankAccount extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* A unique identifier of the merchant for which this bank account has been stored for. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchnt.
|
||||
* A unique identifier of the merchant for which this bank account has been stored for. Generated and provided by the facilitator so it can be used to restrict the usage of the bank account to the specific merchant.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -509,7 +507,7 @@ class BankAccount extends PayPalModel
|
||||
* Time the resource was created.
|
||||
*
|
||||
* @param string $create_time
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCreateTime($create_time)
|
||||
@@ -532,7 +530,7 @@ class BankAccount extends PayPalModel
|
||||
* Time the resource was last updated.
|
||||
*
|
||||
* @param string $update_time
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setUpdateTime($update_time)
|
||||
@@ -555,7 +553,7 @@ class BankAccount extends PayPalModel
|
||||
* Date/Time until this resource can be used to fund a payment.
|
||||
*
|
||||
* @param string $valid_until
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setValidUntil($valid_until)
|
||||
@@ -578,7 +576,7 @@ class BankAccount extends PayPalModel
|
||||
* Sets Links
|
||||
*
|
||||
* @param \PayPal\Api\Links[] $links
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setLinks($links)
|
||||
|
||||
Reference in New Issue
Block a user