class Ingenico::Connect::SDK::Domain::Token::MandateSepaDirectDebitWithMandateId
@attr [String] mandate_id
Attributes
mandate_id[RW]
Public Instance Methods
from_hash(hash)
click to toggle source
Calls superclass method
Ingenico::Connect::SDK::Domain::Token::MandateSepaDirectDebitWithoutCreditor#from_hash
# File lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb, line 23 def from_hash(hash) super if hash.has_key? 'mandateId' @mandate_id = hash['mandateId'] end end
to_h()
click to toggle source
@return (Hash)
Calls superclass method
Ingenico::Connect::SDK::Domain::Token::MandateSepaDirectDebitWithoutCreditor#to_h
# File lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb, line 17 def to_h hash = super hash['mandateId'] = @mandate_id unless @mandate_id.nil? hash end