Sha256: 3dea334e6384c811e86ba3504504bb9af413f42a8f0be259c40d090bd3006593

Contents?: true

Size: 1.01 KB

Versions: 21

Compression:

Stored size: 1.01 KB

Contents

# DO NOT EDIT: File is generated by code generator.

require "pokepay_partner_ruby_sdk/response/account_without_private_money_detail"
require "pokepay_partner_ruby_sdk/response/account_without_private_money_detail"

module Pokepay::Response
  class Transfer
    def initialize(row)
      @id = row["id"]
      @sender_account = AccountWithoutPrivateMoneyDetail.new(row["sender_account"])
      @receiver_account = AccountWithoutPrivateMoneyDetail.new(row["receiver_account"])
      @amount = row["amount"]
      @money_amount = row["money_amount"]
      @point_amount = row["point_amount"]
      @done_at = row["done_at"]
      @type = row["type"]
      @description = row["description"]
      @transaction_id = row["transaction_id"]
    end
    attr_reader :id
    attr_reader :sender_account
    attr_reader :receiver_account
    attr_reader :amount
    attr_reader :money_amount
    attr_reader :point_amount
    attr_reader :done_at
    attr_reader :type
    attr_reader :description
    attr_reader :transaction_id
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pokepay_partner_ruby_sdk-0.3.2 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.3.1 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.3.0 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.2.0 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.19 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.18 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.17 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.15.1 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.15 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.14 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.13 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.12 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.11 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.10 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.9 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.8 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.7 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.6 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.5 lib/pokepay_partner_ruby_sdk/response/transfer.rb
pokepay_partner_ruby_sdk-0.1.4 lib/pokepay_partner_ruby_sdk/response/transfer.rb