class Ingenico::Connect::SDK::Domain::Payment::AbstractSepaDirectDebitPaymentProduct771SpecificInput

@attr [String] mandate_reference

Attributes

mandate_reference[RW]

@deprecated Use existingUniqueMandateReference or mandate.uniqueMandateReference instead

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_product771_specific_input.rb, line 25
def from_hash(hash)
  super
  if hash.has_key? 'mandateReference'
    @mandate_reference = hash['mandateReference']
  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_sepa_direct_debit_payment_product771_specific_input.rb, line 19
def to_h
  hash = super
  hash['mandateReference'] = @mandate_reference unless @mandate_reference.nil?
  hash
end