Sha256: afa208bde4c4335d2fb9ced019c8719bc3dcc91b074c8b332b701547899b4dfb

Contents?: true

Size: 594 Bytes

Versions: 7

Compression:

Stored size: 594 Bytes

Contents

module AdaptivePayments
  class Receiver < JsonModel
    attribute :phone,           Node[PhoneNumberType]
    attribute :email,           String
    attribute :amount,          Decimal
    attribute :payment_type,    String,  :param => "paymentType"
    attribute :payment_subtype, String,  :param => "paymentSubType"
    attribute :primary,         Boolean
    attribute :invoice_id,      String,  :param => "invoiceId"

    alias_params :phone, {
      :phone_country_code => :country_code,
      :phone_number       => :phone_number,
      :phone_extension    => :extension
    }
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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