Class: Worldline::Connect::SDK::V1::Domain::RedirectPaymentProduct869SpecificInput
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::RedirectPaymentProduct869SpecificInput
- Defined in:
- lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb
Instance Attribute Summary collapse
-
#issuer_id ⇒ String
The current value of issuer_id.
-
#resident_id_name ⇒ String
The current value of resident_id_name.
-
#resident_id_number ⇒ String
The current value of resident_id_number.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#issuer_id ⇒ String
Returns the current value of issuer_id.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb', line 15 def issuer_id @issuer_id end |
#resident_id_name ⇒ String
Returns the current value of resident_id_name.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb', line 15 def resident_id_name @resident_id_name end |
#resident_id_number ⇒ String
Returns the current value of resident_id_number.
15 16 17 |
# File 'lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb', line 15 def resident_id_number @resident_id_number end |
Instance Method Details
#from_hash(hash) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb', line 32 def from_hash(hash) super if hash.has_key? 'issuerId' @issuer_id = hash['issuerId'] end if hash.has_key? 'residentIdName' @resident_id_name = hash['residentIdName'] end if hash.has_key? 'residentIdNumber' @resident_id_number = hash['residentIdNumber'] end end |
#to_h ⇒ Hash
24 25 26 27 28 29 30 |
# File 'lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb', line 24 def to_h hash = super hash['issuerId'] = @issuer_id unless @issuer_id.nil? hash['residentIdName'] = @resident_id_name unless @resident_id_name.nil? hash['residentIdNumber'] = @resident_id_number unless @resident_id_number.nil? hash end |