class Io::Flow::V0::Models::SetupCompleted
The onboarding setup is completed and the organization is ready to process order.
Attributes
third_party_logistics_guid[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::OnboardingState::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 65792 def initialize(incoming={}) super(:discriminator => OnboardingState::Types::SETUP_COMPLETED) opts = HttpClient::Helper.symbolize_keys(incoming) @third_party_logistics_guid = (x = opts.delete(:third_party_logistics_guid); x.nil? ? nil : HttpClient::Preconditions.assert_class('third_party_logistics_guid', x, String)) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 65802 def copy(incoming={}) SetupCompleted.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end
subtype_to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 65806 def subtype_to_hash { :third_party_logistics_guid => third_party_logistics_guid } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 65798 def to_json JSON.dump(to_hash) end