Class: Hps::HpsAuthorization
- Inherits:
-
HpsTransaction
- Object
- HpsTransaction
- Hps::HpsAuthorization
- Defined in:
- lib/hps/entities/hps_authorization.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#authorization_code ⇒ Object
Returns the value of attribute authorization_code.
-
#authorized_amount ⇒ Object
Returns the value of attribute authorized_amount.
-
#avs_result_code ⇒ Object
Returns the value of attribute avs_result_code.
-
#avs_result_text ⇒ Object
Returns the value of attribute avs_result_text.
-
#card_type ⇒ Object
Returns the value of attribute card_type.
-
#cpc_indicator ⇒ Object
Returns the value of attribute cpc_indicator.
-
#cvv_result_code ⇒ Object
Returns the value of attribute cvv_result_code.
-
#cvv_result_text ⇒ Object
Returns the value of attribute cvv_result_text.
-
#token_data ⇒ Object
Returns the value of attribute token_data.
Attributes inherited from HpsTransaction
#reference_number, #response_code, #response_text, #transaction_header, #transaction_id
Instance Method Summary collapse
-
#initialize(header) ⇒ HpsAuthorization
constructor
A new instance of HpsAuthorization.
Constructor Details
#initialize(header) ⇒ HpsAuthorization
Returns a new instance of HpsAuthorization.
8 9 10 |
# File 'lib/hps/entities/hps_authorization.rb', line 8 def initialize(header) super(header) end |
Instance Attribute Details
#authorization_code ⇒ Object
Returns the value of attribute authorization_code.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def @authorization_code end |
#authorized_amount ⇒ Object
Returns the value of attribute authorized_amount.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def @authorized_amount end |
#avs_result_code ⇒ Object
Returns the value of attribute avs_result_code.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def avs_result_code @avs_result_code end |
#avs_result_text ⇒ Object
Returns the value of attribute avs_result_text.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def avs_result_text @avs_result_text end |
#card_type ⇒ Object
Returns the value of attribute card_type.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def card_type @card_type end |
#cpc_indicator ⇒ Object
Returns the value of attribute cpc_indicator.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def cpc_indicator @cpc_indicator end |
#cvv_result_code ⇒ Object
Returns the value of attribute cvv_result_code.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def cvv_result_code @cvv_result_code end |
#cvv_result_text ⇒ Object
Returns the value of attribute cvv_result_text.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def cvv_result_text @cvv_result_text end |
#token_data ⇒ Object
Returns the value of attribute token_data.
4 5 6 |
# File 'lib/hps/entities/hps_authorization.rb', line 4 def token_data @token_data end |