google_api_content v0.22.0 GoogleApi.Content.V2.Model.TestOrder View Source
Attributes
customer
(type:GoogleApi.Content.V2.Model.TestOrderCustomer.t
, default:nil
) - The details of the customer who placed the order.enableOrderinvoices
(type:boolean()
, default:nil
) - Whether the orderinvoices service should support this order.kind
(type:String.t
, default:content#testOrder
) - Identifies what kind of resource this is. Value: the fixed string "content#testOrder".lineItems
(type:list(GoogleApi.Content.V2.Model.TestOrderLineItem.t)
, default:nil
) - Line items that are ordered. At least one line item must be provided.notificationMode
(type:String.t
, default:nil
) - Determines if test order must be pulled by merchant or pushed to merchant via push integration.paymentMethod
(type:GoogleApi.Content.V2.Model.TestOrderPaymentMethod.t
, default:nil
) - The details of the payment method.predefinedDeliveryAddress
(type:String.t
, default:nil
) - Identifier of one of the predefined delivery addresses for the delivery.predefinedPickupDetails
(type:String.t
, default:nil
) - Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type pickup.promotions
(type:list(GoogleApi.Content.V2.Model.OrderLegacyPromotion.t)
, default:nil
) - Deprecated. Ignored if provided.shippingCost
(type:GoogleApi.Content.V2.Model.Price.t
, default:nil
) - The price of shipping for all items. Shipping tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states.shippingCostTax
(type:GoogleApi.Content.V2.Model.Price.t
, default:nil
) - Deprecated. Ignored if provided.shippingOption
(type:String.t
, default:nil
) - The requested shipping option.
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 Sourcet() :: %GoogleApi.Content.V2.Model.TestOrder{ customer: GoogleApi.Content.V2.Model.TestOrderCustomer.t(), enableOrderinvoices: boolean(), kind: String.t(), lineItems: [GoogleApi.Content.V2.Model.TestOrderLineItem.t()], notificationMode: String.t(), paymentMethod: GoogleApi.Content.V2.Model.TestOrderPaymentMethod.t(), predefinedDeliveryAddress: String.t(), predefinedPickupDetails: String.t(), promotions: [GoogleApi.Content.V2.Model.OrderLegacyPromotion.t()], shippingCost: GoogleApi.Content.V2.Model.Price.t(), shippingCostTax: GoogleApi.Content.V2.Model.Price.t(), shippingOption: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.