google_api_content v0.4.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. The details of the merchant provided promotions applied to the order. More details about the program are here. Defaults to: null.
  • shippingCost (Price): The total cost of shipping for all items. Defaults to: null.
  • shippingCostTax (Price): The tax for the total shipping cost. 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() :: %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
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.