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_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
26 27 28 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 26 def payment_product1503_specific_input @payment_product1503_specific_input end |
#payment_product1504_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1504SpecificInput
Returns the current value of payment_product1504_specific_input.
26 27 28 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 26 def payment_product1504_specific_input @payment_product1504_specific_input end |
#payment_product1521_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1521SpecificInput
Returns the current value of payment_product1521_specific_input.
26 27 28 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 26 def payment_product1521_specific_input @payment_product1521_specific_input end |
#payment_product1522_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1522SpecificInput
Returns the current value of payment_product1522_specific_input.
26 27 28 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 26 def payment_product1522_specific_input @payment_product1522_specific_input end |
#payment_product1523_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1523SpecificInput
Returns the current value of payment_product1523_specific_input.
26 27 28 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 26 def payment_product1523_specific_input @payment_product1523_specific_input end |
#payment_product1524_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1524SpecificInput
Returns the current value of payment_product1524_specific_input.
26 27 28 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 26 def payment_product1524_specific_input @payment_product1524_specific_input end |
#payment_product1526_specific_input ⇒ Worldline::Connect::SDK::V1::Domain::CashPaymentProduct1526SpecificInput
Returns the current value of payment_product1526_specific_input.
26 27 28 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 26 def payment_product1526_specific_input @payment_product1526_specific_input end |
Instance Method Details
#from_hash(hash) ⇒ Object
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 56 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? '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
44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb', line 44 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['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 |