MangoPay/ApiMandates.php
public function Create($mandate, $idempotencyKey = null)
    {
        return $this->CreateObject('mandates_create', $mandate, '\MangoPay\Mandate', null, null, $idempotencyKey);
    }
public function Create($mandate, $idempotencyKey = null)
    {
        return $this->CreateObject('mandates_create', $mandate, '\MangoPay\Mandate', null, null, $idempotencyKey);
    }
public function Create ( $ mandate , $ idempotencyKey = null ) { return $ this -> CreateObject ( 'mandates_create' , $ mandate , '\MangoPay\Mandate' , null , null , $ idempotencyKey ) ; }
Create new mandate
@param Mandate $mandate
@return \MangoPay\Mandate Mandate object returned from API
Create new mandate