/** * Make a request to add a payment profile to the current customer profile * * @param $parameters * * @return CIMCreatePaymentProfileResponse */ public function makeCreatePaymentProfileRequest($parameters) { $obj = new CIMCreatePaymentProfileRequest($this->httpClient, $this->httpRequest); $obj->initialize($parameters); return $obj->send(); }
public function setUp() { $this->request = new CIMCreatePaymentProfileRequest($this->getHttpClient(), $this->getHttpRequest()); $this->request->initialize(array('customerProfileId' => '28775801', 'email' => "*****@*****.**", 'card' => $this->getValidCard(), 'developerMode' => true)); }