Class: Payassist::BillPayment
- Inherits:
-
Client
- Object
- Client
- Payassist::BillPayment
show all
- Defined in:
- lib/payassist/bill_payment.rb
Overview
Instance Method Summary
collapse
Methods inherited from Client
#handle_error, #interpret_response, #send_request
Instance Method Details
#create_invoice(data) ⇒ Object
9
10
11
12
|
# File 'lib/payassist/bill_payment.rb', line 9
def create_invoice(data)
body = prepare_body("CreateBillInvoice", data)
send_request(path: "bill-payment/invoice/create", body: body)
end
|
#create_invoice_host2host(data) ⇒ Object
14
15
16
17
|
# File 'lib/payassist/bill_payment.rb', line 14
def create_invoice_host2host(data)
body = prepare_body("CreateBillInvoiceHost2Host", data)
send_request(path: "bill-payment/invoice-host2host/create", body: body)
end
|
#rate_p2p ⇒ Object
19
20
21
22
|
# File 'lib/payassist/bill_payment.rb', line 19
def rate_p2p
body = prepare_body("PayRateExchange", {})
send_request(path: "bill-payment/rate_p2p", body: body)
end
|