Class: RealEx::Recurring::Refund
Constant Summary
Constants inherited
from Transaction
Transaction::REQUEST_TYPES
Instance Attribute Summary
Attributes inherited from Transaction
#authcode, #comments, #pasref
Instance Method Summary
collapse
Methods inherited from Transaction
#authorize!
Methods inherited from Transaction
#authorize!, #autosettle?, #initialize
included, #initialize
Instance Method Details
#request_type ⇒ Object
170
171
172
|
# File 'lib/real_ex/recurring.rb', line 170
def request_type
'payment-out'
end
|
#to_xml ⇒ Object
174
175
176
177
178
179
180
181
|
# File 'lib/real_ex/recurring.rb', line 174
def to_xml
super do |per|
per.amount(amount, :currency => currency)
per.payerref payer.reference
per.paymentmethod reference
per.refundhash refund_hash
end
end
|