class Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location
Describes a location of an end user.
Attributes
postal_code[RW]
The postal code this location refers to. Ex. “94043” Corresponds to the JSON property `postalCode` @return [String]
region_code[RW]
2-letter ISO region code for current content region. Ex. “US” Please refers to: en.wikipedia.org/wiki/ISO_3166-1 Corresponds to the JSON property `regionCode` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 281 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 286 def update!(**args) @postal_code = args[:postal_code] if args.key?(:postal_code) @region_code = args[:region_code] if args.key?(:region_code) end