Class: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries
- 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
Countries where the purchase of this product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed.
Instance Attribute Summary collapse
-
#region_codes ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestrictedPaymentCountries
constructor
A new instance of RestrictedPaymentCountries.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestrictedPaymentCountries
Returns a new instance of RestrictedPaymentCountries.
4878 4879 4880 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4878 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region_codes ⇒ Array<String>
Required. Region codes to impose payment restrictions on, as defined by ISO
3166-2, e.g. "US".
Corresponds to the JSON property regionCodes
4876 4877 4878 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4876 def region_codes @region_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4883 4884 4885 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4883 def update!(**args) @region_codes = args[:region_codes] if args.key?(:region_codes) end |