Class: OnlinePayments::SDK::Domain::RedirectPaymentProduct11SpecificInput
- Inherits:
-
DataObject
- Object
- DataObject
- OnlinePayments::SDK::Domain::RedirectPaymentProduct11SpecificInput
- Defined in:
- lib/onlinepayments/sdk/domain/redirect_payment_product11_specific_input.rb
Instance Attribute Summary collapse
-
#skip_email_validation ⇒ true/false
The current value of skip_email_validation.
Instance Method Summary collapse
Methods inherited from DataObject
Instance Attribute Details
#skip_email_validation ⇒ true/false
Returns the current value of skip_email_validation.
10 11 12 |
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product11_specific_input.rb', line 10 def skip_email_validation @skip_email_validation end |
Instance Method Details
#from_hash(hash) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product11_specific_input.rb', line 21 def from_hash(hash) super if hash.has_key? 'skipEmailValidation' @skip_email_validation = hash['skipEmailValidation'] end end |
#to_h ⇒ Hash
15 16 17 18 19 |
# File 'lib/onlinepayments/sdk/domain/redirect_payment_product11_specific_input.rb', line 15 def to_h hash = super hash['skipEmailValidation'] = @skip_email_validation unless @skip_email_validation.nil? hash end |