Method | Description | |
---|---|---|
Create ( |
Creates a brand new payment method with given parameters.
|
|
Find ( string paymentMethodToken ) : |
Fetches payment method by its token.
|
|
Redact ( ) : |
Redacts sensitive information from the payment method, rendering it unusable.
|
|
Retain ( ) : |
Retains the payment method on api.samurai.feefighters.com. Retain a payment method if it will not be used immediately.
|
|
SetAttributes ( |
Update the payment method with the provided payload attributes This method will set the attributes of this payment method. It does not persist those changes to the server. |
|
TokenizePaymentMethod ( |
Creates a brand new payment method with given parameters and returns its token.
|
|
Update ( ) : void |
Uploads payment method changes onto server. Only properties that have been changed will be uploaded. This method will be fetch original payment method by token and compare original payment method with the current payment method. |
|
UpdateAttributes ( |
Update the payment method with the provided payload attributes This method will set the attributes of this payment method. It will also persist the new changes to the server. |
Method | Description | |
---|---|---|
Execute ( |
||
ProcessResponseErrors ( ) : void |
public static Create ( |
||
payload | Payment Method payload, containing parameters for the new PM | |
return |
protected static Execute ( |
||
request | ||
return |
public static Find ( string paymentMethodToken ) : |
||
paymentMethodToken | string | Payment method token. |
return |
public SetAttributes ( |
||
payload | ||
return | void |
public static TokenizePaymentMethod ( |
||
payload | Payment Method payload, containing parameters for the new PM | |
return | string |
public UpdateAttributes ( |
||
payload | ||
return | void |