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.
50964 50965 50966 50967 50968 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 50964 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.
50962 50963 50964 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 50962 def issuer @issuer end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
50974 50975 50976 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 50974 def copy(incoming={}) PaymentMethodDataInitIdeal.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end |
#subtype_to_hash ⇒ Object
50978 50979 50980 50981 50982 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 50978 def subtype_to_hash { :issuer => issuer } end |
#to_json ⇒ Object
50970 50971 50972 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 50970 def to_json JSON.dump(to_hash) end |