class Google::Apis::ContentV2::AccountShipping
The shipping settings of a merchant account.
Attributes
The ID of the account to which these account shipping settings belong. Corresponds to the JSON property `accountId` @return [String]
Carrier-based shipping calculations. Corresponds to the JSON property `carrierRates` @return [Array<Google::Apis::ContentV2::AccountShippingCarrierRate>]
Identifies what kind of resource this is. Value: the fixed string “content# accountShipping”. Corresponds to the JSON property `kind` @return [String]
Location groups for shipping. Corresponds to the JSON property `locationGroups` @return [Array<Google::Apis::ContentV2::AccountShippingLocationGroup>]
Rate tables definitions. Corresponds to the JSON property `rateTables` @return [Array<Google::Apis::ContentV2::AccountShippingRateTable>]
Shipping services describing shipping fees calculation. Corresponds to the JSON property `services` @return [Array<Google::Apis::ContentV2::AccountShippingShippingService>]
Public Class Methods
# File generated/google/apis/content_v2/classes.rb, line 192 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 197 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates) @kind = args[:kind] if args.key?(:kind) @location_groups = args[:location_groups] if args.key?(:location_groups) @rate_tables = args[:rate_tables] if args.key?(:rate_tables) @services = args[:services] if args.key?(:services) end