class Google::Apis::ContentV2::AccountShippingPostalCodeRange
A postal code range, that can be either:
-
A range of postal codes (e.g., start=12340, end=12359)
-
A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes
must be of the same length (e.g., start=12* end=2* is invalid).
Attributes
end[RW]
The last (inclusive) postal code or prefix of the range. Corresponds to the JSON property `end` @return [String]
start[RW]
The first (inclusive) postal code or prefix of the range. Corresponds to the JSON property `start` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 391 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 396 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end