GoogleApi.Content.V21.Model.OrdersCreateTestOrderRequest (google_api_content v0.58.1) 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.V21.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

Specs

t() :: %GoogleApi.Content.V21.Model.OrdersCreateTestOrderRequest{
  country: String.t() | nil,
  templateName: String.t() | nil,
  testOrder: GoogleApi.Content.V21.Model.TestOrder.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.