Class OrderImportDraftBuilder
- All Implemented Interfaces:
Builder<OrderImportDraft>
Example to create an instance using the builder pattern
OrderImportDraft orderImportDraft = OrderImportDraft.builder()
.totalPrice(totalPriceBuilder -> totalPriceBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCustom Line Items to add to the Cart.Addresses for Orders with multiple shipping addresses.Line Items to add to the Order.billingAddress
(BaseAddress billingAddress) Billing address associated with the Order.Billing address associated with the Order.build()
builds OrderImportDraft with checking for non-null required valuesbuilds OrderImportDraft without checking for non-null required valuesbusinessUnit
(BusinessUnitResourceIdentifier businessUnit) ResourceIdentifier to the Business Unit the Order should belong to.businessUnit
(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifierBuilder> builder) ResourceIdentifier to the Business Unit the Order should belong to.completedAt
(ZonedDateTime completedAt) User-defined date and time for the Order.Include a value to associate a country with the Order.custom
(CustomFieldsDraft custom) Custom Fields for the Order.Custom Fields for the Order.customerEmail
(String customerEmail) The Email address of the Customer the Order belongs to.customerGroup
(CustomerGroupResourceIdentifier customerGroup) The Customer Group of the Customer the Order belongs to.customerGroup
(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifierBuilder> builder) The Customer Group of the Customer the Order belongs to.customerId
(String customerId) Theid
of the Customer the Order belongs to.customLineItems
(CustomLineItemImportDraft... customLineItems) Custom Line Items to add to the Cart.customLineItems
(List<CustomLineItemImportDraft> customLineItems) Custom Line Items to add to the Cart.Billing address associated with the Order.ResourceIdentifier to the Business Unit the Order should belong to.User-defined date and time for the Order.Include a value to associate a country with the Order.Custom Fields for the Order.The Email address of the Customer the Order belongs to.The Customer Group of the Customer the Order belongs to.Theid
of the Customer the Order belongs to.Custom Line Items to add to the Cart.Determines how stock quantities are tracked for Line Items in the Cart.Addresses for Orders with multiple shipping addresses.Line Items to add to the Order.User-defined identifier of the Order.Current status of the Order.Indicates the origin of the Order.Payment information associated with the Order.Payment status of the Order.User-defined identifier for a purchase Order.Shipment status of the Order.Shipping address associated with the Order.Shipping-related information of the Order.getState()
State of the Order in a custom workflow.getStore()
The Store the Order belongs to.Determines how taxes are calculated fortaxedPrice
.Include TaxedPrice information for the Order.Determines how monetary values are rounded when calculating taxes fortaxedPrice
.The total Price of the Order.inventoryMode
(InventoryMode inventoryMode) Determines how stock quantities are tracked for Line Items in the Cart.itemShippingAddresses
(BaseAddress... itemShippingAddresses) Addresses for Orders with multiple shipping addresses.itemShippingAddresses
(List<BaseAddress> itemShippingAddresses) Addresses for Orders with multiple shipping addresses.lineItems
(LineItemImportDraft... lineItems) Line Items to add to the Order.lineItems
(List<LineItemImportDraft> lineItems) Line Items to add to the Order.static OrderImportDraftBuilder
of()
factory method for an instance of OrderImportDraftBuilderstatic OrderImportDraftBuilder
of
(OrderImportDraft template) create builder for OrderImportDraft instanceorderNumber
(String orderNumber) User-defined identifier of the Order.orderState
(OrderState orderState) Current status of the Order.origin
(CartOrigin origin) Indicates the origin of the Order.paymentInfo
(PaymentInfo paymentInfo) Payment information associated with the Order.Payment information associated with the Order.paymentState
(PaymentState paymentState) Payment status of the Order.plusCustomLineItems
(CustomLineItemImportDraft... customLineItems) Custom Line Items to add to the Cart.plusCustomLineItems
(Function<CustomLineItemImportDraftBuilder, CustomLineItemImportDraftBuilder> builder) Custom Line Items to add to the Cart.plusItemShippingAddresses
(BaseAddress... itemShippingAddresses) Addresses for Orders with multiple shipping addresses.Addresses for Orders with multiple shipping addresses.plusLineItems
(LineItemImportDraft... lineItems) Line Items to add to the Order.Line Items to add to the Order.purchaseOrderNumber
(String purchaseOrderNumber) User-defined identifier for a purchase Order.Custom Line Items to add to the Cart.Addresses for Orders with multiple shipping addresses.Line Items to add to the Order.shipmentState
(ShipmentState shipmentState) Shipment status of the Order.shippingAddress
(BaseAddress shippingAddress) Shipping address associated with the Order.Shipping address associated with the Order.shippingInfo
(ShippingInfoImportDraft shippingInfo) Shipping-related information of the Order.Shipping-related information of the Order.state
(StateReference state) State of the Order in a custom workflow.State of the Order in a custom workflow.store
(StoreResourceIdentifier store) The Store the Order belongs to.The Store the Order belongs to.taxCalculationMode
(TaxCalculationMode taxCalculationMode) Determines how taxes are calculated fortaxedPrice
.taxedPrice
(TaxedPriceDraft taxedPrice) Include TaxedPrice information for the Order.Include TaxedPrice information for the Order.taxRoundingMode
(RoundingMode taxRoundingMode) Determines how monetary values are rounded when calculating taxes fortaxedPrice
.totalPrice
(Money totalPrice) The total Price of the Order.totalPrice
(Function<MoneyBuilder, MoneyBuilder> builder) The total Price of the Order.Billing address associated with the Order.withBusinessUnit
(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifier> builder) ResourceIdentifier to the Business Unit the Order should belong to.Custom Fields for the Order.withCustomerGroup
(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifier> builder) The Customer Group of the Customer the Order belongs to.withCustomLineItems
(Function<CustomLineItemImportDraftBuilder, CustomLineItemImportDraftBuilder> builder) Custom Line Items to add to the Cart.Addresses for Orders with multiple shipping addresses.Line Items to add to the Order.withPaymentInfo
(Function<PaymentInfoBuilder, PaymentInfo> builder) Payment information associated with the Order.Shipping address associated with the Order.Shipping-related information of the Order.withState
(Function<StateReferenceBuilder, StateReference> builder) State of the Order in a custom workflow.The Store the Order belongs to.Include TaxedPrice information for the Order.withTotalPrice
(Function<MoneyBuilder, Money> builder) The total Price of the Order.
-
Constructor Details
-
OrderImportDraftBuilder
public OrderImportDraftBuilder()
-
-
Method Details
-
orderNumber
User-defined identifier of the Order. Must be unique across a Project. Once set, the value cannot be changed.
- Parameters:
orderNumber
- value to be set- Returns:
- Builder
-
purchaseOrderNumber
User-defined identifier for a purchase Order.
- Parameters:
purchaseOrderNumber
- value to be set- Returns:
- Builder
-
customerId
The
id
of the Customer the Order belongs to.- Parameters:
customerId
- value to be set- Returns:
- Builder
-
customerEmail
The Email address of the Customer the Order belongs to. Can be used instead of
customerId
when no check against existing Customers is required.- Parameters:
customerEmail
- value to be set- Returns:
- Builder
-
customerGroup
public OrderImportDraftBuilder customerGroup(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifierBuilder> builder) The Customer Group of the Customer the Order belongs to.
- Parameters:
builder
- function to build the customerGroup value- Returns:
- Builder
-
withCustomerGroup
public OrderImportDraftBuilder withCustomerGroup(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifier> builder) The Customer Group of the Customer the Order belongs to.
- Parameters:
builder
- function to build the customerGroup value- Returns:
- Builder
-
customerGroup
public OrderImportDraftBuilder customerGroup(@Nullable CustomerGroupResourceIdentifier customerGroup) The Customer Group of the Customer the Order belongs to.
- Parameters:
customerGroup
- value to be set- Returns:
- Builder
-
businessUnit
public OrderImportDraftBuilder businessUnit(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifierBuilder> builder) ResourceIdentifier to the Business Unit the Order should belong to. When the
customerId
of the Order is also set, the Customer must be an Associate of the Business Unit.- Parameters:
builder
- function to build the businessUnit value- Returns:
- Builder
-
withBusinessUnit
public OrderImportDraftBuilder withBusinessUnit(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifier> builder) ResourceIdentifier to the Business Unit the Order should belong to. When the
customerId
of the Order is also set, the Customer must be an Associate of the Business Unit.- Parameters:
builder
- function to build the businessUnit value- Returns:
- Builder
-
businessUnit
ResourceIdentifier to the Business Unit the Order should belong to. When the
customerId
of the Order is also set, the Customer must be an Associate of the Business Unit.- Parameters:
businessUnit
- value to be set- Returns:
- Builder
-
store
public OrderImportDraftBuilder store(Function<StoreResourceIdentifierBuilder, StoreResourceIdentifierBuilder> builder) The Store the Order belongs to. Used for filtering.
If a LineItemImportDraft or a CustomLineItemImportDraft specifies a
distributionChannel
or asupplyChannel
that is not defined for the referenced Store, the Order Import gets rejected. The same applies when the providedcountry
is not defined for the referenced Store.- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
withStore
public OrderImportDraftBuilder withStore(Function<StoreResourceIdentifierBuilder, StoreResourceIdentifier> builder) The Store the Order belongs to. Used for filtering.
If a LineItemImportDraft or a CustomLineItemImportDraft specifies a
distributionChannel
or asupplyChannel
that is not defined for the referenced Store, the Order Import gets rejected. The same applies when the providedcountry
is not defined for the referenced Store.- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
store
The Store the Order belongs to. Used for filtering.
If a LineItemImportDraft or a CustomLineItemImportDraft specifies a
distributionChannel
or asupplyChannel
that is not defined for the referenced Store, the Order Import gets rejected. The same applies when the providedcountry
is not defined for the referenced Store.- Parameters:
store
- value to be set- Returns:
- Builder
-
lineItems
Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Parameters:
lineItems
- value to be set- Returns:
- Builder
-
lineItems
Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Parameters:
lineItems
- value to be set- Returns:
- Builder
-
plusLineItems
Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Parameters:
lineItems
- value to be set- Returns:
- Builder
-
plusLineItems
public OrderImportDraftBuilder plusLineItems(Function<LineItemImportDraftBuilder, LineItemImportDraftBuilder> builder) Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Parameters:
builder
- function to build the lineItems value- Returns:
- Builder
-
withLineItems
public OrderImportDraftBuilder withLineItems(Function<LineItemImportDraftBuilder, LineItemImportDraftBuilder> builder) Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Parameters:
builder
- function to build the lineItems value- Returns:
- Builder
-
addLineItems
public OrderImportDraftBuilder addLineItems(Function<LineItemImportDraftBuilder, LineItemImportDraft> builder) Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Parameters:
builder
- function to build the lineItems value- Returns:
- Builder
-
setLineItems
public OrderImportDraftBuilder setLineItems(Function<LineItemImportDraftBuilder, LineItemImportDraft> builder) Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Parameters:
builder
- function to build the lineItems value- Returns:
- Builder
-
customLineItems
public OrderImportDraftBuilder customLineItems(@Nullable CustomLineItemImportDraft... customLineItems) Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Parameters:
customLineItems
- value to be set- Returns:
- Builder
-
customLineItems
public OrderImportDraftBuilder customLineItems(@Nullable List<CustomLineItemImportDraft> customLineItems) Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Parameters:
customLineItems
- value to be set- Returns:
- Builder
-
plusCustomLineItems
public OrderImportDraftBuilder plusCustomLineItems(@Nullable CustomLineItemImportDraft... customLineItems) Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Parameters:
customLineItems
- value to be set- Returns:
- Builder
-
plusCustomLineItems
public OrderImportDraftBuilder plusCustomLineItems(Function<CustomLineItemImportDraftBuilder, CustomLineItemImportDraftBuilder> builder) Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Parameters:
builder
- function to build the customLineItems value- Returns:
- Builder
-
withCustomLineItems
public OrderImportDraftBuilder withCustomLineItems(Function<CustomLineItemImportDraftBuilder, CustomLineItemImportDraftBuilder> builder) Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Parameters:
builder
- function to build the customLineItems value- Returns:
- Builder
-
addCustomLineItems
public OrderImportDraftBuilder addCustomLineItems(Function<CustomLineItemImportDraftBuilder, CustomLineItemImportDraft> builder) Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Parameters:
builder
- function to build the customLineItems value- Returns:
- Builder
-
setCustomLineItems
public OrderImportDraftBuilder setCustomLineItems(Function<CustomLineItemImportDraftBuilder, CustomLineItemImportDraft> builder) Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Parameters:
builder
- function to build the customLineItems value- Returns:
- Builder
-
totalPrice
The total Price of the Order. The amount can be negative.
- Parameters:
builder
- function to build the totalPrice value- Returns:
- Builder
-
withTotalPrice
The total Price of the Order. The amount can be negative.
- Parameters:
builder
- function to build the totalPrice value- Returns:
- Builder
-
totalPrice
The total Price of the Order. The amount can be negative.
- Parameters:
totalPrice
- value to be set- Returns:
- Builder
-
taxedPrice
public OrderImportDraftBuilder taxedPrice(Function<TaxedPriceDraftBuilder, TaxedPriceDraftBuilder> builder) Include TaxedPrice information for the Order. If not included, and if you have Tax Rates set for Line Items and Custom Line Items, the Order total will not be recalculated.
- Parameters:
builder
- function to build the taxedPrice value- Returns:
- Builder
-
withTaxedPrice
public OrderImportDraftBuilder withTaxedPrice(Function<TaxedPriceDraftBuilder, TaxedPriceDraft> builder) Include TaxedPrice information for the Order. If not included, and if you have Tax Rates set for Line Items and Custom Line Items, the Order total will not be recalculated.
- Parameters:
builder
- function to build the taxedPrice value- Returns:
- Builder
-
taxedPrice
Include TaxedPrice information for the Order. If not included, and if you have Tax Rates set for Line Items and Custom Line Items, the Order total will not be recalculated.
- Parameters:
taxedPrice
- value to be set- Returns:
- Builder
-
taxRoundingMode
Determines how monetary values are rounded when calculating taxes for
taxedPrice
.- Parameters:
taxRoundingMode
- value to be set- Returns:
- Builder
-
taxCalculationMode
Determines how taxes are calculated for
taxedPrice
.- Parameters:
taxCalculationMode
- value to be set- Returns:
- Builder
-
inventoryMode
Determines how stock quantities are tracked for Line Items in the Cart.
- Parameters:
inventoryMode
- value to be set- Returns:
- Builder
-
billingAddress
public OrderImportDraftBuilder billingAddress(Function<BaseAddressBuilder, BaseAddressBuilder> builder) Billing address associated with the Order.
- Parameters:
builder
- function to build the billingAddress value- Returns:
- Builder
-
withBillingAddress
Billing address associated with the Order.
- Parameters:
builder
- function to build the billingAddress value- Returns:
- Builder
-
billingAddress
Billing address associated with the Order.
- Parameters:
billingAddress
- value to be set- Returns:
- Builder
-
shippingAddress
public OrderImportDraftBuilder shippingAddress(Function<BaseAddressBuilder, BaseAddressBuilder> builder) Shipping address associated with the Order.
- Parameters:
builder
- function to build the shippingAddress value- Returns:
- Builder
-
withShippingAddress
public OrderImportDraftBuilder withShippingAddress(Function<BaseAddressBuilder, BaseAddress> builder) Shipping address associated with the Order.
- Parameters:
builder
- function to build the shippingAddress value- Returns:
- Builder
-
shippingAddress
Shipping address associated with the Order.
- Parameters:
shippingAddress
- value to be set- Returns:
- Builder
-
itemShippingAddresses
public OrderImportDraftBuilder itemShippingAddresses(@Nullable BaseAddress... itemShippingAddresses) Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Parameters:
itemShippingAddresses
- value to be set- Returns:
- Builder
-
itemShippingAddresses
public OrderImportDraftBuilder itemShippingAddresses(@Nullable List<BaseAddress> itemShippingAddresses) Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Parameters:
itemShippingAddresses
- value to be set- Returns:
- Builder
-
plusItemShippingAddresses
public OrderImportDraftBuilder plusItemShippingAddresses(@Nullable BaseAddress... itemShippingAddresses) Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Parameters:
itemShippingAddresses
- value to be set- Returns:
- Builder
-
plusItemShippingAddresses
public OrderImportDraftBuilder plusItemShippingAddresses(Function<BaseAddressBuilder, BaseAddressBuilder> builder) Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Parameters:
builder
- function to build the itemShippingAddresses value- Returns:
- Builder
-
withItemShippingAddresses
public OrderImportDraftBuilder withItemShippingAddresses(Function<BaseAddressBuilder, BaseAddressBuilder> builder) Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Parameters:
builder
- function to build the itemShippingAddresses value- Returns:
- Builder
-
addItemShippingAddresses
public OrderImportDraftBuilder addItemShippingAddresses(Function<BaseAddressBuilder, BaseAddress> builder) Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Parameters:
builder
- function to build the itemShippingAddresses value- Returns:
- Builder
-
setItemShippingAddresses
public OrderImportDraftBuilder setItemShippingAddresses(Function<BaseAddressBuilder, BaseAddress> builder) Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Parameters:
builder
- function to build the itemShippingAddresses value- Returns:
- Builder
-
shippingInfo
public OrderImportDraftBuilder shippingInfo(Function<ShippingInfoImportDraftBuilder, ShippingInfoImportDraftBuilder> builder) Shipping-related information of the Order.
- Parameters:
builder
- function to build the shippingInfo value- Returns:
- Builder
-
withShippingInfo
public OrderImportDraftBuilder withShippingInfo(Function<ShippingInfoImportDraftBuilder, ShippingInfoImportDraft> builder) Shipping-related information of the Order.
- Parameters:
builder
- function to build the shippingInfo value- Returns:
- Builder
-
shippingInfo
Shipping-related information of the Order.
- Parameters:
shippingInfo
- value to be set- Returns:
- Builder
-
paymentInfo
Payment information associated with the Order.
- Parameters:
builder
- function to build the paymentInfo value- Returns:
- Builder
-
withPaymentInfo
Payment information associated with the Order.
- Parameters:
builder
- function to build the paymentInfo value- Returns:
- Builder
-
paymentInfo
Payment information associated with the Order.
- Parameters:
paymentInfo
- value to be set- Returns:
- Builder
-
paymentState
Payment status of the Order.
- Parameters:
paymentState
- value to be set- Returns:
- Builder
-
shipmentState
Shipment status of the Order.
- Parameters:
shipmentState
- value to be set- Returns:
- Builder
-
orderState
Current status of the Order.
- Parameters:
orderState
- value to be set- Returns:
- Builder
-
state
State of the Order in a custom workflow.
- Parameters:
builder
- function to build the state value- Returns:
- Builder
-
withState
State of the Order in a custom workflow.
- Parameters:
builder
- function to build the state value- Returns:
- Builder
-
state
State of the Order in a custom workflow.
- Parameters:
state
- value to be set- Returns:
- Builder
-
country
Include a value to associate a country with the Order.
- Parameters:
country
- value to be set- Returns:
- Builder
-
origin
Indicates the origin of the Order.
- Parameters:
origin
- value to be set- Returns:
- Builder
-
completedAt
User-defined date and time for the Order. This value does not influence the
createdAt
orlastModifiedAt
values of the Order created by the Order Import.- Parameters:
completedAt
- value to be set- Returns:
- Builder
-
custom
public OrderImportDraftBuilder custom(Function<CustomFieldsDraftBuilder, CustomFieldsDraftBuilder> builder) Custom Fields for the Order.
- Parameters:
builder
- function to build the custom value- Returns:
- Builder
-
withCustom
public OrderImportDraftBuilder withCustom(Function<CustomFieldsDraftBuilder, CustomFieldsDraft> builder) Custom Fields for the Order.
- Parameters:
builder
- function to build the custom value- Returns:
- Builder
-
custom
Custom Fields for the Order.
- Parameters:
custom
- value to be set- Returns:
- Builder
-
getOrderNumber
User-defined identifier of the Order. Must be unique across a Project. Once set, the value cannot be changed.
- Returns:
- orderNumber
-
getPurchaseOrderNumber
User-defined identifier for a purchase Order.
- Returns:
- purchaseOrderNumber
-
getCustomerId
The
id
of the Customer the Order belongs to.- Returns:
- customerId
-
getCustomerEmail
The Email address of the Customer the Order belongs to. Can be used instead of
customerId
when no check against existing Customers is required.- Returns:
- customerEmail
-
getCustomerGroup
The Customer Group of the Customer the Order belongs to.
- Returns:
- customerGroup
-
getBusinessUnit
ResourceIdentifier to the Business Unit the Order should belong to. When the
customerId
of the Order is also set, the Customer must be an Associate of the Business Unit.- Returns:
- businessUnit
-
getStore
The Store the Order belongs to. Used for filtering.
If a LineItemImportDraft or a CustomLineItemImportDraft specifies a
distributionChannel
or asupplyChannel
that is not defined for the referenced Store, the Order Import gets rejected. The same applies when the providedcountry
is not defined for the referenced Store.- Returns:
- store
-
getLineItems
Line Items to add to the Order.
If not specified,
customLineItems
must not be empty.- Returns:
- lineItems
-
getCustomLineItems
Custom Line Items to add to the Cart.
If not specified,
lineItems
must not be empty.- Returns:
- customLineItems
-
getTotalPrice
The total Price of the Order. The amount can be negative.
- Returns:
- totalPrice
-
getTaxedPrice
Include TaxedPrice information for the Order. If not included, and if you have Tax Rates set for Line Items and Custom Line Items, the Order total will not be recalculated.
- Returns:
- taxedPrice
-
getTaxRoundingMode
Determines how monetary values are rounded when calculating taxes for
taxedPrice
.- Returns:
- taxRoundingMode
-
getTaxCalculationMode
Determines how taxes are calculated for
taxedPrice
.- Returns:
- taxCalculationMode
-
getInventoryMode
Determines how stock quantities are tracked for Line Items in the Cart.
- Returns:
- inventoryMode
-
getBillingAddress
Billing address associated with the Order.
- Returns:
- billingAddress
-
getShippingAddress
Shipping address associated with the Order.
- Returns:
- shippingAddress
-
getItemShippingAddresses
Addresses for Orders with multiple shipping addresses. Addresses must include a value for
key
.- Returns:
- itemShippingAddresses
-
getShippingInfo
Shipping-related information of the Order.
- Returns:
- shippingInfo
-
getPaymentInfo
Payment information associated with the Order.
- Returns:
- paymentInfo
-
getPaymentState
Payment status of the Order.
- Returns:
- paymentState
-
getShipmentState
Shipment status of the Order.
- Returns:
- shipmentState
-
getOrderState
Current status of the Order.
- Returns:
- orderState
-
getState
State of the Order in a custom workflow.
- Returns:
- state
-
getCountry
Include a value to associate a country with the Order.
- Returns:
- country
-
getOrigin
Indicates the origin of the Order.
- Returns:
- origin
-
getCompletedAt
User-defined date and time for the Order. This value does not influence the
createdAt
orlastModifiedAt
values of the Order created by the Order Import.- Returns:
- completedAt
-
getCustom
Custom Fields for the Order.
- Returns:
- custom
-
build
builds OrderImportDraft with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderImportDraft>
- Returns:
- OrderImportDraft
-
buildUnchecked
builds OrderImportDraft without checking for non-null required values- Returns:
- OrderImportDraft
-
of
factory method for an instance of OrderImportDraftBuilder- Returns:
- builder
-
of
create builder for OrderImportDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-