View Source GoogleApi.Content.V2.Model.OrdersCreateTestOrderRequest (google_api_content v0.67.1)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.