Class: Bluepay::Sale
- Inherits:
-
TransactionBase
- Object
- Base
- TransactionBase
- Bluepay::Sale
- Defined in:
- lib/bluepay/sale.rb
Constant Summary
Constants included from BP10EMU
Constants included from Parameters
Parameters::BOOLEAN_CONVERTER, Parameters::DEFAULT_CONVERTER
Instance Attribute Summary
Attributes inherited from TransactionBase
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ Sale
constructor
A new instance of Sale.
Methods inherited from TransactionBase
create!, #create!, #request_params, #to_h
Methods included from BP10EMU
Methods included from Interface
Methods included from Parameters
#bluepay_params, #converted_params, included, #params
Methods included from TamperProofSeal
Constructor Details
#initialize(*args) ⇒ Sale
Returns a new instance of Sale.
4 5 6 7 |
# File 'lib/bluepay/sale.rb', line 4 def initialize(*args) super(*args) self.params[:transaction_type] = 'SALE' end |