class Google::Apis::ContentV2::ProductShipping
Attributes
The CLDR territory code of the country to which an item will ship. Corresponds to the JSON property `country` @return [String]
The location where the shipping is applicable, represented by a location group name. Corresponds to the JSON property `locationGroupName` @return [String]
The numeric ID of a location that the shipping rate applies to as defined in the AdWords API. Corresponds to the JSON property `locationId` @return [Fixnum]
The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length. Corresponds to the JSON property `postalCode` @return [String]
Fixed shipping price, represented as a number. Corresponds to the JSON property `price` @return [Google::Apis::ContentV2::Price]
The geographic region to which a shipping rate applies. Corresponds to the JSON property `region` @return [String]
A free-form description of the service class or delivery speed. Corresponds to the JSON property `service` @return [String]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 9474 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 9479 def update!(**args) @country = args[:country] if args.key?(:country) @location_group_name = args[:location_group_name] if args.key?(:location_group_name) @location_id = args[:location_id] if args.key?(:location_id) @postal_code = args[:postal_code] if args.key?(:postal_code) @price = args[:price] if args.key?(:price) @region = args[:region] if args.key?(:region) @service = args[:service] if args.key?(:service) end