class Afterpay::API::Payment::Find
Attributes
order_id[R]
Public Class Methods
new(params = {})
click to toggle source
# File lib/afterpay/api/payment/find.rb, line 7 def initialize(params = {}) @order_id = params[:order_id] end
Private Instance Methods
endpoint()
click to toggle source
# File lib/afterpay/api/payment/find.rb, line 22 def endpoint "#{URL}/#{order_id}" end
payload()
click to toggle source
# File lib/afterpay/api/payment/find.rb, line 15 def payload { action: :get, endpoint: endpoint } end