Class: Pokepay::Response::PrivateMoneySummary
- Inherits:
-
Object
- Object
- Pokepay::Response::PrivateMoneySummary
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb
Instance Attribute Summary collapse
-
#added_point_amount ⇒ Object
readonly
Returns the value of attribute added_point_amount.
-
#campaign_point_amount ⇒ Object
readonly
Returns the value of attribute campaign_point_amount.
-
#exchange_inflow_amount ⇒ Object
readonly
Returns the value of attribute exchange_inflow_amount.
-
#exchange_outflow_amount ⇒ Object
readonly
Returns the value of attribute exchange_outflow_amount.
-
#payment_amount ⇒ Object
readonly
Returns the value of attribute payment_amount.
-
#refunded_added_point_amount ⇒ Object
readonly
Returns the value of attribute refunded_added_point_amount.
-
#refunded_payment_amount ⇒ Object
readonly
Returns the value of attribute refunded_payment_amount.
-
#refunded_topup_amount ⇒ Object
readonly
Returns the value of attribute refunded_topup_amount.
-
#topup_amount ⇒ Object
readonly
Returns the value of attribute topup_amount.
-
#topup_point_amount ⇒ Object
readonly
Returns the value of attribute topup_point_amount.
-
#transaction_count ⇒ Object
readonly
Returns the value of attribute transaction_count.
Instance Method Summary collapse
-
#initialize(row) ⇒ PrivateMoneySummary
constructor
A new instance of PrivateMoneySummary.
Constructor Details
#initialize(row) ⇒ PrivateMoneySummary
Returns a new instance of PrivateMoneySummary.
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 6 def initialize(row) @topup_amount = row["topup_amount"] @refunded_topup_amount = row["refunded_topup_amount"] @payment_amount = row["payment_amount"] @refunded_payment_amount = row["refunded_payment_amount"] @added_point_amount = row["added_point_amount"] @topup_point_amount = row["topup_point_amount"] @campaign_point_amount = row["campaign_point_amount"] @refunded_added_point_amount = row["refunded_added_point_amount"] @exchange_inflow_amount = row["exchange_inflow_amount"] @exchange_outflow_amount = row["exchange_outflow_amount"] @transaction_count = row["transaction_count"] end |
Instance Attribute Details
#added_point_amount ⇒ Object (readonly)
Returns the value of attribute added_point_amount.
23 24 25 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 23 def added_point_amount @added_point_amount end |
#campaign_point_amount ⇒ Object (readonly)
Returns the value of attribute campaign_point_amount.
25 26 27 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 25 def campaign_point_amount @campaign_point_amount end |
#exchange_inflow_amount ⇒ Object (readonly)
Returns the value of attribute exchange_inflow_amount.
27 28 29 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 27 def exchange_inflow_amount @exchange_inflow_amount end |
#exchange_outflow_amount ⇒ Object (readonly)
Returns the value of attribute exchange_outflow_amount.
28 29 30 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 28 def exchange_outflow_amount @exchange_outflow_amount end |
#payment_amount ⇒ Object (readonly)
Returns the value of attribute payment_amount.
21 22 23 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 21 def payment_amount @payment_amount end |
#refunded_added_point_amount ⇒ Object (readonly)
Returns the value of attribute refunded_added_point_amount.
26 27 28 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 26 def refunded_added_point_amount @refunded_added_point_amount end |
#refunded_payment_amount ⇒ Object (readonly)
Returns the value of attribute refunded_payment_amount.
22 23 24 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 22 def refunded_payment_amount @refunded_payment_amount end |
#refunded_topup_amount ⇒ Object (readonly)
Returns the value of attribute refunded_topup_amount.
20 21 22 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 20 def refunded_topup_amount @refunded_topup_amount end |
#topup_amount ⇒ Object (readonly)
Returns the value of attribute topup_amount.
19 20 21 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 19 def topup_amount @topup_amount end |
#topup_point_amount ⇒ Object (readonly)
Returns the value of attribute topup_point_amount.
24 25 26 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 24 def topup_point_amount @topup_point_amount end |
#transaction_count ⇒ Object (readonly)
Returns the value of attribute transaction_count.
29 30 31 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb', line 29 def transaction_count @transaction_count end |