public class XPFOrder extends XPFEntity
| Constructor and Description | 
|---|
XPFOrder(@NonNull String orderNumber,
        @NonNull Date createdDate,
        Locale locale,
        @NonNull Currency currency,
        @NonNull XPFOrderStatusEnum status,
        @NonNull XPFStore store,
        XPFCustomer account,
        @NonNull XPFCustomer customer,
        @NonNull List<XPFOrderItem> lineItems,
        @NonNull List<XPFOrderShipment> shipments,
        @NonNull XPFAddress billingAddress,
        XPFContact billingContact,
        @NonNull Map<String,String> modifierFields,
        BigDecimal subtotal,
        BigDecimal shipping,
        BigDecimal taxes,
        @NonNull BigDecimal total,
        @NonNull Set<XPFPayment> payments,
        String taxExemptionId,
        @NonNull Set<XPFOrderPaymentInstrument> orderPaymentInstruments)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
canEqual(Object other)  | 
boolean | 
equals(Object o)  | 
XPFCustomer | 
getAccount()
The account. 
 | 
@NonNull XPFAddress | 
getBillingAddress()
The billing address. 
 | 
XPFContact | 
getBillingContact()
The billing contact. 
 | 
@NonNull Date | 
getCreatedDate()
The date created. 
 | 
@NonNull Currency | 
getCurrency()
The currency. 
 | 
@NonNull XPFCustomer | 
getCustomer()
The customer. 
 | 
@NonNull List<XPFOrderItem> | 
getLineItems()
The line items. 
 | 
Locale | 
getLocale()
The locale. 
 | 
@NonNull Map<String,String> | 
getModifierFields()
The modifier fields. 
 | 
@NonNull String | 
getOrderNumber()
The order number. 
 | 
@NonNull Set<XPFOrderPaymentInstrument> | 
getOrderPaymentInstruments()
The order payment instruments. 
 | 
@NonNull Set<XPFPayment> | 
getPayments()
The payments. 
 | 
@NonNull List<XPFOrderShipment> | 
getShipments()
The shipments. 
 | 
BigDecimal | 
getShipping()
The shipping cost. 
 | 
@NonNull XPFOrderStatusEnum | 
getStatus()
The order status. 
 | 
@NonNull XPFStore | 
getStore()
The store. 
 | 
BigDecimal | 
getSubtotal()
The subtotal. 
 | 
BigDecimal | 
getTaxes()
The tax total. 
 | 
String | 
getTaxExemptionId()
The tax exemption id. 
 | 
@NonNull BigDecimal | 
getTotal()
The order total. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
getCustomDatapublic XPFOrder(@NonNull
                @NonNull String orderNumber,
                @NonNull
                @NonNull Date createdDate,
                Locale locale,
                @NonNull
                @NonNull Currency currency,
                @NonNull
                @NonNull XPFOrderStatusEnum status,
                @NonNull
                @NonNull XPFStore store,
                XPFCustomer account,
                @NonNull
                @NonNull XPFCustomer customer,
                @NonNull
                @NonNull List<XPFOrderItem> lineItems,
                @NonNull
                @NonNull List<XPFOrderShipment> shipments,
                @NonNull
                @NonNull XPFAddress billingAddress,
                XPFContact billingContact,
                @NonNull
                @NonNull Map<String,String> modifierFields,
                BigDecimal subtotal,
                BigDecimal shipping,
                BigDecimal taxes,
                @NonNull
                @NonNull BigDecimal total,
                @NonNull
                @NonNull Set<XPFPayment> payments,
                String taxExemptionId,
                @NonNull
                @NonNull Set<XPFOrderPaymentInstrument> orderPaymentInstruments)
@NonNull public @NonNull String getOrderNumber()
@NonNull public @NonNull Date getCreatedDate()
public Locale getLocale()
@NonNull public @NonNull Currency getCurrency()
@NonNull public @NonNull XPFOrderStatusEnum getStatus()
@NonNull public @NonNull XPFStore getStore()
public XPFCustomer getAccount()
@NonNull public @NonNull XPFCustomer getCustomer()
@NonNull public @NonNull List<XPFOrderItem> getLineItems()
@NonNull public @NonNull List<XPFOrderShipment> getShipments()
@NonNull public @NonNull XPFAddress getBillingAddress()
public XPFContact getBillingContact()
@NonNull public @NonNull Map<String,String> getModifierFields()
public BigDecimal getSubtotal()
public BigDecimal getShipping()
public BigDecimal getTaxes()
@NonNull public @NonNull BigDecimal getTotal()
@NonNull public @NonNull Set<XPFPayment> getPayments()
public String getTaxExemptionId()
@NonNull public @NonNull Set<XPFOrderPaymentInstrument> getOrderPaymentInstruments()
Copyright © 2024. All rights reserved.