class Google::Apis::ContentV2_1::ShippingSettings
The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.
Attributes
account_id[RW]
The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request responses. Corresponds to the JSON property `accountId` @return [Fixnum]
postal_code_groups[RW]
A list of postal code groups that can be referred to in `services`. Optional. Corresponds to the JSON property `postalCodeGroups` @return [Array<Google::Apis::ContentV2_1::PostalCodeGroup>]
services[RW]
The target account's list of services. Optional. Corresponds to the JSON property `services` @return [Array<Google::Apis::ContentV2_1::Service>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 14622 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 14627 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @postal_code_groups = args[:postal_code_groups] if args.key?(:postal_code_groups) @services = args[:services] if args.key?(:services) end