class Google::Apis::ContentV2_1::WarehouseBasedDeliveryTime
Attributes
Required. Carrier, such as `“UPS”` or `“Fedex”`. The list of supported carriers can be retrieved via the `listSupportedCarriers` method. Corresponds to the JSON property `carrier` @return [String]
Required. Carrier service, such as `“ground”` or `“2 days”`. The list of supported services for a carrier can be retrieved via the ` listSupportedCarriers` method. The name of the service must be in the eddSupportedServices list. Corresponds to the JSON property `carrierService` @return [String]
Required. Shipping origin's state. Corresponds to the JSON property `originAdministrativeArea` @return [String]
Required. Shipping origin's city. Corresponds to the JSON property `originCity` @return [String]
Required. Shipping origin's country represented as a [CLDR territory code]( www.unicode.org/repos/cldr/tags/latest/common/main/en.xml). Corresponds to the JSON property `originCountry` @return [String]
Required. Shipping origin. Corresponds to the JSON property `originPostalCode` @return [String]
Shipping origin's street address. Corresponds to the JSON property `originStreetAddress` @return [String]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 15733 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 15738 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @carrier_service = args[:carrier_service] if args.key?(:carrier_service) @origin_administrative_area = args[:origin_administrative_area] if args.key?(:origin_administrative_area) @origin_city = args[:origin_city] if args.key?(:origin_city) @origin_country = args[:origin_country] if args.key?(:origin_country) @origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code) @origin_street_address = args[:origin_street_address] if args.key?(:origin_street_address) end