Payments
Records of when payouts have occurred to affiliates.
Methods
Invoke via \Components\Commerce\Affiliates\Payments::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$iAffiliatePaymentId
int unsigned
A record's affiliate_payment_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iAffiliatePaymentId
int unsigned
A record's affiliate_payment_id
Return a set of records from the database
Returns all payments for an affiliate
Gets a single field from a record
Parameters
$iAffiliatePaymentId
int unsigned
A record's affiliate_payment_id
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
$iAffiliatePaymentId
int unsigned
A record's affiliate_payment_id
Return
Array of
Payments that match the search query.