class Ingenico::Connect::SDK::Domain::Token::TokenEWalletData

@attr [String] billing_agreement_id

Attributes

billing_agreement_id[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb, line 23
def from_hash(hash)
  super
  if hash.has_key? 'billingAgreementId'
    @billing_agreement_id = hash['billingAgreementId']
  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/token/token_e_wallet_data.rb, line 17
def to_h
  hash = super
  hash['billingAgreementId'] = @billing_agreement_id unless @billing_agreement_id.nil?
  hash
end