PPCart class

Annotations
  • @freezed

Constructors

PPCart({String? cartId, String? intent, PPBillingType? billingType, String? paymentId, String? billingToken, List<PPItem>? items, CartAmounts? amounts, String? description, @JsonKey(name: 'cancelUrl', readValue: _PPCartHelper.readUrl) String? cancelUrl, @JsonKey(name: 'returnUrl', readValue: _PPCartHelper.readUrl) String? returnUrl, PPAmount? total, List<PPShippingMethods>? shippingMethods, PPCartAddress? shippingAddress, PPCartAddress? billingAddress, PPAmount? totalAllowedOverCaptureAmount})
const
factory
PPCart.fromJson(Map<String, dynamic> json)
factory

Properties

amounts CartAmounts?
no setterinherited
billingAddress PPCartAddress?
no setterinherited
billingToken String?
no setterinherited
billingType PPBillingType?
no setterinherited
cancelUrl String?
no setterinherited
cartId String?
no setterinherited
copyWith → $PPCartCopyWith<PPCart>
no setterinherited
description String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
intent String?
no setterinherited
items List<PPItem>?
no setterinherited
paymentId String?
no setterinherited
returnUrl String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddress PPCartAddress?
no setterinherited
shippingMethods List<PPShippingMethods>?
no setterinherited
total PPAmount?
no setterinherited
totalAllowedOverCaptureAmount PPAmount?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited