Skip to content

Commit a8cafa8

Browse files
authored
DeleteCustomerPaymentProfile Request
Adds the deleteCustomerPaymentProfileRequest to remove a previously saved customer profile.
1 parent 439bb6e commit a8cafa8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/CIMGateway.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ public function createCard(array $parameters = array())
4545
{
4646
return $this->createRequest('\Omnipay\AuthorizeNet\Message\CIMCreateCardRequest', $parameters);
4747
}
48+
/**
49+
* Removes a customer payment profile
50+
*
51+
* @param array $parameters
52+
*
53+
* @return CIMDeletePaymentProfileRequest
54+
*/
55+
public function deleteCard(array $parameters = array())
56+
{
57+
return $this->createRequest('\Omnipay\AuthorizeNet\Message\CIMDeletePaymentProfileRequest', $parameters);
58+
}
4859

4960
public function authorize(array $parameters = array())
5061
{

0 commit comments

Comments
 (0)