MangoPay/PayIn.php
public function GetDependsObjects()
    {
        return array(
            'PaymentType' => array(
                '_property_name' => 'PaymentDetails',
                PayInPaymentType::Card => '\MangoPay\PayInPaymentDetailsCard',
                PayInPaymentType::Preauthorized => '\MangoPay\PayInPaymentDetailsPreAuthorized',
                PayInPaymentType::BankWire => '\MangoPay\PayInPaymentDetailsBankWire',
                PayInPaymentType::DirectDebit => '\MangoPay\PayInPaymentDetailsDirectDebit',
                PayInPaymentType::DirectDebitDirect => '\MangoPay\PayInPaymentDetailsDirectDebitDirect',
                PayInPaymentType::PayPal => '\MangoPay\PayInPaymentDetailsPaypal',
                // ...and more in future...
            ),
            'ExecutionType' => array(
                '_property_name' => 'ExecutionDetails',
                PayInExecutionType::Web => '\MangoPay\PayInExecutionDetailsWeb',
                PayInExecutionType::Direct => '\MangoPay\PayInExecutionDetailsDirect',
                PayInExecutionType::ExternalInstruction => '\MangoPay\PayInExecutionDetailsExternalInstruction',                
                // ...and more in future...
            )
        );
    }
public function GetDependsObjects()
    {
        return array(
            'PaymentType' => array(
                '_property_name' => 'PaymentDetails',
                PayInPaymentType::Card => '\MangoPay\PayInPaymentDetailsCard',
                PayInPaymentType::Preauthorized => '\MangoPay\PayInPaymentDetailsPreAuthorized',
                PayInPaymentType::BankWire => '\MangoPay\PayInPaymentDetailsBankWire',
                PayInPaymentType::DirectDebit => '\MangoPay\PayInPaymentDetailsDirectDebit',
                PayInPaymentType::DirectDebitDirect => '\MangoPay\PayInPaymentDetailsDirectDebitDirect',
                PayInPaymentType::PayPal => '\MangoPay\PayInPaymentDetailsPaypal',
                // ...and more in future...
            ),
            'ExecutionType' => array(
                '_property_name' => 'ExecutionDetails',
                PayInExecutionType::Web => '\MangoPay\PayInExecutionDetailsWeb',
                PayInExecutionType::Direct => '\MangoPay\PayInExecutionDetailsDirect',
                PayInExecutionType::ExternalInstruction => '\MangoPay\PayInExecutionDetailsExternalInstruction',                
                // ...and more in future...
            )
        );
    }
public function GetDependsObjects ( ) { return array ( 'PaymentType' => array ( '_property_name' => 'PaymentDetails' , PayInPaymentType :: Card => '\MangoPay\PayInPaymentDetailsCard' , PayInPaymentType :: Preauthorized => '\MangoPay\PayInPaymentDetailsPreAuthorized' , PayInPaymentType :: BankWire => '\MangoPay\PayInPaymentDetailsBankWire' , PayInPaymentType :: DirectDebit => '\MangoPay\PayInPaymentDetailsDirectDebit' , PayInPaymentType :: DirectDebitDirect => '\MangoPay\PayInPaymentDetailsDirectDebitDirect' , PayInPaymentType :: PayPal => '\MangoPay\PayInPaymentDetailsPaypal' , // ...and more in future... ) , 'ExecutionType' => array ( '_property_name' => 'ExecutionDetails' , PayInExecutionType :: Web => '\MangoPay\PayInExecutionDetailsWeb' , PayInExecutionType :: Direct => '\MangoPay\PayInExecutionDetailsDirect' , PayInExecutionType :: ExternalInstruction => '\MangoPay\PayInExecutionDetailsExternalInstruction' , // ...and more in future... ) ) ; }
Get array with mapping which property depends on other property
@return array
Get array with mapping which property depends on other property