MangoPay/ApiPayIns.php
public function Create($payIn, $idempotencyKey = null)
    {
        $paymentKey = $this->GetPaymentKey($payIn);
        $executionKey = $this->GetExecutionKey($payIn);
        return $this->CreateObject('payins_' . $paymentKey . '-' . $executionKey . '_create', $payIn, '\MangoPay\PayIn', null, null, $idempotencyKey);
    }
public function Create($payIn, $idempotencyKey = null)
    {
        $paymentKey = $this->GetPaymentKey($payIn);
        $executionKey = $this->GetExecutionKey($payIn);
        return $this->CreateObject('payins_' . $paymentKey . '-' . $executionKey . '_create', $payIn, '\MangoPay\PayIn', null, null, $idempotencyKey);
    }
public function Create ( $ payIn , $ idempotencyKey = null ) { $ paymentKey = $ this -> GetPaymentKey ( $ payIn ) ; $ executionKey = $ this -> GetExecutionKey ( $ payIn ) ; return $ this -> CreateObject ( 'payins_' . $ paymentKey . '-' . $ executionKey . '_create' , $ payIn , '\MangoPay\PayIn' , null , null , $ idempotencyKey ) ; }
Create new pay-in object
@param \MangoPay\PayIn $payIn \MangoPay\PayIn object
@return \MangoPay\PayIn Object returned from API
Create new pay - in object