Figure PAY.01 - Payment Method and Payment Plan : Class diagram
Created: 3/28/2022 3:51:09 PM
Modified: 6/9/2022 9:03:41 AM
Project:
Advanced:
A PartyPayment represents the transfer of wealth from one Party to another. So it is received from a PartyRole and made to a PartyRole.<br/>The PartyPayment might be either inbound or outbound and always uses a PaymentMethod.<br/>A PartyPayment might specify the BankAccount to which the payment is transferred.<br/>The diagram below shows different types of PaymentMethods identified at the present time, currently allowed for paying due amounts such as CheckPM, DigitalWalletPM, LoyaltyBurnPM...<br/>A PaymentMethod is declared and owned by a PartyRole that has the right to use it.<br/>As all the PaymentMethod might not be yet described as a sub-class of PaymentMethod, a PaymentMethod might be described by a PaymentMethodSpecification defining the characteristics.<br/>ThirdPartyCollectionPM is an example of payment method, using which payment can be made through the third party, such as bank transfer, payment tool(like PayPal, Alipay).<br/>A PaymentMethod is owned by a PartyRole.<br/>A PaymentPlan may specify PaymentMethods to use for auto-pay. If several PaymentMethod are specified, a priority is given to each of them. Over time, PartyPayments are collected according to the PaymentPlan.<br/>