class Ingenico::Connect::SDK::Domain::Payment::AbstractRedirectPaymentProduct840SpecificInput
@attr [true/false] address_selection_at_pay_pal
Attributes
address_selection_at_pay_pal[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/abstract_redirect_payment_product840_specific_input.rb, line 23 def from_hash(hash) super if hash.has_key? 'addressSelectionAtPayPal' @address_selection_at_pay_pal = hash['addressSelectionAtPayPal'] 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/abstract_redirect_payment_product840_specific_input.rb, line 17 def to_h hash = super hash['addressSelectionAtPayPal'] = @address_selection_at_pay_pal unless @address_selection_at_pay_pal.nil? hash end