class Ingenico::Connect::SDK::Domain::Payment::CashPaymentProduct1503SpecificInput

@attr [String] return_url @deprecated No replacement

Attributes

return_url[RW]

@deprecated No replacement, since Boleto Bancario no longer needs a return URL

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb, line 26
def from_hash(hash)
  super
  if hash.has_key? 'returnUrl'
    @return_url = hash['returnUrl']
  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/cash_payment_product1503_specific_input.rb, line 20
def to_h
  hash = super
  hash['returnUrl'] = @return_url unless @return_url.nil?
  hash
end