Class: Betsy::Payment
Class Method Summary collapse
- .get_payment_account_ledger_entry_payments(shop_id, options = {}) ⇒ Object
- .get_payments(shop_id, options = {}) ⇒ Object
- .get_shop_payment_by_receipt_id(shop_id, receipt_id, options = {}) ⇒ Object
Methods included from Model
Class Method Details
.get_payment_account_ledger_entry_payments(shop_id, options = {}) ⇒ Object
32 33 34 |
# File 'lib/betsy/payment.rb', line 32 def self.get_payment_account_ledger_entry_payments(shop_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/payment-account/ledger-entries/payments", ) end |
.get_payments(shop_id, options = {}) ⇒ Object
40 41 42 |
# File 'lib/betsy/payment.rb', line 40 def self.get_payments(shop_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/payments", ) end |
.get_shop_payment_by_receipt_id(shop_id, receipt_id, options = {}) ⇒ Object
36 37 38 |
# File 'lib/betsy/payment.rb', line 36 def self.get_shop_payment_by_receipt_id(shop_id, receipt_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/receipts/#{receipt_id}/payments", ) end |