class Google::Apis::ContentV2_1::ReturnAddress
Return address resource.
Attributes
Required. The address. Corresponds to the JSON property `address` @return [Google::Apis::ContentV2_1::ReturnAddressAddress]
Required. The country of sale where the return address is applicable. Corresponds to the JSON property `country` @return [String]
Identifies what kind of resource this is. Value: the fixed string “`content# returnAddress`” Corresponds to the JSON property `kind` @return [String]
Required. The user-defined label of the return address. For the default address, use the label “default”. Corresponds to the JSON property `label` @return [String]
Required. The merchant's contact phone number regarding the return. Corresponds to the JSON property `phoneNumber` @return [String]
Return address ID generated by Google
. Corresponds to the JSON property `returnAddressId` @return [String]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 12923 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 12928 def update!(**args) @address = args[:address] if args.key?(:address) @country = args[:country] if args.key?(:country) @kind = args[:kind] if args.key?(:kind) @label = args[:label] if args.key?(:label) @phone_number = args[:phone_number] if args.key?(:phone_number) @return_address_id = args[:return_address_id] if args.key?(:return_address_id) end