Documentation ¶
Index ¶
- func NewConnector() (*sdk.ConnectorPlugin, error)
- func NewCreateInvoiceOperation() sdk.IOperation
- func NewEmailInvoiceOperation() sdk.IOperation
- func NewGetInvoiceListOperation() sdk.IOperation
- func NewGetInvoiceOperation() sdk.IOperation
- type Address
- type Contact
- type CreateInvoiceOperation
- type EmailInvoiceOperation
- type GetInvoiceListOperation
- type GetInvoiceOperation
- type Invoice
- type InvoicesResponse
- type Item
- type LineItem
- type Payment
- type Phone
- type Tenant
- type TenantsResponse
- type Tracking
- type TriggerNewInvoice
- func (t *TriggerNewInvoice) GetInfo() *sdk.TriggerInfo
- func (t *TriggerNewInvoice) OnDisabled(ctx *sdk.RunContext) error
- func (t *TriggerNewInvoice) OnEnabled(ctx *sdk.RunContext) error
- func (t *TriggerNewInvoice) Run(ctx *sdk.RunContext) (sdk.JSON, error)
- func (t *TriggerNewInvoice) Test(ctx *sdk.RunContext) (sdk.JSON, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
func NewConnector() (*sdk.ConnectorPlugin, error)
func NewCreateInvoiceOperation ¶
func NewCreateInvoiceOperation() sdk.IOperation
func NewEmailInvoiceOperation ¶
func NewEmailInvoiceOperation() sdk.IOperation
func NewGetInvoiceListOperation ¶
func NewGetInvoiceListOperation() sdk.IOperation
func NewGetInvoiceOperation ¶
func NewGetInvoiceOperation() sdk.IOperation
Types ¶
type Contact ¶ added in v0.5.2
type Contact struct { ContactID string `json:"ContactID"` ContactStatus string `json:"ContactStatus"` Name string `json:"Name"` Addresses []Address `json:"Addresses"` Phones []Phone `json:"Phones"` UpdatedDateUTC string `json:"UpdatedDateUTC"` IsSupplier string `json:"IsSupplier"` IsCustomer string `json:"IsCustomer"` }
type CreateInvoiceOperation ¶
type CreateInvoiceOperation struct {
// contains filtered or unexported fields
}
func (*CreateInvoiceOperation) GetInfo ¶
func (c *CreateInvoiceOperation) GetInfo() *sdk.OperationInfo
func (*CreateInvoiceOperation) Run ¶
func (c *CreateInvoiceOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateInvoiceOperation) Test ¶
func (c *CreateInvoiceOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type EmailInvoiceOperation ¶
type EmailInvoiceOperation struct {
// contains filtered or unexported fields
}
func (*EmailInvoiceOperation) GetInfo ¶
func (c *EmailInvoiceOperation) GetInfo() *sdk.OperationInfo
func (*EmailInvoiceOperation) Run ¶
func (c *EmailInvoiceOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*EmailInvoiceOperation) Test ¶
func (c *EmailInvoiceOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetInvoiceListOperation ¶
type GetInvoiceListOperation struct {
// contains filtered or unexported fields
}
func (*GetInvoiceListOperation) GetInfo ¶
func (c *GetInvoiceListOperation) GetInfo() *sdk.OperationInfo
func (*GetInvoiceListOperation) Run ¶
func (c *GetInvoiceListOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetInvoiceListOperation) Test ¶
func (c *GetInvoiceListOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetInvoiceOperation ¶
type GetInvoiceOperation struct {
// contains filtered or unexported fields
}
func (*GetInvoiceOperation) GetInfo ¶
func (c *GetInvoiceOperation) GetInfo() *sdk.OperationInfo
func (*GetInvoiceOperation) Run ¶
func (c *GetInvoiceOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetInvoiceOperation) Test ¶
func (c *GetInvoiceOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type InvoicesResponse ¶ added in v0.5.2
type InvoicesResponse struct {
Invoices []Invoice `json:"Invoices"`
}
type LineItem ¶ added in v0.5.2
type LineItem struct { ItemCode string `json:"ItemCode"` Description string `json:"Description"` Quantity string `json:"Quantity"` UnitAmount string `json:"UnitAmount"` TaxType string `json:"TaxType"` TaxAmount string `json:"TaxAmount"` LineAmount string `json:"LineAmount"` AccountCode string `json:"AccountCode"` AccountID string `json:"AccountId"` Item Item `json:"Item"` Tracking []Tracking `json:"Tracking"` LineItemID string `json:"LineItemID"` }
type Tenant ¶ added in v0.5.2
type Tenant struct { ID string `json:"id"` AuthEventID string `json:"authEventId"` TenantID string `json:"tenantId"` TenantType string `json:"tenantType"` TenantName *string `json:"tenantName"` // Using a pointer to handle null values CreatedDateUtc string `json:"createdDateUtc"` UpdatedDateUtc string `json:"updatedDateUtc"` }
type TenantsResponse ¶ added in v0.5.2
type TenantsResponse []Tenant
type TriggerNewInvoice ¶
type TriggerNewInvoice struct {
// contains filtered or unexported fields
}
func NewTriggerNewInvoice ¶
func NewTriggerNewInvoice() *TriggerNewInvoice
func (*TriggerNewInvoice) GetInfo ¶
func (t *TriggerNewInvoice) GetInfo() *sdk.TriggerInfo
func (*TriggerNewInvoice) OnDisabled ¶
func (t *TriggerNewInvoice) OnDisabled(ctx *sdk.RunContext) error
func (*TriggerNewInvoice) OnEnabled ¶
func (t *TriggerNewInvoice) OnEnabled(ctx *sdk.RunContext) error
func (*TriggerNewInvoice) Run ¶
func (t *TriggerNewInvoice) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*TriggerNewInvoice) Test ¶
func (t *TriggerNewInvoice) Test(ctx *sdk.RunContext) (sdk.JSON, error)
Click to show internal directories.
Click to hide internal directories.