Class: Io::Flow::V0::Models::PaymentMethodDataInitIdeal
- Inherits:
-
PaymentMethodData
- Object
- PaymentMethodData
- Io::Flow::V0::Models::PaymentMethodDataInitIdeal
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#issuer ⇒ Object
readonly
Returns the value of attribute issuer.
Attributes inherited from PaymentMethodData
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ PaymentMethodDataInitIdeal
constructor
A new instance of PaymentMethodDataInitIdeal.
- #subtype_to_hash ⇒ Object
- #to_json ⇒ Object
Methods inherited from PaymentMethodData
Constructor Details
#initialize(incoming = {}) ⇒ PaymentMethodDataInitIdeal
Returns a new instance of PaymentMethodDataInitIdeal.
57499 57500 57501 57502 57503 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 57499 def initialize(incoming={}) super(:type => PaymentMethodData::Types::PAYMENT_METHOD_DATA_INIT_IDEAL) opts = HttpClient::Helper.symbolize_keys(incoming) @issuer = (x = opts.delete(:issuer); x.nil? ? nil : HttpClient::Preconditions.assert_class('issuer', x, String)) end |
Instance Attribute Details
#issuer ⇒ Object (readonly)
Returns the value of attribute issuer.
57497 57498 57499 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 57497 def issuer @issuer end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
57509 57510 57511 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 57509 def copy(incoming={}) PaymentMethodDataInitIdeal.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end |
#subtype_to_hash ⇒ Object
57513 57514 57515 57516 57517 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 57513 def subtype_to_hash { :issuer => issuer } end |
#to_json ⇒ Object
57505 57506 57507 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 57505 def to_json JSON.dump(to_hash) end |