google_api_content v0.31.0 GoogleApi.Content.V2.Model.OrdersCreateTestOrderRequest View Source

Attributes

  • country (type: String.t, default: nil) - The CLDR territory code of the country of the test order to create. Affects the currency and addresses of orders created via template_name, or the addresses of orders created via test_order.

    Acceptable values are:

    • "US"
    • "FR" Defaults to US.
  • templateName (type: String.t, default: nil) - The test order template to use. Specify as an alternative to testOrder as a shortcut for retrieving a template and then creating an order using that template.

    Acceptable values are:

    • "template1"
    • "template1a"
    • "template1b"
    • "template2"
    • "template3"
  • testOrder (type: GoogleApi.Content.V2.Model.TestOrder.t, default: nil) - The test order to create.

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.OrdersCreateTestOrderRequest{
  country: String.t(),
  templateName: String.t(),
  testOrder: GoogleApi.Content.V2.Model.TestOrder.t()
}

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.