class Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct840SpecificInput
@attr [String] custom @attr [true/false] is_shortcut
Attributes
custom[RW]
@deprecated Use Order.references
.descriptor instead
is_shortcut[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::Domain::Payment::AbstractRedirectPaymentProduct840SpecificInput#from_hash
# File lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb, line 29 def from_hash(hash) super if hash.has_key? 'custom' @custom = hash['custom'] end if hash.has_key? 'isShortcut' @is_shortcut = hash['isShortcut'] end end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::Domain::Payment::AbstractRedirectPaymentProduct840SpecificInput#to_h
# File lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb, line 22 def to_h hash = super hash['custom'] = @custom unless @custom.nil? hash['isShortcut'] = @is_shortcut unless @is_shortcut.nil? hash end