Class: SolidusBolt::Transactions::DetailService

Inherits:
BaseService show all
Defined in:
app/services/solidus_bolt/transactions/detail_service.rb

Instance Attribute Summary collapse

Attributes inherited from BaseService

#payment_method

Instance Method Summary collapse

Methods inherited from BaseService

call

Constructor Details

#initialize(transaction_reference:, payment_method:) ⇒ DetailService

Returns a new instance of DetailService.



8
9
10
11
# File 'app/services/solidus_bolt/transactions/detail_service.rb', line 8

def initialize(transaction_reference:, payment_method:)
  @transaction_reference = transaction_reference
  super
end

Instance Attribute Details

#transaction_referenceObject (readonly)

Returns the value of attribute transaction_reference.



6
7
8
# File 'app/services/solidus_bolt/transactions/detail_service.rb', line 6

def transaction_reference
  @transaction_reference
end

Instance Method Details

#callObject



13
14
15
# File 'app/services/solidus_bolt/transactions/detail_service.rb', line 13

def call
  detail
end