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 and Relationships​

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.
transactionsTransaction (0..*)All transactions recorded during this vendor shift.
receiptsReceipt (0..*)All receipts recorded during this vendor shift.
vendorVendor (0..1)Vendor that opens and owns this vendor shift.
merchantAccountMerchantAccount (0..1)Merchant account this vendor shift periodically debits (based on aggregated transactions).
from Shift
activityIntervalDateTimeIntervalInterval for activity of this shift.
receiptsGrandTotalBankableMoneyTotal of amounts receipted during this shift that can be manually banked (cash and cheques for example). Values are obtained from Receipt attributes:
=sum(Receipt.receiptAmount) for all Receipt.bankable = true.
receiptsGrandTotalNonBankableMoneyTotal of amounts receipted during this shift that cannot be manually banked (card payments for example). Values are obtained from Receipt attributes:
=sum(Receipt.receiptAmount) for all Receipt.bankable = false.
receiptsGrandTotalRoundingMoneyCumulative amount in error due to process rounding not reflected in receiptsGrandTotal. Values are obtained from Receipt attributes:
=sum(Receipt.receiptRounding).
transactionsGrandTotalMoneyCumulative total of transacted amounts during this shift. Values are obtained from transaction:
=sum('Transaction.transactionAmount'). It also has to be reconciled against transaction summary:
=sum('TransactionSummary.transactionsTotal').
transactionsGrandTotalRoundingMoneyCumulative amount in error due to process rounding not reflected in transactionsGandTotal. Values are obtained from Transaction attributes:
=sum(Transaction.transactionRounding).
from IdentifiedObject
aliasNameStringThe aliasName is free text human readable name of the object alternative to IdentifiedObject.name. It may be non unique and may not correlate to a naming hierarchy.
The attribute aliasName is retained because of backwards compatibility between CIM relases. It is however recommended to replace aliasName with the Name class as aliasName is planned for retirement at a future time.
descriptionStringThe description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy.
mRIDStringMaster resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended.
For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements.
nameStringThe name is any free human readable and possibly non unique text naming the object.
diagramObjectsDiagramObject (0..*)The diagram objects that are associated with the domain object.
instanceSetInstanceSet (1)Dataset containing the data objects.
namesName (0..*)All names of this identified object.
propertiesCIMDataObjectChangeSetMember (0..1)The single CIM data object in the appropriate dataset context.
targetingCIMDataObjectChangeSetMember (0..*)Data objects registered.

Hierarchy​

IdentifiedObject
│
Shift
├── CashierShift
└── VendorShift