Class: OnlinePayments::SDK::Domain::RedirectPaymentProduct809SpecificInput Deprecated

Inherits:
DataObject
  • Object
show all
Defined in:
lib/onlinepayments/sdk/domain/redirect_payment_product809_specific_input.rb

Overview

Deprecated.

Deprecated, this is no longer used.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DataObject

new_from_hash

Instance Attribute Details

#issuer_idString

Returns the current value of issuer_id.

Returns:

  • (String)

    the current value of issuer_id



11
12
13
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product809_specific_input.rb', line 11

def issuer_id
  @issuer_id
end

Instance Method Details

#from_hash(hash) ⇒ Object



22
23
24
25
26
27
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product809_specific_input.rb', line 22

def from_hash(hash)
  super
  if hash.has_key? 'issuerId'
    @issuer_id = hash['issuerId']
  end
end

#to_hHash

Returns:

  • (Hash)


16
17
18
19
20
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product809_specific_input.rb', line 16

def to_h
  hash = super
  hash['issuerId'] = @issuer_id unless @issuer_id.nil?
  hash
end