Documentation ¶
Index ¶
Constants ¶
View Source
const ( Product ReferenceType = "product" Category = "category" Stock = "stock" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct { NotificationType string `json:"notificationType"` ProjectKey string `json:"projectKey"` Resource struct { ID string `json:"id"` TypeID ReferenceType `json:"typeId"` } `json:"resource"` ResourceUserProvidedIdentifiers struct { Key *string `json:"key,omitempty"` ExternalId *string `json:"externalId,omitempty"` OrderNumber *string `json:"orderNumber,omitempty"` CustomerNumber *string `json:"customerNumber,omitempty"` Sku *string `json:"sku,omitempty"` } `json:"resourceUserProvidedIdentifiers,omitempty"` Version int `json:"version"` ModifiedAt time.Time `json:"modifiedAt"` }
type GcpReceiver ¶
type GcpReceiver struct {
// contains filtered or unexported fields
}
func (*GcpReceiver) ReceiveProductChanges ¶
func (g *GcpReceiver) ReceiveProductChanges(ctx context.Context, payloads chan<- *Payload) error
type ProductChangeReceiver ¶
type ReferenceType ¶
type ReferenceType string
Click to show internal directories.
Click to hide internal directories.