class Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct869SpecificInput
@attr [String] issuer_id
@attr [String] resident_id_name
@attr [String] resident_id_number
Attributes
issuer_id[RW]
resident_id_name[RW]
resident_id_number[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/redirect_payment_product869_specific_input.rb, line 31 def from_hash(hash) super if hash.has_key? 'issuerId' @issuer_id = hash['issuerId'] end if hash.has_key? 'residentIdName' @resident_id_name = hash['residentIdName'] end if hash.has_key? 'residentIdNumber' @resident_id_number = hash['residentIdNumber'] 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/redirect_payment_product869_specific_input.rb, line 23 def to_h hash = super hash['issuerId'] = @issuer_id unless @issuer_id.nil? hash['residentIdName'] = @resident_id_name unless @resident_id_name.nil? hash['residentIdNumber'] = @resident_id_number unless @resident_id_number.nil? hash end