Class: Gateway::SalesOption
- Inherits:
-
Object
- Object
- Gateway::SalesOption
- Defined in:
- lib/gateway/SalesOption.rb
Instance Attribute Summary collapse
-
#AntiFraudServiceCode ⇒ Object
Returns the value of attribute AntiFraudServiceCode.
-
#CurrencyIso ⇒ Object
Returns the value of attribute CurrencyIso.
-
#IsAntiFraudEnabled ⇒ Object
Returns the value of attribute IsAntiFraudEnabled.
-
#Retries ⇒ Object
Returns the value of attribute Retries.
Instance Method Summary collapse
Instance Attribute Details
#AntiFraudServiceCode ⇒ Object
Returns the value of attribute AntiFraudServiceCode.
7 8 9 |
# File 'lib/gateway/SalesOption.rb', line 7 def AntiFraudServiceCode @AntiFraudServiceCode end |
#CurrencyIso ⇒ Object
Returns the value of attribute CurrencyIso.
11 12 13 |
# File 'lib/gateway/SalesOption.rb', line 11 def CurrencyIso @CurrencyIso end |
#IsAntiFraudEnabled ⇒ Object
Returns the value of attribute IsAntiFraudEnabled.
5 6 7 |
# File 'lib/gateway/SalesOption.rb', line 5 def IsAntiFraudEnabled @IsAntiFraudEnabled end |
#Retries ⇒ Object
Returns the value of attribute Retries.
9 10 11 |
# File 'lib/gateway/SalesOption.rb', line 9 def Retries @Retries end |
Instance Method Details
#to_json ⇒ Object
13 14 15 16 17 |
# File 'lib/gateway/SalesOption.rb', line 13 def to_json hash = {} instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end |