Class: OnlinePayments::SDK::Domain::PaymentProduct5001 Deprecated
- Inherits:
-
DataObject
- Object
- DataObject
- OnlinePayments::SDK::Domain::PaymentProduct5001
- Defined in:
- lib/onlinepayments/sdk/domain/payment_product5001.rb
Overview
Deprecated.
Deprecated by pendingAuthentication. Contains the third party data for payment product 5001 (Bizum)
Instance Attribute Summary collapse
-
#message ⇒ String
The current value of message.
-
#polling_url ⇒ String
The current value of polling_url.
Instance Method Summary collapse
Methods inherited from DataObject
Instance Attribute Details
#message ⇒ String
Returns the current value of message.
12 13 14 |
# File 'lib/onlinepayments/sdk/domain/payment_product5001.rb', line 12 def end |
#polling_url ⇒ String
Returns the current value of polling_url.
12 13 14 |
# File 'lib/onlinepayments/sdk/domain/payment_product5001.rb', line 12 def polling_url @polling_url end |
Instance Method Details
#from_hash(hash) ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/onlinepayments/sdk/domain/payment_product5001.rb', line 26 def from_hash(hash) super if hash.has_key? 'message' = hash['message'] end if hash.has_key? 'pollingUrl' @polling_url = hash['pollingUrl'] end end |
#to_h ⇒ Hash
19 20 21 22 23 24 |
# File 'lib/onlinepayments/sdk/domain/payment_product5001.rb', line 19 def to_h hash = super hash['message'] = unless .nil? hash['pollingUrl'] = @polling_url unless @polling_url.nil? hash end |