class Google::Apis::ContentV2::OrderAddress
Attributes
CLDR country code (e.g. “US”). Corresponds to the JSON property `country` @return [String]
Strings representing the lines of the printed label for mailing the order, for example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States Corresponds to the JSON property `fullAddress` @return [Array<String>]
Whether the address is a post office box. Corresponds to the JSON property `isPostOfficeBox` @return [Boolean]
Whether the address is a post office box. Corresponds to the JSON property `isPostOfficeBox` @return [Boolean]
City, town or commune. May also include dependent localities or sublocalities ( e.g. neighborhoods or suburbs). Corresponds to the JSON property `locality` @return [String]
Postal Code or ZIP (e.g. “94043”). Corresponds to the JSON property `postalCode` @return [String]
Name of the recipient. Corresponds to the JSON property `recipientName` @return [String]
Top-level administrative subdivision of the country. For example, a state like California (“CA”) or a province like Quebec (“QC”). Corresponds to the JSON property `region` @return [String]
Street-level part of the address. Corresponds to the JSON property `streetAddress` @return [Array<String>]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 4376 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 4381 def update!(**args) @country = args[:country] if args.key?(:country) @full_address = args[:full_address] if args.key?(:full_address) @is_post_office_box = args[:is_post_office_box] if args.key?(:is_post_office_box) @locality = args[:locality] if args.key?(:locality) @postal_code = args[:postal_code] if args.key?(:postal_code) @recipient_name = args[:recipient_name] if args.key?(:recipient_name) @region = args[:region] if args.key?(:region) @street_address = args[:street_address] if args.key?(:street_address) end