Class: Worldline::Connect::SDK::V1::Domain::CashPaymentMethodSpecificInput
- Inherits:
-
AbstractCashPaymentMethodSpecificInput
- Object
- Domain::DataObject
- AbstractPaymentMethodSpecificInput
- AbstractCashPaymentMethodSpecificInput
- Worldline::Connect::SDK::V1::Domain::CashPaymentMethodSpecificInput
- Defined in:
- lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb
Instance Attribute Summary collapse
-
#payment_product1503_specific_input ⇒ Object
deprecated
Deprecated.
No replacement
-
#payment_product1504_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput
The current value of payment_product1504_specific_input.
-
#payment_product1506_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1506SpecificInput
The current value of payment_product1506_specific_input.
-
#payment_product1508_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1508SpecificInput
The current value of payment_product1508_specific_input.
-
#payment_product1521_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput
The current value of payment_product1521_specific_input.
-
#payment_product1522_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1522SpecificInput
The current value of payment_product1522_specific_input.
-
#payment_product1523_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1523SpecificInput
The current value of payment_product1523_specific_input.
-
#payment_product1524_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1524SpecificInput
The current value of payment_product1524_specific_input.
-
#payment_product1526_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1526SpecificInput
The current value of payment_product1526_specific_input.
Attributes inherited from AbstractPaymentMethodSpecificInput
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#payment_product1503_specific_input ⇒ Object
Deprecated.
No replacement
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1503_specific_input @payment_product1503_specific_input end |
#payment_product1504_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1504_specific_input @payment_product1504_specific_input end |
#payment_product1506_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1506SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1506_specific_input @payment_product1506_specific_input end |
#payment_product1508_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1508SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1508_specific_input @payment_product1508_specific_input end |
#payment_product1521_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1521_specific_input @payment_product1521_specific_input end |
#payment_product1522_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1522SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1522_specific_input @payment_product1522_specific_input end |
#payment_product1523_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1523SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1523_specific_input @payment_product1523_specific_input end |
#payment_product1524_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1524SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1524_specific_input @payment_product1524_specific_input end |
#payment_product1526_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1526SpecificInput
30 31 32 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 30 def payment_product1526_specific_input @payment_product1526_specific_input end |
Instance Method Details
#from_hash(hash) ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 66 def from_hash(hash) super if hash.has_key? 'paymentProduct1503SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1503SpecificInput']] unless hash['paymentProduct1503SpecificInput'].is_a? Hash @payment_product1503_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1503SpecificInput.new_from_hash(hash['paymentProduct1503SpecificInput']) end if hash.has_key? 'paymentProduct1504SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1504SpecificInput']] unless hash['paymentProduct1504SpecificInput'].is_a? Hash @payment_product1504_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput.new_from_hash(hash['paymentProduct1504SpecificInput']) end if hash.has_key? 'paymentProduct1506SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1506SpecificInput']] unless hash['paymentProduct1506SpecificInput'].is_a? Hash @payment_product1506_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1506SpecificInput.new_from_hash(hash['paymentProduct1506SpecificInput']) end if hash.has_key? 'paymentProduct1508SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1508SpecificInput']] unless hash['paymentProduct1508SpecificInput'].is_a? Hash @payment_product1508_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1508SpecificInput.new_from_hash(hash['paymentProduct1508SpecificInput']) end if hash.has_key? 'paymentProduct1521SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1521SpecificInput']] unless hash['paymentProduct1521SpecificInput'].is_a? Hash @payment_product1521_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput.new_from_hash(hash['paymentProduct1521SpecificInput']) end if hash.has_key? 'paymentProduct1522SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1522SpecificInput']] unless hash['paymentProduct1522SpecificInput'].is_a? Hash @payment_product1522_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1522SpecificInput.new_from_hash(hash['paymentProduct1522SpecificInput']) end if hash.has_key? 'paymentProduct1523SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1523SpecificInput']] unless hash['paymentProduct1523SpecificInput'].is_a? Hash @payment_product1523_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1523SpecificInput.new_from_hash(hash['paymentProduct1523SpecificInput']) end if hash.has_key? 'paymentProduct1524SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1524SpecificInput']] unless hash['paymentProduct1524SpecificInput'].is_a? Hash @payment_product1524_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1524SpecificInput.new_from_hash(hash['paymentProduct1524SpecificInput']) end if hash.has_key? 'paymentProduct1526SpecificInput' raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct1526SpecificInput']] unless hash['paymentProduct1526SpecificInput'].is_a? Hash @payment_product1526_specific_input = Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1526SpecificInput.new_from_hash(hash['paymentProduct1526SpecificInput']) end end |
#to_h ⇒ Hash
52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 52 def to_h hash = super hash['paymentProduct1503SpecificInput'] = @payment_product1503_specific_input.to_h unless @payment_product1503_specific_input.nil? hash['paymentProduct1504SpecificInput'] = @payment_product1504_specific_input.to_h unless @payment_product1504_specific_input.nil? hash['paymentProduct1506SpecificInput'] = @payment_product1506_specific_input.to_h unless @payment_product1506_specific_input.nil? hash['paymentProduct1508SpecificInput'] = @payment_product1508_specific_input.to_h unless @payment_product1508_specific_input.nil? hash['paymentProduct1521SpecificInput'] = @payment_product1521_specific_input.to_h unless @payment_product1521_specific_input.nil? hash['paymentProduct1522SpecificInput'] = @payment_product1522_specific_input.to_h unless @payment_product1522_specific_input.nil? hash['paymentProduct1523SpecificInput'] = @payment_product1523_specific_input.to_h unless @payment_product1523_specific_input.nil? hash['paymentProduct1524SpecificInput'] = @payment_product1524_specific_input.to_h unless @payment_product1524_specific_input.nil? hash['paymentProduct1526SpecificInput'] = @payment_product1526_specific_input.to_h unless @payment_product1526_specific_input.nil? hash end |