class Google::Apis::ContentV2_1::PickupServicesPickupService

Attributes

carrier_name[RW]

The name of the carrier (e.g., `“UPS”`). Always present. Corresponds to the JSON property `carrierName` @return [String]

country[RW]

The CLDR country code of the carrier (e.g., “US”). Always present. Corresponds to the JSON property `country` @return [String]

service_name[RW]

The name of the pickup service (e.g., `“Access point”`). Always present. Corresponds to the JSON property `serviceName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 9170
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 9175
def update!(**args)
  @carrier_name = args[:carrier_name] if args.key?(:carrier_name)
  @country = args[:country] if args.key?(:country)
  @service_name = args[:service_name] if args.key?(:service_name)
end