Class: ShopeePayService::GetInvoice

Inherits:
Base
  • Object
show all
Defined in:
app/services/shopee_pay_service/get_invoice.rb

Instance Method Summary collapse

Methods inherited from Base

#execute

Constructor Details

#initialize(reservation, options = {}) ⇒ GetInvoice

Returns a new instance of GetInvoice.



6
7
8
9
# File 'app/services/shopee_pay_service/get_invoice.rb', line 6

def initialize(reservation, options = {})
  @reservation = reservation
  @options = options.reverse_merge(platform_type: 'pc')
end