class Google::Apis::ContentV2::AccountShippingRateTable

A single or bi-dimensional table of shipping rates. Each dimension is defined in terms of consecutive price/weight ranges, delivery locations, or shipping labels.

Attributes

content[RW]

One-dimensional table cells define one condition along the same dimension. Bi- dimensional table cells use two dimensions with respectively M and N distinct values and must contain exactly M * N cells with distinct conditions (for each possible value pairs). Corresponds to the JSON property `content` @return [Array<Google::Apis::ContentV2::AccountShippingRateTableCell>]

name[RW]

The name of the rate table. Corresponds to the JSON property `name` @return [String]

sale_country[RW]

The sale country for which this table is valid, represented as a CLDR territory code. Corresponds to the JSON property `saleCountry` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 427
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/content_v2/classes.rb, line 432
def update!(**args)
  @content = args[:content] if args.key?(:content)
  @name = args[:name] if args.key?(:name)
  @sale_country = args[:sale_country] if args.key?(:sale_country)
end