class Ingenico::Connect::SDK::Domain::Payment::CancelPaymentCardPaymentMethodSpecificOutput
@attr [String] void_response_id
Attributes
void_response_id[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::DataObject#from_hash
# File lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb, line 23 def from_hash(hash) super if hash.has_key? 'voidResponseId' @void_response_id = hash['voidResponseId'] end end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::DataObject#to_h
# File lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb, line 17 def to_h hash = super hash['voidResponseId'] = @void_response_id unless @void_response_id.nil? hash end