PurchaseUnit constructor
PurchaseUnit({
- String? referenceId,
- required AmountWithBreakdown amount,
- Payee? payee,
- PaymentInstruction? paymentInstruction,
- String? description,
- String? customId,
- String? invoiceId,
- String? softDescriptor,
- String? id,
- List<
Item> ? items, - ShippingDetail? shipping,
- PaymentCollection? payments,
Implementation
PurchaseUnit(
{this.referenceId,
required this.amount,
this.payee,
this.paymentInstruction,
this.description,
this.customId,
this.invoiceId,
this.softDescriptor,
this.id,
this.items,
this.shipping,
this.payments});