Class: GpWebpay::Ws::Services::ProcessTokenPayment

Inherits:
BaseSignedRequest show all
Defined in:
lib/gp_webpay/ws/services/process_token_payment.rb

Constant Summary collapse

OPERATION_NAME =
:process_token_payment
REQUEST_NAME =
:token_payment_request
RESPONSE_NAME =
:process_token_payment_response
RESPONSE_ENTITY_NAME =
:token_payment_response
SERVICE_EXCEPTION =
:payment_service_exception

Constants inherited from BaseSignedRequest

BaseSignedRequest::DEFAULT_ATTRIBUTES

Instance Attribute Summary

Attributes inherited from BaseSignedRequest

#attributes, #config

Instance Method Summary collapse

Methods inherited from BaseSignedRequest

#call

Methods inherited from Service

#call

Constructor Details

#initialize(attributes, merchant_number: :default) ⇒ ProcessTokenPayment

Returns a new instance of ProcessTokenPayment.



19
20
21
# File 'lib/gp_webpay/ws/services/process_token_payment.rb', line 19

def initialize(attributes, merchant_number: :default)
  super(attributes.except(:return_url), merchant_number: merchant_number)
end