PurchaseUnit constructor

PurchaseUnit({
  1. String? referenceId,
  2. required AmountWithBreakdown amount,
  3. Payee? payee,
  4. PaymentInstruction? paymentInstruction,
  5. String? description,
  6. String? customId,
  7. String? invoiceId,
  8. String? softDescriptor,
  9. String? id,
  10. List<Item>? items,
  11. ShippingDetail? shipping,
  12. 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});