Receipts
Receipts are payments recorded towards sales or adjustments.
Methods
Invoke via \Components\Commerce\Sales\Receipts::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$iReceiptId
int unsigned
A record's receipt_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iReceiptId
int unsigned
A record's receipt_id
Return a set of records from the database
Gets a single field from a record
Parameters
$iReceiptId
int unsigned
A record's receipt_id
Returns the number of records in the database (matching the filter if specified)
Returns the most recent receipt for a sale
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$iReceiptId
int unsigned
A record's receipt_id
Return
Array of
Receipts that match the search query.