public class XPFShoppingCartValidationContext extends XPFEntity
Constructor and Description |
---|
XPFShoppingCartValidationContext(@NonNull XPFShoppingCart shoppingCart,
boolean paymentRequired,
@NonNull Set<XPFShippingOption> availableShippingOptions,
@NonNull Set<XPFOrderPaymentInstrument> cartOrderPaymentInstruments) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull Set<XPFShippingOption> |
getAvailableShippingOptions()
The available shipping options.
|
@NonNull Set<XPFOrderPaymentInstrument> |
getCartOrderPaymentInstruments()
The order payment instruments.
|
@NonNull XPFShoppingCart |
getShoppingCart()
The shopping cart.
|
int |
hashCode() |
boolean |
isPaymentRequired()
Indicates if the shopping cart requires payment.
|
String |
toString() |
getCustomData
public XPFShoppingCartValidationContext(@NonNull @NonNull XPFShoppingCart shoppingCart, boolean paymentRequired, @NonNull @NonNull Set<XPFShippingOption> availableShippingOptions, @NonNull @NonNull Set<XPFOrderPaymentInstrument> cartOrderPaymentInstruments)
@NonNull public @NonNull XPFShoppingCart getShoppingCart()
public boolean isPaymentRequired()
@NonNull public @NonNull Set<XPFShippingOption> getAvailableShippingOptions()
@NonNull public @NonNull Set<XPFOrderPaymentInstrument> getCartOrderPaymentInstruments()
Copyright © 2024. All rights reserved.