VendorShift
Class Description
The operating shift for a vendor during which the vendor may transact against the merchant's account. It aggregates transactions and receipts during the shift and periodically debits a merchant account. The totals in vendor shift should always be the sum of totals aggregated in all cashier shifts that were open under the particular vendor shift.
Attributes
Name | Type | Description |
---|---|---|
merchantDebitAmount | Money | The amount that is to be debited from the merchant account for this vendor shift. This amount reflects the sum(PaymentTransaction.transactionAmount). |
posted | Boolean | If true, merchantDebitAmount has been debited from MerchantAccount; typically happens at the end of VendorShift when it closes. |
Relationships
Ancestors
Descendents
No descendent classes
Associations
Source Class | Source Cardinality | Target | Target Cardinality | Source Name | Source Assoc. Description | Target Name | Target Assoc. Description |
---|---|---|---|---|---|---|---|
VendorShift | 0..1 | Transaction | 0..* | VendorShift | Vendor shift during which this transaction was recorded. | Transactions | All transactions recorded during this vendor shift. |
VendorShift | 0..1 | Receipt | 0..* | VendorShift | Vendor shift during which this receipt was recorded. | Receipts | All receipts recorded during this vendor shift. |
VendorShift | 0..* | Vendor | 0..1 | VendorShifts | All vendor shifts opened and owned by this vendor. | Vendor | Vendor that opens and owns this vendor shift. |
VendorShift | 0..* | MerchantAccount | 0..1 | VendorShifts | All vendor shifts that operate on this merchant account. | MerchantAccount | Merchant account this vendor shift periodically debits (based on aggregated transactions). |