databoxedgeorder

package
v0.0.0-...-c2cc54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contact

type Contact struct {
	// CompanyName: string, required
	CompanyName terra.StringValue `hcl:"company_name,attr" validate:"required"`
	// Emails: set of string, required
	Emails terra.SetValue[terra.StringValue] `hcl:"emails,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PhoneNumber: string, required
	PhoneNumber terra.StringValue `hcl:"phone_number,attr" validate:"required"`
}

type ContactAttributes

type ContactAttributes struct {
	// contains filtered or unexported fields
}

func (ContactAttributes) CompanyName

func (c ContactAttributes) CompanyName() terra.StringValue

func (ContactAttributes) Emails

func (ContactAttributes) InternalRef

func (c ContactAttributes) InternalRef() (terra.Reference, error)

func (ContactAttributes) InternalTokens

func (c ContactAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContactAttributes) InternalWithRef

func (c ContactAttributes) InternalWithRef(ref terra.Reference) ContactAttributes

func (ContactAttributes) Name

func (ContactAttributes) PhoneNumber

func (c ContactAttributes) PhoneNumber() terra.StringValue

type ContactState

type ContactState struct {
	CompanyName string   `json:"company_name"`
	Emails      []string `json:"emails"`
	Name        string   `json:"name"`
	PhoneNumber string   `json:"phone_number"`
}

type ReturnTracking

type ReturnTracking struct{}

type ReturnTrackingAttributes

type ReturnTrackingAttributes struct {
	// contains filtered or unexported fields
}

func (ReturnTrackingAttributes) CarrierName

func (rt ReturnTrackingAttributes) CarrierName() terra.StringValue

func (ReturnTrackingAttributes) InternalRef

func (rt ReturnTrackingAttributes) InternalRef() (terra.Reference, error)

func (ReturnTrackingAttributes) InternalTokens

func (rt ReturnTrackingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReturnTrackingAttributes) InternalWithRef

func (ReturnTrackingAttributes) SerialNumber

func (rt ReturnTrackingAttributes) SerialNumber() terra.StringValue

func (ReturnTrackingAttributes) TrackingId

func (rt ReturnTrackingAttributes) TrackingId() terra.StringValue

func (ReturnTrackingAttributes) TrackingUrl

func (rt ReturnTrackingAttributes) TrackingUrl() terra.StringValue

type ReturnTrackingState

type ReturnTrackingState struct {
	CarrierName  string `json:"carrier_name"`
	SerialNumber string `json:"serial_number"`
	TrackingId   string `json:"tracking_id"`
	TrackingUrl  string `json:"tracking_url"`
}

type ShipmentAddress

type ShipmentAddress struct {
	// Address: list of string, required
	Address terra.ListValue[terra.StringValue] `hcl:"address,attr" validate:"required"`
	// City: string, required
	City terra.StringValue `hcl:"city,attr" validate:"required"`
	// Country: string, required
	Country terra.StringValue `hcl:"country,attr" validate:"required"`
	// PostalCode: string, required
	PostalCode terra.StringValue `hcl:"postal_code,attr" validate:"required"`
	// State: string, required
	State terra.StringValue `hcl:"state,attr" validate:"required"`
}

type ShipmentAddressAttributes

type ShipmentAddressAttributes struct {
	// contains filtered or unexported fields
}

func (ShipmentAddressAttributes) Address

func (ShipmentAddressAttributes) City

func (ShipmentAddressAttributes) Country

func (ShipmentAddressAttributes) InternalRef

func (sa ShipmentAddressAttributes) InternalRef() (terra.Reference, error)

func (ShipmentAddressAttributes) InternalTokens

func (sa ShipmentAddressAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ShipmentAddressAttributes) InternalWithRef

func (ShipmentAddressAttributes) PostalCode

func (ShipmentAddressAttributes) State

type ShipmentAddressState

type ShipmentAddressState struct {
	Address    []string `json:"address"`
	City       string   `json:"city"`
	Country    string   `json:"country"`
	PostalCode string   `json:"postal_code"`
	State      string   `json:"state"`
}

type ShipmentHistory

type ShipmentHistory struct{}

type ShipmentHistoryAttributes

type ShipmentHistoryAttributes struct {
	// contains filtered or unexported fields
}

func (ShipmentHistoryAttributes) AdditionalDetails

func (sh ShipmentHistoryAttributes) AdditionalDetails() terra.MapValue[terra.StringValue]

func (ShipmentHistoryAttributes) Comments

func (ShipmentHistoryAttributes) InternalRef

func (sh ShipmentHistoryAttributes) InternalRef() (terra.Reference, error)

func (ShipmentHistoryAttributes) InternalTokens

func (sh ShipmentHistoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ShipmentHistoryAttributes) InternalWithRef

func (ShipmentHistoryAttributes) LastUpdate

type ShipmentHistoryState

type ShipmentHistoryState struct {
	AdditionalDetails map[string]string `json:"additional_details"`
	Comments          string            `json:"comments"`
	LastUpdate        string            `json:"last_update"`
}

type ShipmentTracking

type ShipmentTracking struct{}

type ShipmentTrackingAttributes

type ShipmentTrackingAttributes struct {
	// contains filtered or unexported fields
}

func (ShipmentTrackingAttributes) CarrierName

func (st ShipmentTrackingAttributes) CarrierName() terra.StringValue

func (ShipmentTrackingAttributes) InternalRef

func (st ShipmentTrackingAttributes) InternalRef() (terra.Reference, error)

func (ShipmentTrackingAttributes) InternalTokens

func (st ShipmentTrackingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ShipmentTrackingAttributes) InternalWithRef

func (ShipmentTrackingAttributes) SerialNumber

func (st ShipmentTrackingAttributes) SerialNumber() terra.StringValue

func (ShipmentTrackingAttributes) TrackingId

func (ShipmentTrackingAttributes) TrackingUrl

func (st ShipmentTrackingAttributes) TrackingUrl() terra.StringValue

type ShipmentTrackingState

type ShipmentTrackingState struct {
	CarrierName  string `json:"carrier_name"`
	SerialNumber string `json:"serial_number"`
	TrackingId   string `json:"tracking_id"`
	TrackingUrl  string `json:"tracking_url"`
}

type Status

type Status struct{}

type StatusAttributes

type StatusAttributes struct {
	// contains filtered or unexported fields
}

func (StatusAttributes) AdditionalDetails

func (s StatusAttributes) AdditionalDetails() terra.MapValue[terra.StringValue]

func (StatusAttributes) Comments

func (s StatusAttributes) Comments() terra.StringValue

func (StatusAttributes) Info

func (StatusAttributes) InternalRef

func (s StatusAttributes) InternalRef() (terra.Reference, error)

func (StatusAttributes) InternalTokens

func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatusAttributes) InternalWithRef

func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes

func (StatusAttributes) LastUpdate

func (s StatusAttributes) LastUpdate() terra.StringValue

type StatusState

type StatusState struct {
	AdditionalDetails map[string]string `json:"additional_details"`
	Comments          string            `json:"comments"`
	Info              string            `json:"info"`
	LastUpdate        string            `json:"last_update"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL