class Rev::Payment
Payment
Info. Payment
can only be done by debiting the user's account balance. @deprecated setting the payment is no longer necessary. All orders now default to :account_balance
Constants
- CC_ON_FILE_ID
- TYPES
use to correctly set payment type
Attributes
type[RW]
Public Class Methods
new(type)
click to toggle source
@param type [String] payment method
# File lib/rev-api/models/order_request.rb, line 64 def initialize(type) @type = type end
with_account_balance()
click to toggle source
# File lib/rev-api/models/order_request.rb, line 69 def with_account_balance() Payment::new(TYPES[:account_balance]) end