google_api_content v0.9.0 GoogleApi.Content.V2.Model.TestOrder View Source
Attributes
- customer (TestOrderCustomer): The details of the customer who placed the order. Defaults to:
null
. - enableOrderinvoices (boolean()): Whether the orderinvoices service should support this order. Defaults to:
null
. - kind (String.t): Identifies what kind of resource this is. Value: the fixed string "content#testOrder". Defaults to:
null
. - lineItems ([TestOrderLineItem]): Line items that are ordered. At least one line item must be provided. Defaults to:
null
. - notificationMode (String.t): Determines if test order must be pulled by merchant or pushed to merchant via push integration. Defaults to:
null
. - paymentMethod (TestOrderPaymentMethod): The details of the payment method. Defaults to:
null
. - predefinedDeliveryAddress (String.t): Identifier of one of the predefined delivery addresses for the delivery. Defaults to:
null
. - promotions ([OrderLegacyPromotion]): Deprecated. Ignored if provided. Defaults to:
null
. - shippingCost (Price): The price of shipping for all items. Shipping tax is automatically calculated for MFL orders. For non-MFL orders, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states. Defaults to:
null
. - shippingCostTax (Price): Deprecated. Ignored if provided. Defaults to:
null
. - shippingOption (String.t): The requested shipping option. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Content.V2.Model.TestOrder{
customer: GoogleApi.Content.V2.Model.TestOrderCustomer.t(),
enableOrderinvoices: any(),
kind: any(),
lineItems: [GoogleApi.Content.V2.Model.TestOrderLineItem.t()],
notificationMode: any(),
paymentMethod: GoogleApi.Content.V2.Model.TestOrderPaymentMethod.t(),
predefinedDeliveryAddress: any(),
promotions: [GoogleApi.Content.V2.Model.OrderLegacyPromotion.t()],
shippingCost: GoogleApi.Content.V2.Model.Price.t(),
shippingCostTax: GoogleApi.Content.V2.Model.Price.t(),
shippingOption: any()
}
t() :: %GoogleApi.Content.V2.Model.TestOrder{ customer: GoogleApi.Content.V2.Model.TestOrderCustomer.t(), enableOrderinvoices: any(), kind: any(), lineItems: [GoogleApi.Content.V2.Model.TestOrderLineItem.t()], notificationMode: any(), paymentMethod: GoogleApi.Content.V2.Model.TestOrderPaymentMethod.t(), predefinedDeliveryAddress: any(), promotions: [GoogleApi.Content.V2.Model.OrderLegacyPromotion.t()], shippingCost: GoogleApi.Content.V2.Model.Price.t(), shippingCostTax: GoogleApi.Content.V2.Model.Price.t(), shippingOption: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.