Class: Google::Apis::MerchantapiAccountsV1beta::TaxPostalCodeRange
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::TaxPostalCodeRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
A range of postal codes that defines the area.
Instance Attribute Summary collapse
-
#end ⇒ String
The end of the postal code range.
-
#start ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaxPostalCodeRange
constructor
A new instance of TaxPostalCodeRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TaxPostalCodeRange
Returns a new instance of TaxPostalCodeRange.
2586 2587 2588 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2586 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ String
The end of the postal code range. Will be the same as start if not specified.
Corresponds to the JSON property end
2578 2579 2580 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2578 def end @end end |
#start ⇒ String
Required. The start of the postal code range, which is also the smallest in
the range.
Corresponds to the JSON property start
2584 2585 2586 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2584 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2591 2592 2593 2594 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2591 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end |