Class: Transfirst::WalletRefund
- Defined in:
- lib/transfirst/wallet_refund.rb
Constant Summary
Constants inherited from API
API::ADD_ENTITY, API::MERCHANT_PROD_TYPE, API::MERCHANT_WEB_SERVICE, API::NO_API_ERROR, API::RECURRING, API::STATUS_ACTIVE, API::STATUS_INACTIVE, API::UPDATE_ENTITY, API::VERSION, API::XSD_PATH
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#api ⇒ Object
Returns the value of attribute api.
-
#tran_nr ⇒ Object
Returns the value of attribute tran_nr.
Attributes inherited from API
#client, #gateway_id, #registration_key
Instance Method Summary collapse
-
#initialize(*args) ⇒ WalletRefund
constructor
A new instance of WalletRefund.
Methods inherited from API
Constructor Details
#initialize(*args) ⇒ WalletRefund
Returns a new instance of WalletRefund.
5 6 7 8 9 |
# File 'lib/transfirst/wallet_refund.rb', line 5 def initialize(*args) api, attrs = *args @api = api @body = build_request(attrs) end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
3 4 5 |
# File 'lib/transfirst/wallet_refund.rb', line 3 def amount @amount end |
#api ⇒ Object
Returns the value of attribute api.
3 4 5 |
# File 'lib/transfirst/wallet_refund.rb', line 3 def api @api end |
#tran_nr ⇒ Object
Returns the value of attribute tran_nr.
3 4 5 |
# File 'lib/transfirst/wallet_refund.rb', line 3 def tran_nr @tran_nr end |