forked from LiveCarta/PayPal-PHP-SDK
Updated Payment APIs
- Updated SDK Models to latest Payment APIs - Updated Unit Tests
This commit is contained in:
161
lib/PayPal/Api/RecipientBankingInstruction.php
Normal file
161
lib/PayPal/Api/RecipientBankingInstruction.php
Normal file
@@ -0,0 +1,161 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PayPalModel;
|
||||
|
||||
/**
|
||||
* Class RecipientBankingInstruction
|
||||
*
|
||||
* Recipient bank Details.
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
* @property string bank_name
|
||||
* @property string account_holder_name
|
||||
* @property string account_number
|
||||
* @property string routing_number
|
||||
* @property string international_bank_account_number
|
||||
* @property string bank_identifier_code
|
||||
*/
|
||||
class RecipientBankingInstruction extends PayPalModel
|
||||
{
|
||||
/**
|
||||
* Name of the financial institution.
|
||||
*
|
||||
* @param string $bank_name
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBankName($bank_name)
|
||||
{
|
||||
$this->bank_name = $bank_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the financial institution.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBankName()
|
||||
{
|
||||
return $this->bank_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the account holder
|
||||
*
|
||||
* @param string $account_holder_name
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountHolderName($account_holder_name)
|
||||
{
|
||||
$this->account_holder_name = $account_holder_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the account holder
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountHolderName()
|
||||
{
|
||||
return $this->account_holder_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* bank account number
|
||||
*
|
||||
* @param string $account_number
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccountNumber($account_number)
|
||||
{
|
||||
$this->account_number = $account_number;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* bank account number
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountNumber()
|
||||
{
|
||||
return $this->account_number;
|
||||
}
|
||||
|
||||
/**
|
||||
* bank routing number
|
||||
*
|
||||
* @param string $routing_number
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoutingNumber($routing_number)
|
||||
{
|
||||
$this->routing_number = $routing_number;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* bank routing number
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRoutingNumber()
|
||||
{
|
||||
return $this->routing_number;
|
||||
}
|
||||
|
||||
/**
|
||||
* IBAN equivalent of the bank
|
||||
*
|
||||
* @param string $international_bank_account_number
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInternationalBankAccountNumber($international_bank_account_number)
|
||||
{
|
||||
$this->international_bank_account_number = $international_bank_account_number;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* IBAN equivalent of the bank
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getInternationalBankAccountNumber()
|
||||
{
|
||||
return $this->international_bank_account_number;
|
||||
}
|
||||
|
||||
/**
|
||||
* BIC identifier of the financial institution
|
||||
*
|
||||
* @param string $bank_identifier_code
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBankIdentifierCode($bank_identifier_code)
|
||||
{
|
||||
$this->bank_identifier_code = $bank_identifier_code;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* BIC identifier of the financial institution
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBankIdentifierCode()
|
||||
{
|
||||
return $this->bank_identifier_code;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user