Class: Betsy::ShopReceiptTransaction
- Inherits:
-
Object
- Object
- Betsy::ShopReceiptTransaction
- Includes:
- Model
- Defined in:
- lib/betsy/shop_receipt_transaction.rb
Class Method Summary collapse
- .get_shop_receipt_transaction(shop_id, transaction_id, options = {}) ⇒ Object
- .get_shop_receipt_transactions_by_listing(shop_id, listing_id, options = {}) ⇒ Object
- .get_shop_receipt_transactions_by_receipt(shop_id, receipt_id, options = {}) ⇒ Object
- .get_shop_receipt_transactions_by_shop(shop_id, options = {}) ⇒ Object
Methods included from Model
Class Method Details
.get_shop_receipt_transaction(shop_id, transaction_id, options = {}) ⇒ Object
46 47 48 |
# File 'lib/betsy/shop_receipt_transaction.rb', line 46 def self.get_shop_receipt_transaction(shop_id, transaction_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/transactions/#{transaction_id}", ) end |
.get_shop_receipt_transactions_by_listing(shop_id, listing_id, options = {}) ⇒ Object
38 39 40 |
# File 'lib/betsy/shop_receipt_transaction.rb', line 38 def self.get_shop_receipt_transactions_by_listing(shop_id, listing_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/listings/#{listing_id}/transactions", ) end |
.get_shop_receipt_transactions_by_receipt(shop_id, receipt_id, options = {}) ⇒ Object
42 43 44 |
# File 'lib/betsy/shop_receipt_transaction.rb', line 42 def self.get_shop_receipt_transactions_by_receipt(shop_id, receipt_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/receipts/#{receipt_id}/transactions", ) end |
.get_shop_receipt_transactions_by_shop(shop_id, options = {}) ⇒ Object
50 51 52 |
# File 'lib/betsy/shop_receipt_transaction.rb', line 50 def self.get_shop_receipt_transactions_by_shop(shop_id, = {}) make_request(:get, "/v3/application/shops/#{shop_id}/transactions", ) end |