Class: Io::Flow::V0::Models::InComplianceReview
- Inherits:
-
OnboardingState
- Object
- OnboardingState
- Io::Flow::V0::Models::InComplianceReview
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Overview
The merchant is under review
Instance Attribute Summary collapse
-
#placeholder ⇒ Object
readonly
Returns the value of attribute placeholder.
Attributes inherited from OnboardingState
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ InComplianceReview
constructor
A new instance of InComplianceReview.
- #subtype_to_hash ⇒ Object
- #to_json ⇒ Object
Methods inherited from OnboardingState
Constructor Details
#initialize(incoming = {}) ⇒ InComplianceReview
Returns a new instance of InComplianceReview.
45732 45733 45734 45735 45736 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 45732 def initialize(incoming={}) super(:discriminator => OnboardingState::Types::IN_COMPLIANCE_REVIEW) opts = HttpClient::Helper.symbolize_keys(incoming) @placeholder = (x = opts.delete(:placeholder); x.nil? ? nil : HttpClient::Preconditions.assert_boolean('placeholder', x)) end |
Instance Attribute Details
#placeholder ⇒ Object (readonly)
Returns the value of attribute placeholder.
45730 45731 45732 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 45730 def placeholder @placeholder end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
45742 45743 45744 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 45742 def copy(incoming={}) InComplianceReview.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end |
#subtype_to_hash ⇒ Object
45746 45747 45748 45749 45750 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 45746 def subtype_to_hash { :placeholder => placeholder } end |
#to_json ⇒ Object
45738 45739 45740 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 45738 def to_json JSON.dump(to_hash) end |