Class: Rev::Payment Deprecated
- Inherits:
-
ApiSerializable
- Object
- ApiSerializable
- Rev::Payment
- Defined in:
- lib/rev-api/models/order_request.rb
Overview
Deprecated.
setting the payment is no longer necessary. All orders now default to :account_balance
Payment Info. Payment can only be done by debiting the user’s account balance.
Constant Summary collapse
- TYPES =
use to correctly set payment type
{ :account_balance => 'AccountBalance' }
- CC_ON_FILE_ID =
1
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type) ⇒ Payment
constructor
A new instance of Payment.
Methods inherited from ApiSerializable
Constructor Details
#initialize(type) ⇒ Payment
Returns a new instance of Payment.
64 65 66 |
# File 'lib/rev-api/models/order_request.rb', line 64 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
54 55 56 |
# File 'lib/rev-api/models/order_request.rb', line 54 def type @type end |