Class: Io::Flow::V0::Models::PayoutStatusScheduled
- Inherits:
-
PayoutStatus
- Object
- PayoutStatus
- Io::Flow::V0::Models::PayoutStatusScheduled
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#placeholder ⇒ Object
readonly
Returns the value of attribute placeholder.
Attributes inherited from PayoutStatus
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ PayoutStatusScheduled
constructor
A new instance of PayoutStatusScheduled.
- #subtype_to_hash ⇒ Object
- #to_json ⇒ Object
Methods inherited from PayoutStatus
Constructor Details
#initialize(incoming = {}) ⇒ PayoutStatusScheduled
Returns a new instance of PayoutStatusScheduled.
59247 59248 59249 59250 59251 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 59247 def initialize(incoming={}) super(:code => PayoutStatus::Types::PAYOUT_STATUS_SCHEDULED) opts = HttpClient::Helper.symbolize_keys(incoming) @placeholder = (x = opts.delete(:placeholder); x.nil? ? nil : HttpClient::Preconditions.assert_class('placeholder', x, String)) end |
Instance Attribute Details
#placeholder ⇒ Object (readonly)
Returns the value of attribute placeholder.
59245 59246 59247 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 59245 def placeholder @placeholder end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
59257 59258 59259 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 59257 def copy(incoming={}) PayoutStatusScheduled.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end |
#subtype_to_hash ⇒ Object
59261 59262 59263 59264 59265 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 59261 def subtype_to_hash { :placeholder => placeholder } end |
#to_json ⇒ Object
59253 59254 59255 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 59253 def to_json JSON.dump(to_hash) end |