Sha256: 9b7840a55a83e512eaaae65af89cf6e5e47d1aae6b05c10167902088f05d9d4f

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class CreateEcommerceProductRequest < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig


      field :unified_ecommerce_product_input, ::OpenApiSDK::Shared::UnifiedEcommerceProductInput, { 'request': { 'media_type': 'application/json' } }
      # The connection token
      field :x_connection_token, ::String, { 'header': { 'field_name': 'x-connection-token', 'style': 'simple', 'explode': false } }
      # Set to true to include data from the original Accounting software.
      field :remote_data, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'remote_data', 'style': 'form', 'explode': true } }


      sig { params(unified_ecommerce_product_input: ::OpenApiSDK::Shared::UnifiedEcommerceProductInput, x_connection_token: ::String, remote_data: T.nilable(T::Boolean)).void }
      def initialize(unified_ecommerce_product_input: nil, x_connection_token: nil, remote_data: nil)
        @unified_ecommerce_product_input = unified_ecommerce_product_input
        @x_connection_token = x_connection_token
        @remote_data = remote_data
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/operations/createecommerceproduct_request.rb
panora-0.2.4 lib/open_api_sdk/models/operations/createecommerceproduct_request.rb