class Google::Apis::ContentV2::ShippingsettingsCustomBatchRequestEntry
A batch entry encoding a single non-batch shippingsettings request.
Attributes
The ID of the account for which to get/update account shipping settings. Corresponds to the JSON property `accountId` @return [Fixnum]
An entry ID, unique within the batch request. Corresponds to the JSON property `batchId` @return [Fixnum]
The ID of the managing account. Corresponds to the JSON property `merchantId` @return [Fixnum]
The method of the batch entry. Acceptable values are: - “`get`” - “`update`” Corresponds to the JSON property `method` @return [String]
The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role. Corresponds to the JSON property `shippingSettings` @return [Google::Apis::ContentV2::ShippingSettings]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 10710 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 10715 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @batch_id = args[:batch_id] if args.key?(:batch_id) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @method_prop = args[:method_prop] if args.key?(:method_prop) @shipping_settings = args[:shipping_settings] if args.key?(:shipping_settings) end