public abstract static class XPFOrder.XPFOrderBuilder<C extends XPFOrder,B extends XPFOrder.XPFOrderBuilder<C,B>> extends XPFEntity.XPFEntityBuilder<C,B>
| Constructor and Description |
|---|
XPFOrderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
B |
account(XPFCustomer account) |
B |
billingAddress(@NonNull XPFAddress billingAddress) |
B |
billingContact(XPFContact billingContact) |
abstract C |
build() |
B |
createdDate(@NonNull Date createdDate) |
B |
currency(@NonNull Currency currency) |
B |
customer(@NonNull XPFCustomer customer) |
B |
hasSubtotalDiscount(boolean hasSubtotalDiscount) |
B |
holds(@NonNull List<XPFOrderHold> holds) |
B |
lineItems(@NonNull List<XPFOrderItem> lineItems) |
B |
locale(Locale locale) |
B |
modifierFields(@NonNull Map<String,String> modifierFields) |
B |
orderNumber(@NonNull String orderNumber) |
B |
orderPaymentInstruments(@NonNull Set<XPFOrderPaymentInstrument> orderPaymentInstruments) |
B |
payments(@NonNull Set<XPFPayment> payments) |
B |
pricing(@NonNull XPFEntitySupplier<XPFContainerPricing> pricing) |
protected abstract B |
self() |
B |
shipments(@NonNull List<XPFOrderShipment> shipments) |
B |
shipping(BigDecimal shipping)
Deprecated.
|
B |
status(@NonNull XPFOrderStatusEnum status) |
B |
store(@NonNull XPFStore store) |
B |
subtotal(BigDecimal subtotal)
Deprecated.
|
B |
taxes(BigDecimal taxes)
Deprecated.
|
B |
taxExemptionId(String taxExemptionId) |
String |
toString() |
B |
total(@NonNull BigDecimal total)
Deprecated.
|
customDataprotected abstract B self()
self in class XPFEntity.XPFEntityBuilder<C extends XPFOrder,B extends XPFOrder.XPFOrderBuilder<C,B>>public abstract C build()
build in class XPFEntity.XPFEntityBuilder<C extends XPFOrder,B extends XPFOrder.XPFOrderBuilder<C,B>>public B status(@NonNull @NonNull XPFOrderStatusEnum status)
this.public B account(XPFCustomer account)
this.public B customer(@NonNull @NonNull XPFCustomer customer)
this.public B lineItems(@NonNull @NonNull List<XPFOrderItem> lineItems)
this.public B shipments(@NonNull @NonNull List<XPFOrderShipment> shipments)
this.public B billingAddress(@NonNull @NonNull XPFAddress billingAddress)
this.public B billingContact(XPFContact billingContact)
this.public B modifierFields(@NonNull @NonNull Map<String,String> modifierFields)
this.@Deprecated public B subtotal(BigDecimal subtotal)
this.@Deprecated public B shipping(BigDecimal shipping)
this.@Deprecated public B taxes(BigDecimal taxes)
this.@Deprecated public B total(@NonNull @NonNull BigDecimal total)
this.public B payments(@NonNull @NonNull Set<XPFPayment> payments)
this.public B orderPaymentInstruments(@NonNull @NonNull Set<XPFOrderPaymentInstrument> orderPaymentInstruments)
this.public B hasSubtotalDiscount(boolean hasSubtotalDiscount)
this.public B holds(@NonNull @NonNull List<XPFOrderHold> holds)
this.public B pricing(@NonNull @NonNull XPFEntitySupplier<XPFContainerPricing> pricing)
this.public String toString()
toString in class XPFEntity.XPFEntityBuilder<C extends XPFOrder,B extends XPFOrder.XPFOrderBuilder<C,B>>Copyright © 2026. All rights reserved.