StoredCards
Use this API to create, update and delete stored payment cards for contacts.
Methods
Invoke via \Components\Commerce\RecurringSales\StoredCards::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$iContactId
int
A record's contact_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iContactId
int
A record's contact_id
Return a set of records from the database
Gets a single field from a record
Parameters
$iContactId
int
A record's contact_id
Determines if a contact has recurring billing accounts
Returns the number of records in the database (matching the filter if specified)
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$iContactId
int
A record's contact_id
Return
Array of
StoredCards that match the search query.