Class: Transfirst::WalletSale
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.
-
#wallet_id ⇒ Object
Returns the value of attribute wallet_id.
Attributes inherited from API
#client, #gateway_id, #registration_key
Instance Method Summary collapse
-
#initialize(*args) ⇒ WalletSale
constructor
A new instance of WalletSale.
Methods inherited from API
Constructor Details
#initialize(*args) ⇒ WalletSale
Returns a new instance of WalletSale.
5 6 7 8 9 |
# File 'lib/transfirst/wallet_sale.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_sale.rb', line 3 def amount @amount end |
#api ⇒ Object
Returns the value of attribute api.
3 4 5 |
# File 'lib/transfirst/wallet_sale.rb', line 3 def api @api end |
#wallet_id ⇒ Object
Returns the value of attribute wallet_id.
3 4 5 |
# File 'lib/transfirst/wallet_sale.rb', line 3 def wallet_id @wallet_id end |