class Google::Apis::ContentV2::OrdersCreateTestOrderRequest
Attributes
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`. Corresponds to the JSON property `country` @return [String]
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`” Corresponds to the JSON property `templateName` @return [String]
The test order to create. Corresponds to the JSON property `testOrder` @return [Google::Apis::ContentV2::TestOrder]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 6188 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 6193 def update!(**args) @country = args[:country] if args.key?(:country) @template_name = args[:template_name] if args.key?(:template_name) @test_order = args[:test_order] if args.key?(:test_order) end