class Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct4101SpecificInput
@attr [String] display_name
@attr [String] integration_type
@attr [String] virtual_payment_address
Attributes
display_name[RW]
integration_type[RW]
virtual_payment_address[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_product4101_specific_input.rb, line 31 def from_hash(hash) super if hash.has_key? 'displayName' @display_name = hash['displayName'] end if hash.has_key? 'integrationType' @integration_type = hash['integrationType'] end if hash.has_key? 'virtualPaymentAddress' @virtual_payment_address = hash['virtualPaymentAddress'] 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_product4101_specific_input.rb, line 23 def to_h hash = super hash['displayName'] = @display_name unless @display_name.nil? hash['integrationType'] = @integration_type unless @integration_type.nil? hash['virtualPaymentAddress'] = @virtual_payment_address unless @virtual_payment_address.nil? hash end