class Io::Flow::V0::Models::ShopifyMerchantApplicationPutForm
Attributes
status[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::MerchantApplicationPutForm::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 68076 def initialize(incoming={}) super(:discriminator => MerchantApplicationPutForm::Types::SHOPIFY_MERCHANT_APPLICATION_PUT_FORM) opts = HttpClient::Helper.symbolize_keys(incoming) @status = (x = opts.delete(:status); x.nil? ? nil : (x = x; x.is_a?(::Io::Flow::V0::Models::OnboardingApplicationStatus) ? x : ::Io::Flow::V0::Models::OnboardingApplicationStatus.apply(x))) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 68086 def copy(incoming={}) ShopifyMerchantApplicationPutForm.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 68090 def subtype_to_hash { :status => status.nil? ? nil : status.value } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 68082 def to_json JSON.dump(to_hash) end