Sha256: 69bc3e7bbadd3af3dcb7bc9b5ff1d78adfe940b65cb4362bf5861df86bb6113d

Contents?: true

Size: 579 Bytes

Versions: 4

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

require 'we_ship_client/entities/base'

module WeShipClient
  module Entities
    # A shipping/billing address.
    class Address < Base
      attribute :name, Types::Strict::String
      attribute :address1, Types::Strict::String
      attribute? :address2, Types::Strict::String.optional
      attribute :city, Types::Strict::String
      attribute :state, Types::Strict::String
      attribute :postalCode, Types::Strict::String
      attribute :country, Types::Strict::String
      attribute :homePhone, Types::Strict::String
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
we_ship_client-1.2.0 lib/we_ship_client/entities/address.rb
we_ship_client-1.1.1 lib/we_ship_client/entities/address.rb
we_ship_client-1.1.0 lib/we_ship_client/entities/address.rb
we_ship_client-1.0.0 lib/we_ship_client/entities/address.rb