Sha256: 79c135c573baa060cfd74f7c3a44105dfc0fa4399ceb398d25df25ac820db292

Contents?: true

Size: 552 Bytes

Versions: 7

Compression:

Stored size: 552 Bytes

Contents

module AdaptivePayments
  class Address < JsonModel
    attribute :id,             String,            :param => "addressId"
    attribute :addressee_name, String,            :param => "addresseeName"
    attribute :base_address,   Node[BaseAddress], :param => "baseAddress"

    alias_params :base_address, {
      :line1        => :line1,
      :line2        => :line2,
      :city         => :city,
      :state        => :state,
      :postal_code  => :postal_code,
      :country_code => :country_code,
      :type         => :type
    }
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
creative-pp-adaptive-1.1.1 lib/pp-adaptive/types/address.rb
pp-adaptive-1.0.0 lib/pp-adaptive/types/address.rb
pp-adaptive-0.0.6 lib/pp-adaptive/types/address.rb
pp-adaptive-0.0.5 lib/pp-adaptive/types/address.rb
pp-adaptive-0.0.4 lib/pp-adaptive/types/address.rb
pp-adaptive-0.0.3 lib/pp-adaptive/types/address.rb
pp-adaptive-0.0.2 lib/pp-adaptive/types/address.rb