Class: Workarea::Payment::Capture::StoreCredit
- Inherits:
-
Object
- Object
- Workarea::Payment::Capture::StoreCredit
show all
- Includes:
- OperationImplementation
- Defined in:
- app/models/workarea/payment/capture/store_credit.rb
Instance Method Summary
collapse
#initialize, #validate_reference!
Instance Method Details
#cancel! ⇒ Object
15
16
17
18
19
20
21
|
# File 'app/models/workarea/payment/capture/store_credit.rb', line 15
def cancel!
transaction.response = ActiveMerchant::Billing::Response.new(
true,
I18n.t('workarea.payment.store_credit_capture')
)
end
|
#complete! ⇒ Object
7
8
9
10
11
12
13
|
# File 'app/models/workarea/payment/capture/store_credit.rb', line 7
def complete!
transaction.response = ActiveMerchant::Billing::Response.new(
true,
I18n.t('workarea.payment.store_credit_capture')
)
end
|