Cart constructor
Cart({
- String? cartId,
- String? intent,
- String? billingType,
- String? paymentId,
- String? billingToken,
- List<
Items> ? items, - Amounts? amounts,
- String? description,
- CancelUrl? cancelUrl,
- CancelUrl? returnUrl,
- UnitPrice? total,
- List<
ShippingMethods> ? shippingMethods, - ShippingAddress? shippingAddress,
- ShippingAddress? billingAddress,
- 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});