Class: Google::Apis::AndroidpublisherV3::ExternalTransactionAddress
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ExternalTransactionAddress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
User's address for the external transaction.
Instance Attribute Summary collapse
-
#administrative_area ⇒ String
Optional.
-
#region_code ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExternalTransactionAddress
constructor
A new instance of ExternalTransactionAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExternalTransactionAddress
Returns a new instance of ExternalTransactionAddress.
2322 2323 2324 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2322 def initialize(**args) update!(**args) end |
Instance Attribute Details
#administrative_area ⇒ String
Optional. Top-level administrative subdivision of the country/region. Only
required for transactions in India. Valid values are "ANDAMAN AND NICOBAR
ISLANDS", "ANDHRA PRADESH", "ARUNACHAL PRADESH", "ASSAM", "BIHAR", "CHANDIGARH"
, "CHHATTISGARH", "DADRA AND NAGAR HAVELI", "DADRA AND NAGAR HAVELI AND DAMAN
AND DIU", "DAMAN AND DIU", "DELHI", "GOA", "GUJARAT", "HARYANA", "HIMACHAL
PRADESH", "JAMMU AND KASHMIR", "JHARKHAND", "KARNATAKA", "KERALA", "LADAKH", "
LAKSHADWEEP", "MADHYA PRADESH", "MAHARASHTRA", "MANIPUR", "MEGHALAYA", "
MIZORAM", "NAGALAND", "ODISHA", "PUDUCHERRY", "PUNJAB", "RAJASTHAN", "SIKKIM",
"TAMIL NADU", "TELANGANA", "TRIPURA", "UTTAR PRADESH", "UTTARAKHAND", and "
WEST BENGAL".
Corresponds to the JSON property administrativeArea
2315 2316 2317 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2315 def administrative_area @administrative_area end |
#region_code ⇒ String
Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region codes).
Corresponds to the JSON property regionCode
2320 2321 2322 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2320 def region_code @region_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2327 2328 2329 2330 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2327 def update!(**args) @administrative_area = args[:administrative_area] if args.key?(:administrative_area) @region_code = args[:region_code] if args.key?(:region_code) end |