class Google::Apis::ContentV2::AccountShippingPostalCodeRange

A postal code range, that can be either:

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