Documentation ¶
Index ¶
- func NewConnector() (*sdk.ConnectorPlugin, error)
- type AdjustInventoryLevelOperation
- type CancelOrderOperation
- type CloseOrderOperation
- type CreateCollectOperation
- type CreateCustomerOperation
- type CreateDraftOrderOperation
- type CreateOrderOperation
- type CreateProductOperation
- type CreateTransactionOperation
- type GetCustomerOperation
- type GetCustomerOrdersOperation
- type GetLocationsOperation
- type GetOrderOperation
- type GetProductOperation
- type GetProductVariantOperation
- type GetTransactionOperation
- type GetTransactionsOperation
- type ListCustomersOperation
- type ListDraftOrdersOperation
- type ListOrdersOperation
- type ListProductsOperation
- type TriggerNewCustomer
- func (t *TriggerNewCustomer) GetInfo() *sdk.TriggerInfo
- func (t *TriggerNewCustomer) OnDisabled(ctx *sdk.RunContext) error
- func (t *TriggerNewCustomer) OnEnabled(ctx *sdk.RunContext) error
- func (t *TriggerNewCustomer) Run(ctx *sdk.RunContext) (sdk.JSON, error)
- func (t *TriggerNewCustomer) Test(ctx *sdk.RunContext) (sdk.JSON, error)
- type TriggerNewOrder
- func (t *TriggerNewOrder) GetInfo() *sdk.TriggerInfo
- func (t *TriggerNewOrder) OnDisabled(ctx *sdk.RunContext) error
- func (t *TriggerNewOrder) OnEnabled(ctx *sdk.RunContext) error
- func (t *TriggerNewOrder) Run(ctx *sdk.RunContext) (sdk.JSON, error)
- func (t *TriggerNewOrder) Test(ctx *sdk.RunContext) (sdk.JSON, error)
- type UpdateCustomerOperation
- type UpdateOrderOperation
- type UpdateProductOperation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
func NewConnector() (*sdk.ConnectorPlugin, error)
Types ¶
type AdjustInventoryLevelOperation ¶ added in v0.2.0
type AdjustInventoryLevelOperation struct {
// contains filtered or unexported fields
}
func NewAdjustInventoryLevelOperation ¶ added in v0.2.0
func NewAdjustInventoryLevelOperation() *AdjustInventoryLevelOperation
func (*AdjustInventoryLevelOperation) GetInfo ¶ added in v0.2.0
func (c *AdjustInventoryLevelOperation) GetInfo() *sdk.OperationInfo
func (*AdjustInventoryLevelOperation) Run ¶ added in v0.2.0
func (c *AdjustInventoryLevelOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*AdjustInventoryLevelOperation) Test ¶ added in v0.2.0
func (c *AdjustInventoryLevelOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CancelOrderOperation ¶ added in v0.2.0
type CancelOrderOperation struct {
// contains filtered or unexported fields
}
func NewCancelOrderOperation ¶ added in v0.2.0
func NewCancelOrderOperation() *CancelOrderOperation
func (*CancelOrderOperation) GetInfo ¶ added in v0.2.0
func (c *CancelOrderOperation) GetInfo() *sdk.OperationInfo
func (*CancelOrderOperation) Run ¶ added in v0.2.0
func (c *CancelOrderOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CancelOrderOperation) Test ¶ added in v0.2.0
func (c *CancelOrderOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CloseOrderOperation ¶ added in v0.2.0
type CloseOrderOperation struct {
// contains filtered or unexported fields
}
func NewCloseOrderOperation ¶ added in v0.2.0
func NewCloseOrderOperation() *CloseOrderOperation
func (*CloseOrderOperation) GetInfo ¶ added in v0.2.0
func (c *CloseOrderOperation) GetInfo() *sdk.OperationInfo
func (*CloseOrderOperation) Run ¶ added in v0.2.0
func (c *CloseOrderOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CloseOrderOperation) Test ¶ added in v0.2.0
func (c *CloseOrderOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CreateCollectOperation ¶ added in v0.2.0
type CreateCollectOperation struct {
// contains filtered or unexported fields
}
func NewCreateCollectOperation ¶ added in v0.2.0
func NewCreateCollectOperation() *CreateCollectOperation
func (*CreateCollectOperation) GetInfo ¶ added in v0.2.0
func (c *CreateCollectOperation) GetInfo() *sdk.OperationInfo
func (*CreateCollectOperation) Run ¶ added in v0.2.0
func (c *CreateCollectOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateCollectOperation) Test ¶ added in v0.2.0
func (c *CreateCollectOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CreateCustomerOperation ¶ added in v0.2.0
type CreateCustomerOperation struct {
// contains filtered or unexported fields
}
func NewCreateCustomerOperation ¶ added in v0.2.0
func NewCreateCustomerOperation() *CreateCustomerOperation
func (*CreateCustomerOperation) GetInfo ¶ added in v0.2.0
func (c *CreateCustomerOperation) GetInfo() *sdk.OperationInfo
func (*CreateCustomerOperation) Run ¶ added in v0.2.0
func (c *CreateCustomerOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateCustomerOperation) Test ¶ added in v0.2.0
func (c *CreateCustomerOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CreateDraftOrderOperation ¶ added in v0.2.0
type CreateDraftOrderOperation struct {
// contains filtered or unexported fields
}
func NewCreateDraftOrderOperation ¶ added in v0.2.0
func NewCreateDraftOrderOperation() *CreateDraftOrderOperation
func (*CreateDraftOrderOperation) GetInfo ¶ added in v0.2.0
func (c *CreateDraftOrderOperation) GetInfo() *sdk.OperationInfo
func (*CreateDraftOrderOperation) Run ¶ added in v0.2.0
func (c *CreateDraftOrderOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateDraftOrderOperation) Test ¶ added in v0.2.0
func (c *CreateDraftOrderOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CreateOrderOperation ¶ added in v0.2.0
type CreateOrderOperation struct {
// contains filtered or unexported fields
}
func NewCreateOrderOperation ¶ added in v0.2.0
func NewCreateOrderOperation() *CreateOrderOperation
func (*CreateOrderOperation) GetInfo ¶ added in v0.2.0
func (c *CreateOrderOperation) GetInfo() *sdk.OperationInfo
func (*CreateOrderOperation) Run ¶ added in v0.2.0
func (c *CreateOrderOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateOrderOperation) Test ¶ added in v0.2.0
func (c *CreateOrderOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CreateProductOperation ¶ added in v0.2.0
type CreateProductOperation struct {
// contains filtered or unexported fields
}
func NewCreateProductOperation ¶ added in v0.2.0
func NewCreateProductOperation() *CreateProductOperation
func (*CreateProductOperation) GetInfo ¶ added in v0.2.0
func (c *CreateProductOperation) GetInfo() *sdk.OperationInfo
func (*CreateProductOperation) Run ¶ added in v0.2.0
func (c *CreateProductOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateProductOperation) Test ¶ added in v0.2.0
func (c *CreateProductOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CreateTransactionOperation ¶ added in v0.2.0
type CreateTransactionOperation struct {
// contains filtered or unexported fields
}
func NewCreateTransactionOperation ¶ added in v0.2.0
func NewCreateTransactionOperation() *CreateTransactionOperation
func (*CreateTransactionOperation) GetInfo ¶ added in v0.2.0
func (c *CreateTransactionOperation) GetInfo() *sdk.OperationInfo
func (*CreateTransactionOperation) Run ¶ added in v0.2.0
func (c *CreateTransactionOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateTransactionOperation) Test ¶ added in v0.2.0
func (c *CreateTransactionOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetCustomerOperation ¶ added in v0.2.0
type GetCustomerOperation struct {
// contains filtered or unexported fields
}
func NewGetCustomerOperation ¶ added in v0.2.0
func NewGetCustomerOperation() *GetCustomerOperation
func (*GetCustomerOperation) GetInfo ¶ added in v0.2.0
func (c *GetCustomerOperation) GetInfo() *sdk.OperationInfo
func (*GetCustomerOperation) Run ¶ added in v0.2.0
func (c *GetCustomerOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetCustomerOperation) Test ¶ added in v0.2.0
func (c *GetCustomerOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetCustomerOrdersOperation ¶ added in v0.2.0
type GetCustomerOrdersOperation struct {
// contains filtered or unexported fields
}
func NewGetCustomerOrdersOperation ¶ added in v0.2.0
func NewGetCustomerOrdersOperation() *GetCustomerOrdersOperation
func (*GetCustomerOrdersOperation) GetInfo ¶ added in v0.2.0
func (c *GetCustomerOrdersOperation) GetInfo() *sdk.OperationInfo
func (*GetCustomerOrdersOperation) Run ¶ added in v0.2.0
func (c *GetCustomerOrdersOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetCustomerOrdersOperation) Test ¶ added in v0.2.0
func (c *GetCustomerOrdersOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetLocationsOperation ¶ added in v0.2.0
type GetLocationsOperation struct {
// contains filtered or unexported fields
}
func NewGetLocationsOperation ¶ added in v0.2.0
func NewGetLocationsOperation() *GetLocationsOperation
func (*GetLocationsOperation) GetInfo ¶ added in v0.2.0
func (c *GetLocationsOperation) GetInfo() *sdk.OperationInfo
func (*GetLocationsOperation) Run ¶ added in v0.2.0
func (c *GetLocationsOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetLocationsOperation) Test ¶ added in v0.2.0
func (c *GetLocationsOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetOrderOperation ¶ added in v0.2.0
type GetOrderOperation struct {
// contains filtered or unexported fields
}
func NewGetOrderOperation ¶ added in v0.2.0
func NewGetOrderOperation() *GetOrderOperation
func (*GetOrderOperation) GetInfo ¶ added in v0.2.0
func (c *GetOrderOperation) GetInfo() *sdk.OperationInfo
func (*GetOrderOperation) Run ¶ added in v0.2.0
func (c *GetOrderOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetOrderOperation) Test ¶ added in v0.2.0
func (c *GetOrderOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetProductOperation ¶ added in v0.2.0
type GetProductOperation struct {
// contains filtered or unexported fields
}
func NewGetProductOperation ¶ added in v0.2.0
func NewGetProductOperation() *GetProductOperation
func (*GetProductOperation) GetInfo ¶ added in v0.2.0
func (c *GetProductOperation) GetInfo() *sdk.OperationInfo
func (*GetProductOperation) Run ¶ added in v0.2.0
func (c *GetProductOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetProductOperation) Test ¶ added in v0.2.0
func (c *GetProductOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetProductVariantOperation ¶ added in v0.2.0
type GetProductVariantOperation struct {
// contains filtered or unexported fields
}
func NewGetProductVariantOperation ¶ added in v0.2.0
func NewGetProductVariantOperation() *GetProductVariantOperation
func (*GetProductVariantOperation) GetInfo ¶ added in v0.2.0
func (c *GetProductVariantOperation) GetInfo() *sdk.OperationInfo
func (*GetProductVariantOperation) Run ¶ added in v0.2.0
func (c *GetProductVariantOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetProductVariantOperation) Test ¶ added in v0.2.0
func (c *GetProductVariantOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetTransactionOperation ¶ added in v0.2.0
type GetTransactionOperation struct {
// contains filtered or unexported fields
}
func NewGetTransactionOperation ¶ added in v0.2.0
func NewGetTransactionOperation() *GetTransactionOperation
func (*GetTransactionOperation) GetInfo ¶ added in v0.2.0
func (c *GetTransactionOperation) GetInfo() *sdk.OperationInfo
func (*GetTransactionOperation) Run ¶ added in v0.2.0
func (c *GetTransactionOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetTransactionOperation) Test ¶ added in v0.2.0
func (c *GetTransactionOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetTransactionsOperation ¶ added in v0.2.0
type GetTransactionsOperation struct {
// contains filtered or unexported fields
}
func NewGetTransactionsOperation ¶ added in v0.2.0
func NewGetTransactionsOperation() *GetTransactionsOperation
func (*GetTransactionsOperation) GetInfo ¶ added in v0.2.0
func (c *GetTransactionsOperation) GetInfo() *sdk.OperationInfo
func (*GetTransactionsOperation) Run ¶ added in v0.2.0
func (c *GetTransactionsOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetTransactionsOperation) Test ¶ added in v0.2.0
func (c *GetTransactionsOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ListCustomersOperation ¶ added in v0.2.0
type ListCustomersOperation struct {
// contains filtered or unexported fields
}
func NewListCustomersOperation ¶ added in v0.2.0
func NewListCustomersOperation() *ListCustomersOperation
func (*ListCustomersOperation) GetInfo ¶ added in v0.2.0
func (c *ListCustomersOperation) GetInfo() *sdk.OperationInfo
func (*ListCustomersOperation) Run ¶ added in v0.2.0
func (c *ListCustomersOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*ListCustomersOperation) Test ¶ added in v0.2.0
func (c *ListCustomersOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ListDraftOrdersOperation ¶ added in v0.2.0
type ListDraftOrdersOperation struct {
// contains filtered or unexported fields
}
func NewListDraftOrdersOperation ¶ added in v0.2.0
func NewListDraftOrdersOperation() *ListDraftOrdersOperation
func (*ListDraftOrdersOperation) GetInfo ¶ added in v0.2.0
func (c *ListDraftOrdersOperation) GetInfo() *sdk.OperationInfo
func (*ListDraftOrdersOperation) Run ¶ added in v0.2.0
func (c *ListDraftOrdersOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*ListDraftOrdersOperation) Test ¶ added in v0.2.0
func (c *ListDraftOrdersOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ListOrdersOperation ¶ added in v0.2.0
type ListOrdersOperation struct {
// contains filtered or unexported fields
}
func NewListOrdersOperation ¶ added in v0.2.0
func NewListOrdersOperation() *ListOrdersOperation
func (*ListOrdersOperation) GetInfo ¶ added in v0.2.0
func (c *ListOrdersOperation) GetInfo() *sdk.OperationInfo
func (*ListOrdersOperation) Run ¶ added in v0.2.0
func (c *ListOrdersOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*ListOrdersOperation) Test ¶ added in v0.2.0
func (c *ListOrdersOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ListProductsOperation ¶
type ListProductsOperation struct {
// contains filtered or unexported fields
}
func NewListProductsOperation ¶
func NewListProductsOperation() *ListProductsOperation
func (*ListProductsOperation) GetInfo ¶
func (c *ListProductsOperation) GetInfo() *sdk.OperationInfo
func (*ListProductsOperation) Run ¶
func (c *ListProductsOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*ListProductsOperation) Test ¶
func (c *ListProductsOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type TriggerNewCustomer ¶ added in v0.2.0
type TriggerNewCustomer struct {
// contains filtered or unexported fields
}
func NewTriggerNewCustomer ¶ added in v0.2.0
func NewTriggerNewCustomer() *TriggerNewCustomer
func (*TriggerNewCustomer) GetInfo ¶ added in v0.2.0
func (t *TriggerNewCustomer) GetInfo() *sdk.TriggerInfo
func (*TriggerNewCustomer) OnDisabled ¶ added in v0.2.0
func (t *TriggerNewCustomer) OnDisabled(ctx *sdk.RunContext) error
func (*TriggerNewCustomer) OnEnabled ¶ added in v0.2.0
func (t *TriggerNewCustomer) OnEnabled(ctx *sdk.RunContext) error
func (*TriggerNewCustomer) Run ¶ added in v0.2.0
func (t *TriggerNewCustomer) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*TriggerNewCustomer) Test ¶ added in v0.2.0
func (t *TriggerNewCustomer) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type TriggerNewOrder ¶ added in v0.2.0
type TriggerNewOrder struct {
// contains filtered or unexported fields
}
func NewTriggerNewOrder ¶ added in v0.2.0
func NewTriggerNewOrder() *TriggerNewOrder
func (*TriggerNewOrder) GetInfo ¶ added in v0.2.0
func (t *TriggerNewOrder) GetInfo() *sdk.TriggerInfo
func (*TriggerNewOrder) OnDisabled ¶ added in v0.2.0
func (t *TriggerNewOrder) OnDisabled(ctx *sdk.RunContext) error
func (*TriggerNewOrder) OnEnabled ¶ added in v0.2.0
func (t *TriggerNewOrder) OnEnabled(ctx *sdk.RunContext) error
func (*TriggerNewOrder) Run ¶ added in v0.2.0
func (t *TriggerNewOrder) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*TriggerNewOrder) Test ¶ added in v0.2.0
func (t *TriggerNewOrder) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type UpdateCustomerOperation ¶ added in v0.2.0
type UpdateCustomerOperation struct {
// contains filtered or unexported fields
}
func NewUpdateCustomerOperation ¶ added in v0.2.0
func NewUpdateCustomerOperation() *UpdateCustomerOperation
func (*UpdateCustomerOperation) GetInfo ¶ added in v0.2.0
func (c *UpdateCustomerOperation) GetInfo() *sdk.OperationInfo
func (*UpdateCustomerOperation) Run ¶ added in v0.2.0
func (c *UpdateCustomerOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*UpdateCustomerOperation) Test ¶ added in v0.2.0
func (c *UpdateCustomerOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type UpdateOrderOperation ¶ added in v0.2.0
type UpdateOrderOperation struct {
// contains filtered or unexported fields
}
func NewUpdateOrderOperation ¶ added in v0.2.0
func NewUpdateOrderOperation() *UpdateOrderOperation
func (*UpdateOrderOperation) GetInfo ¶ added in v0.2.0
func (c *UpdateOrderOperation) GetInfo() *sdk.OperationInfo
func (*UpdateOrderOperation) Run ¶ added in v0.2.0
func (c *UpdateOrderOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*UpdateOrderOperation) Test ¶ added in v0.2.0
func (c *UpdateOrderOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type UpdateProductOperation ¶ added in v0.2.0
type UpdateProductOperation struct {
// contains filtered or unexported fields
}
func NewUpdateProductOperation ¶ added in v0.2.0
func NewUpdateProductOperation() *UpdateProductOperation
func (*UpdateProductOperation) GetInfo ¶ added in v0.2.0
func (c *UpdateProductOperation) GetInfo() *sdk.OperationInfo
func (*UpdateProductOperation) Run ¶ added in v0.2.0
func (c *UpdateProductOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*UpdateProductOperation) Test ¶ added in v0.2.0
func (c *UpdateProductOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
Source Files ¶
- lib.go
- operation_adjust_inventory_level.go
- operation_cancel_order.go
- operation_close_order.go
- operation_create_collect.go
- operation_create_customer.go
- operation_create_draft_order.go
- operation_create_order.go
- operation_create_product.go
- operation_create_transaction.go
- operation_get_customer.go
- operation_get_customer_orders.go
- operation_get_locations.go
- operation_get_order.go
- operation_get_product.go
- operation_get_product_variant.go
- operation_get_transaction.go
- operation_get_transactions.go
- operation_list_customers.go
- operation_list_draft_orders.go
- operation_list_orders.go
- operation_list_product.go
- operation_update_customer.go
- operation_update_order.go
- operation_update_product.go
- shared.go
- trigger_new_customer.go
- trigger_new_order.go
Click to show internal directories.
Click to hide internal directories.