public class XPFShoppingCart extends XPFEntity
Constructor and Description |
---|
XPFShoppingCart(@NonNull String guid,
String cartOrderGuid,
@NonNull XPFShopper shopper,
@NonNull List<XPFShoppingItem> lineItems,
long quantity,
boolean requiresShipping,
XPFAddress shippingAddress,
XPFAddress billingAddress,
XPFContact shippingContact,
XPFContact billingContact,
@NonNull Map<String,String> modifierFields,
XPFShippingOption selectedShippingOption,
XPFShoppingCartPricing shoppingCartPricing) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
XPFAddress |
getBillingAddress()
The billing address.
|
XPFContact |
getBillingContact()
The billing contact.
|
String |
getCartOrderGuid()
The cart order guid.
|
@NonNull String |
getGuid()
The shopping cart guid.
|
@NonNull List<XPFShoppingItem> |
getLineItems()
The shopping cart line items.
|
@NonNull Map<String,String> |
getModifierFields()
The shopping cart modifier field values.
|
long |
getQuantity()
The number of items in the shopping cart.
|
XPFShippingOption |
getSelectedShippingOption()
The selected shipping option.
|
XPFAddress |
getShippingAddress()
The shipping address.
|
XPFContact |
getShippingContact()
The shipping contact.
|
@NonNull XPFShopper |
getShopper()
The shopper.
|
XPFShoppingCartPricing |
getShoppingCartPricing()
The shopping cart pricing.
|
int |
hashCode() |
boolean |
isRequiresShipping()
Indicates if shipping is required.
|
String |
toString() |
getCustomData
public XPFShoppingCart(@NonNull @NonNull String guid, String cartOrderGuid, @NonNull @NonNull XPFShopper shopper, @NonNull @NonNull List<XPFShoppingItem> lineItems, long quantity, boolean requiresShipping, XPFAddress shippingAddress, XPFAddress billingAddress, XPFContact shippingContact, XPFContact billingContact, @NonNull @NonNull Map<String,String> modifierFields, XPFShippingOption selectedShippingOption, XPFShoppingCartPricing shoppingCartPricing)
public XPFShoppingCartPricing getShoppingCartPricing()
@NonNull public @NonNull String getGuid()
public String getCartOrderGuid()
@NonNull public @NonNull XPFShopper getShopper()
@NonNull public @NonNull List<XPFShoppingItem> getLineItems()
public long getQuantity()
public boolean isRequiresShipping()
public XPFAddress getShippingAddress()
public XPFAddress getBillingAddress()
public XPFContact getShippingContact()
public XPFContact getBillingContact()
@NonNull public @NonNull Map<String,String> getModifierFields()
public XPFShippingOption getSelectedShippingOption()
Copyright © 2024. All rights reserved.