Cart constructor

Cart({
  1. String? cartId,
  2. String? intent,
  3. String? billingType,
  4. String? paymentId,
  5. String? billingToken,
  6. List<Items>? items,
  7. Amounts? amounts,
  8. String? description,
  9. CancelUrl? cancelUrl,
  10. CancelUrl? returnUrl,
  11. UnitPrice? total,
  12. List<ShippingMethods>? shippingMethods,
  13. ShippingAddress? shippingAddress,
  14. ShippingAddress? billingAddress,
  15. UnitPrice? totalAllowedOverCaptureAmount,
})

Implementation

Cart(
    {this.cartId,
    this.intent,
    this.billingType,
    this.paymentId,
    this.billingToken,
    this.items,
    this.amounts,
    this.description,
    this.cancelUrl,
    this.returnUrl,
    this.total,
    this.shippingMethods,
    this.shippingAddress,
    this.billingAddress,
    this.totalAllowedOverCaptureAmount});