Class: OnlinePayments::SDK::Domain::RedirectPaymentProduct3204SpecificInput
- Inherits:
-
DataObject
- Object
- DataObject
- OnlinePayments::SDK::Domain::RedirectPaymentProduct3204SpecificInput
- Defined in:
- lib/onlinepayments/sdk/domain/redirect_payment_product3204_specific_input.rb
Instance Attribute Summary collapse
-
#alias_label ⇒ String
The current value of alias_label.
-
#blik_code ⇒ String
The current value of blik_code.
Instance Method Summary collapse
Methods inherited from DataObject
Instance Attribute Details
#alias_label ⇒ String
Returns the current value of alias_label.
11 12 13 |
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product3204_specific_input.rb', line 11 def alias_label @alias_label end |
#blik_code ⇒ String
Returns the current value of blik_code.
11 12 13 |
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product3204_specific_input.rb', line 11 def blik_code @blik_code end |
Instance Method Details
#from_hash(hash) ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product3204_specific_input.rb', line 25 def from_hash(hash) super if hash.has_key? 'aliasLabel' @alias_label = hash['aliasLabel'] end if hash.has_key? 'blikCode' @blik_code = hash['blikCode'] end end |
#to_h ⇒ Hash
18 19 20 21 22 23 |
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product3204_specific_input.rb', line 18 def to_h hash = super hash['aliasLabel'] = @alias_label unless @alias_label.nil? hash['blikCode'] = @blik_code unless @blik_code.nil? hash end |