/** * Makes an update profile request * * @param $parameters * * @return CIMCreateCardResponse */ public function makeUpdatePaymentProfileRequest($parameters) { $obj = new CIMUpdatePaymentProfileRequest($this->httpClient, $this->httpRequest); $obj->initialize(array_replace($this->getParameters(), $parameters)); return $obj->send(); }
public function setUp() { $this->request = new CIMUpdatePaymentProfileRequest($this->getHttpClient(), $this->getHttpRequest()); $this->request->initialize(array('customerProfileId' => '28775801', 'customerPaymentProfileId' => '26455709', 'email' => "*****@*****.**", 'card' => $this->getValidCard(), 'developerMode' => true)); }