class ApRubySdk::Preauthorization
Attributes
amount[RW]
currency[RW]
customer[RW]
payment[RW]
Public Class Methods
list_members()
click to toggle source
# File lib/ap_ruby_sdk/preauthorization.rb, line 22 def self.list_members :preauthorizations end
url()
click to toggle source
# File lib/ap_ruby_sdk/preauthorization.rb, line 18 def self.url '/preauthorizations' end
Public Instance Methods
customer=(customer)
click to toggle source
# File lib/ap_ruby_sdk/preauthorization.rb, line 10 def customer=(customer) @customer = Customer.new(customer) end
payment=(payment)
click to toggle source
# File lib/ap_ruby_sdk/preauthorization.rb, line 14 def payment=(payment) @payment = Payment.new(payment) end