| Current Path : /home/h/a/p/happyrenas/old/happy-r.fr/transfere_pro/mangopay/MangoPay/entities/ |
Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 |
| Current File : /home/h/a/p/happyrenas/old/happy-r.fr/transfere_pro/mangopay/MangoPay/entities/bankAccount.inc |
<?php
namespace MangoPay;
/**
* Bank Account entity
*/
class BankAccount extends EntityBase {
/**
* User identifier
* @var LeetchiId
*/
public $UserId;
/**
* Type of bank account
* @var string
*/
public $Type;
/**
* Owner name
* @var string
*/
public $OwnerName;
/**
* Owner address
* @var string
*/
public $OwnerAddress;
/**
* One of BankAccountDetails implementations, depending on $Type
* @var object
*/
public $Details;
/**
* Get array with mapping which property depends on other property
* @return array
*/
public function GetDependsObjects() {
return array(
'Type' => array(
'_property_name' => 'Details',
'IBAN' => '\MangoPay\BankAccountDetailsIBAN',
'GB' => '\MangoPay\BankAccountDetailsGB',
'US' => '\MangoPay\BankAccountDetailsUS',
'CA' => '\MangoPay\BankAccountDetailsCA',
'OTHER' => '\MangoPay\BankAccountDetailsOTHER',
)
);
}
/**
* Get array with read-only properties
* @return array
*/
public function GetReadOnlyProperties() {
$properties = parent::GetReadOnlyProperties();
array_push( $properties, 'UserId' );
array_push( $properties, 'Type' );
return $properties;
}
}