Skip to main content

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​

NameTypeDescription
merchantDebitAmountMoneyThe amount that is to be debited from the merchant account for this vendor shift. This amount reflects the sum(PaymentTransaction.transactionAmount).
postedBooleanIf 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 ClassSource CardinalityTargetTarget CardinalitySource NameSource Assoc. DescriptionTarget NameTarget Assoc. Description
VendorShift0..1Transaction0..*VendorShiftVendor shift during which this transaction was recorded.TransactionsAll transactions recorded during this vendor shift.
VendorShift0..1Receipt0..*VendorShiftVendor shift during which this receipt was recorded.ReceiptsAll receipts recorded during this vendor shift.
VendorShift0..*Vendor0..1VendorShiftsAll vendor shifts opened and owned by this vendor.VendorVendor that opens and owns this vendor shift.
VendorShift0..*MerchantAccount0..1VendorShiftsAll vendor shifts that operate on this merchant account.MerchantAccountMerchant account this vendor shift periodically debits (based on aggregated transactions).