history

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Generated file, please do not change!!!

Index

Constants

View Source
const Version = "0.1.0"

Version identifies the current library version. Should match the git tag

Variables

This section is empty.

Functions

func GetUserAgent

func GetUserAgent() string

Types

type AddAddressChange

type AddAddressChange struct {
	// Update action for `setAddress` action.
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (AddAddressChange) MarshalJSON

func (obj AddAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddAssetChange

type AddAssetChange struct {
	// Update action for `addAsset`
	Change        string `json:"change"`
	NextValue     Asset  `json:"nextValue"`
	PreviousValue Asset  `json:"previousValue"`
}

func (AddAssetChange) MarshalJSON

func (obj AddAssetChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddAttributeDefinitionChange

type AddAttributeDefinitionChange struct {
	// Update action for `addAttributeDefinition` on product types
	Change    string              `json:"change"`
	NextValue AttributeDefinition `json:"nextValue"`
}

func (AddAttributeDefinitionChange) MarshalJSON

func (obj AddAttributeDefinitionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddBillingAddressIdChange

type AddBillingAddressIdChange struct {
	// Update action for `addBillingAddressId` action on customers.
	Change        string   `json:"change"`
	NextValue     []string `json:"nextValue"`
	PreviousValue []string `json:"previousValue"`
	Address       Address  `json:"address"`
}

func (AddBillingAddressIdChange) MarshalJSON

func (obj AddBillingAddressIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddChannelRolesChange

type AddChannelRolesChange struct {
	Change        string        `json:"change"`
	PreviousValue []ChannelRole `json:"previousValue"`
	NextValue     []ChannelRole `json:"nextValue"`
}

func (AddChannelRolesChange) MarshalJSON

func (obj AddChannelRolesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddCustomLineItemChange

type AddCustomLineItemChange struct {
	// Update action for adding and removing custom line items
	Change        string         `json:"change"`
	NextValue     CustomLineItem `json:"nextValue"`
	PreviousValue CustomLineItem `json:"previousValue"`
}

func (AddCustomLineItemChange) MarshalJSON

func (obj AddCustomLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddDeliveryChange

type AddDeliveryChange struct {
	// Update action for `addDelivery`
	Change        string              `json:"change"`
	NextValue     DeliveryChangeValue `json:"nextValue"`
	PreviousValue DeliveryChangeValue `json:"previousValue"`
}

func (AddDeliveryChange) MarshalJSON

func (obj AddDeliveryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddDiscountCodeChange

type AddDiscountCodeChange struct {
	// Update action for `addDiscountCode`
	Change    string           `json:"change"`
	NextValue DiscountCodeInfo `json:"nextValue"`
}

func (AddDiscountCodeChange) MarshalJSON

func (obj AddDiscountCodeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddEnumValueChange

type AddEnumValueChange struct {
	// Update action for `addEnumValue` on types
	Change string `json:"change"`
	// The name of the field/attribute definition updated.
	FieldName string    `json:"fieldName"`
	NextValue EnumValue `json:"nextValue"`
}

func (AddEnumValueChange) MarshalJSON

func (obj AddEnumValueChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddExternalImageChange

type AddExternalImageChange struct {
	// Update actions for adding an external image
	Change        string  `json:"change"`
	CatalogData   string  `json:"catalogData"`
	PreviousValue []Image `json:"previousValue"`
	NextValue     []Image `json:"nextValue"`
}

func (AddExternalImageChange) MarshalJSON

func (obj AddExternalImageChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddFieldDefinitionChange

type AddFieldDefinitionChange struct {
	// Update action for `addFieldDefinition` on payments
	Change    string          `json:"change"`
	NextValue FieldDefinition `json:"nextValue"`
}

func (AddFieldDefinitionChange) MarshalJSON

func (obj AddFieldDefinitionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddInterfaceInteractionChange

type AddInterfaceInteractionChange struct {
	// Update action for `addInterfaceInteraction` on payments
	Change string `json:"change"`
	// Only available if `expand` is set to true
	NextValue CustomFieldExpandedValue `json:"nextValue"`
}

func (AddInterfaceInteractionChange) MarshalJSON

func (obj AddInterfaceInteractionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddItemShippingAddressesChange

type AddItemShippingAddressesChange struct {
	// Update action for `addItemShippingAddress`
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (AddItemShippingAddressesChange) MarshalJSON

func (obj AddItemShippingAddressesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddLocalizedEnumValueChange

type AddLocalizedEnumValueChange struct {
	// Update action for `addLocalizedEnumValue` on types
	Change string `json:"change"`
	// The name of the field definition updated.
	FieldName string `json:"fieldName"`
	// The name of the attribute updated.
	AttributeName string             `json:"attributeName"`
	NextValue     LocalizedEnumValue `json:"nextValue"`
}

func (AddLocalizedEnumValueChange) MarshalJSON

func (obj AddLocalizedEnumValueChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddLocationChange

type AddLocationChange struct {
	// Update action for `addLocation` on zones
	Change string `json:"change"`
	// Shape of the value for `addLocation` and `removeLocation` actions
	PreviousValue Location `json:"previousValue"`
	// Shape of the value for `addLocation` and `removeLocation` actions
	NextValue Location `json:"nextValue"`
}

func (AddLocationChange) MarshalJSON

func (obj AddLocationChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddOrderLineItemChange

type AddOrderLineItemChange struct {
	Change        string   `json:"change"`
	PreviousValue LineItem `json:"previousValue"`
	NextValue     LineItem `json:"nextValue"`
}

func (AddOrderLineItemChange) MarshalJSON

func (obj AddOrderLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddParcelToDeliveryChange

type AddParcelToDeliveryChange struct {
	// Update action for `addParcelToDelivery`
	Change     string `json:"change"`
	DeliveryId string `json:"deliveryId"`
	NextValue  Parcel `json:"nextValue"`
}

func (AddParcelToDeliveryChange) MarshalJSON

func (obj AddParcelToDeliveryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddPaymentChange

type AddPaymentChange struct {
	// Update action for `addPayment` & `removePayment`
	Change        string      `json:"change"`
	NextValue     PaymentInfo `json:"nextValue"`
	PreviousValue PaymentInfo `json:"previousValue"`
}

func (AddPaymentChange) MarshalJSON

func (obj AddPaymentChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddPlainEnumValueChange

type AddPlainEnumValueChange struct {
	// Update action for `addPlainEnumValue` on product types
	Change string `json:"change"`
	// The name of the attribute updated.
	AttributeName string    `json:"attributeName"`
	NextValue     EnumValue `json:"nextValue"`
}

func (AddPlainEnumValueChange) MarshalJSON

func (obj AddPlainEnumValueChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddPriceChange

type AddPriceChange struct {
	// Update action for adding prices
	Change      string `json:"change"`
	CatalogData string `json:"catalogData"`
	PriceId     string `json:"priceId"`
	NextValue   Price  `json:"nextValue"`
}

func (AddPriceChange) MarshalJSON

func (obj AddPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddPropertyChange

type AddPropertyChange struct {
	// Update action for `addProperty` on custom objects
	Change string `json:"change"`
	// Value path to the property that was added
	Path      string      `json:"path"`
	NextValue interface{} `json:"nextValue"`
}

func (AddPropertyChange) MarshalJSON

func (obj AddPropertyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddReturnInfoChange

type AddReturnInfoChange struct {
	// Update action for `addReturnInfo`
	Change    string     `json:"change"`
	NextValue ReturnInfo `json:"nextValue"`
}

func (AddReturnInfoChange) MarshalJSON

func (obj AddReturnInfoChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddShippingAddressIdChange

type AddShippingAddressIdChange struct {
	// Update action for `addShippingAddressId` action on customers.
	Change        string   `json:"change"`
	NextValue     []string `json:"nextValue"`
	PreviousValue []string `json:"previousValue"`
	Address       Address  `json:"address"`
}

func (AddShippingAddressIdChange) MarshalJSON

func (obj AddShippingAddressIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddShoppingListLineItemChange

type AddShoppingListLineItemChange struct {
	Change        string   `json:"change"`
	PreviousValue LineItem `json:"previousValue"`
	NextValue     LineItem `json:"nextValue"`
}

func (AddShoppingListLineItemChange) MarshalJSON

func (obj AddShoppingListLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddStateRolesChange

type AddStateRolesChange struct {
	Change        string      `json:"change"`
	PreviousValue []StateRole `json:"previousValue"`
	NextValue     []StateRole `json:"nextValue"`
}

func (AddStateRolesChange) MarshalJSON

func (obj AddStateRolesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddTaxRateChange

type AddTaxRateChange struct {
	// Update action for `addTaxRate` on tax categories
	Change string `json:"change"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	NextValue TaxRate `json:"nextValue"`
}

func (AddTaxRateChange) MarshalJSON

func (obj AddTaxRateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddTextLineItemChange

type AddTextLineItemChange struct {
	Change    string       `json:"change"`
	NextValue TextLineItem `json:"nextValue"`
}

func (AddTextLineItemChange) MarshalJSON

func (obj AddTextLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddToCategoryChange

type AddToCategoryChange struct {
	// Update action for `addToCategory`
	Change        string      `json:"change"`
	Category      Reference   `json:"category"`
	PreviousValue []Reference `json:"previousValue"`
	NextValue     []Reference `json:"nextValue"`
}

func (AddToCategoryChange) MarshalJSON

func (obj AddToCategoryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddTransactionChange

type AddTransactionChange struct {
	// Update action for `addTransaction` on payments
	Change    string      `json:"change"`
	NextValue Transaction `json:"nextValue"`
}

func (AddTransactionChange) MarshalJSON

func (obj AddTransactionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type AddVariantChange

type AddVariantChange struct {
	// Update action for `addVariant`
	Change        string  `json:"change"`
	CatalogData   string  `json:"catalogData"`
	PreviousValue Variant `json:"previousValue"`
	NextValue     Variant `json:"nextValue"`
}

func (AddVariantChange) MarshalJSON

func (obj AddVariantChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type Address

type Address struct {
	ID                   string `json:"id"`
	Key                  string `json:"key"`
	Title                string `json:"title"`
	Salutation           string `json:"salutation"`
	FirstName            string `json:"firstName"`
	LastName             string `json:"lastName"`
	StreetName           string `json:"streetName"`
	StreetNumber         string `json:"streetNumber"`
	AdditionalStreetInfo string `json:"additionalStreetInfo"`
	PostalCode           string `json:"postalCode"`
	City                 string `json:"city"`
	Region               string `json:"region"`
	State                string `json:"state"`
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
	Country               string `json:"country"`
	Company               string `json:"company"`
	Department            string `json:"department"`
	Building              string `json:"building"`
	Apartment             string `json:"apartment"`
	POBox                 string `json:"pOBox"`
	Phone                 string `json:"phone"`
	Mobile                string `json:"mobile"`
	Email                 string `json:"email"`
	Fax                   string `json:"fax"`
	AdditionalAddressInfo string `json:"additionalAddressInfo"`
	ExternalId            string `json:"externalId"`
}

type Asset

type Asset struct {
	ID          string          `json:"id"`
	Name        LocalizedString `json:"name"`
	Description LocalizedString `json:"description"`
	Custom      CustomFields    `json:"custom"`
	Key         string          `json:"key"`
}

type AssetChangeValue

type AssetChangeValue struct {
	ID   string          `json:"id"`
	Name LocalizedString `json:"name"`
}

type AssetDimensions

type AssetDimensions struct {
	W int `json:"w"`
	H int `json:"h"`
}

type AssetSource

type AssetSource struct {
	Uri         string          `json:"uri"`
	Key         string          `json:"key"`
	Dimensions  AssetDimensions `json:"dimensions"`
	ContentType string          `json:"contentType"`
}

type AttributeConstraintEnum

type AttributeConstraintEnum string
const (
	AttributeConstraintEnumNone              AttributeConstraintEnum = "None"
	AttributeConstraintEnumUnique            AttributeConstraintEnum = "Unique"
	AttributeConstraintEnumCombinationUnique AttributeConstraintEnum = "CombinationUnique"
	AttributeConstraintEnumSameForAll        AttributeConstraintEnum = "SameForAll"
)

type AttributeDefinition

type AttributeDefinition struct {
	Type interface{} `json:"type"`
	// The unique name of the attribute used in the API. The name must be between two and 256 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (`_`) and the hyphen-minus (`-`). When using the same `name` for an attribute in two or more product types all fields of the AttributeDefinition of this attribute need to be the same across the product types, otherwise an AttributeDefinitionAlreadyExists error code will be returned. An exception to this are the values of an `enum` or `lenum` type and sets thereof.
	Name  string          `json:"name"`
	Label LocalizedString `json:"label"`
	// Whether the attribute is required to have a value.
	IsRequired          bool                    `json:"isRequired"`
	AttributeConstraint AttributeConstraintEnum `json:"attributeConstraint"`
	InputTip            LocalizedString         `json:"inputTip"`
	InputHint           TextInputHint           `json:"inputHint"`
	// Whether the attribute's values should generally be enabled in product search. This determines whether the value is stored in products for matching terms in the context of full-text search queries  and can be used in facets & filters as part of product search queries. The exact features that are enabled/disabled with this flag depend on the concrete attribute type and are described there. The max size of a searchable field is **restricted to 10922 characters**. This constraint is enforced at both product creation and product update. If the length of the input exceeds the maximum size an InvalidField error is returned.
	IsSearchable bool `json:"isSearchable"`
}

type ByProjectKeyByResourceTypeByIDRequestBuilder

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

func (*ByProjectKeyByResourceTypeByIDRequestBuilder) Get

type ByProjectKeyByResourceTypeByIDRequestMethodGet

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

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Changes

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) ClientId

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) CustomerId

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) DateFrom

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) DateTo

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Dump

func (r *ByProjectKeyByResourceTypeByIDRequestMethodGet) Dump() map[string]interface{}

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) ExcludePlatformInitiatedChanges

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Execute

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Expand

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Limit

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Offset

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Source

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) Type

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) UserId

func (*ByProjectKeyByResourceTypeByIDRequestMethodGet) WithHeaders

type ByProjectKeyByResourceTypeByIDRequestMethodGetInput

type ByProjectKeyByResourceTypeByIDRequestMethodGetInput struct {
	DateFrom                        *interface{}
	DateTo                          *interface{}
	Limit                           *int
	Offset                          *int
	UserId                          *string
	Type                            *string
	ClientId                        *string
	Source                          *string
	Changes                         []string
	CustomerId                      *string
	ExcludePlatformInitiatedChanges []PlatformInitiatedChange
	Expand                          *bool
}

func (*ByProjectKeyByResourceTypeByIDRequestMethodGetInput) Values

type ByProjectKeyByResourceTypeRequestBuilder

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

func (*ByProjectKeyByResourceTypeRequestBuilder) Get

func (*ByProjectKeyByResourceTypeRequestBuilder) WithIdValue

type ByProjectKeyByResourceTypeRequestMethodGet

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

func (*ByProjectKeyByResourceTypeRequestMethodGet) Changes

func (*ByProjectKeyByResourceTypeRequestMethodGet) ClientId

func (*ByProjectKeyByResourceTypeRequestMethodGet) CustomerId

func (*ByProjectKeyByResourceTypeRequestMethodGet) DateFrom

func (*ByProjectKeyByResourceTypeRequestMethodGet) DateTo

func (*ByProjectKeyByResourceTypeRequestMethodGet) Dump

func (r *ByProjectKeyByResourceTypeRequestMethodGet) Dump() map[string]interface{}

func (*ByProjectKeyByResourceTypeRequestMethodGet) ExcludePlatformInitiatedChanges

func (*ByProjectKeyByResourceTypeRequestMethodGet) Execute

func (*ByProjectKeyByResourceTypeRequestMethodGet) Expand

func (*ByProjectKeyByResourceTypeRequestMethodGet) Limit

func (*ByProjectKeyByResourceTypeRequestMethodGet) Offset

func (*ByProjectKeyByResourceTypeRequestMethodGet) ResourceId

func (*ByProjectKeyByResourceTypeRequestMethodGet) Source

func (*ByProjectKeyByResourceTypeRequestMethodGet) Type

func (*ByProjectKeyByResourceTypeRequestMethodGet) UserId

func (*ByProjectKeyByResourceTypeRequestMethodGet) WithHeaders

type ByProjectKeyByResourceTypeRequestMethodGetInput

type ByProjectKeyByResourceTypeRequestMethodGetInput struct {
	DateFrom                        *interface{}
	DateTo                          *interface{}
	Limit                           *int
	Offset                          *int
	UserId                          *string
	Type                            *string
	ClientId                        *string
	ResourceId                      *string
	Source                          *string
	Changes                         []string
	CustomerId                      *string
	ExcludePlatformInitiatedChanges []PlatformInitiatedChange
	Expand                          *bool
}

func (*ByProjectKeyByResourceTypeRequestMethodGetInput) Values

type ByProjectKeyRequestBuilder

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

func (*ByProjectKeyRequestBuilder) Get

func (*ByProjectKeyRequestBuilder) WithResourceTypeValue

func (rb *ByProjectKeyRequestBuilder) WithResourceTypeValue(resourceType string) *ByProjectKeyByResourceTypeRequestBuilder

type ByProjectKeyRequestMethodGet

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

func (*ByProjectKeyRequestMethodGet) Changes

func (*ByProjectKeyRequestMethodGet) ClientId

func (*ByProjectKeyRequestMethodGet) CustomerId

func (*ByProjectKeyRequestMethodGet) DateFrom

func (rb *ByProjectKeyRequestMethodGet) DateFrom(v interface{}) *ByProjectKeyRequestMethodGet

func (*ByProjectKeyRequestMethodGet) DateTo

func (*ByProjectKeyRequestMethodGet) Dump

func (r *ByProjectKeyRequestMethodGet) Dump() map[string]interface{}

func (*ByProjectKeyRequestMethodGet) ExcludePlatformInitiatedChanges

func (rb *ByProjectKeyRequestMethodGet) ExcludePlatformInitiatedChanges(v []PlatformInitiatedChange) *ByProjectKeyRequestMethodGet

func (*ByProjectKeyRequestMethodGet) Execute

func (*ByProjectKeyRequestMethodGet) Expand

func (*ByProjectKeyRequestMethodGet) Limit

func (*ByProjectKeyRequestMethodGet) Offset

func (*ByProjectKeyRequestMethodGet) ResourceId

func (*ByProjectKeyRequestMethodGet) ResourceType

func (*ByProjectKeyRequestMethodGet) Source

func (*ByProjectKeyRequestMethodGet) Type

func (*ByProjectKeyRequestMethodGet) UserId

func (*ByProjectKeyRequestMethodGet) WithHeaders

func (*ByProjectKeyRequestMethodGet) WithQueryParams

type ByProjectKeyRequestMethodGetInput

type ByProjectKeyRequestMethodGetInput struct {
	ResourceType                    []ChangeHistoryResourceType
	DateFrom                        *interface{}
	DateTo                          *interface{}
	Limit                           *int
	Offset                          *int
	UserId                          *string
	Type                            *string
	ClientId                        *string
	ResourceId                      *string
	Source                          *string
	Changes                         []string
	CustomerId                      *string
	ExcludePlatformInitiatedChanges []PlatformInitiatedChange
	Expand                          *bool
}

func (*ByProjectKeyRequestMethodGetInput) Values

type CategoryOrderHints

type CategoryOrderHints map[string]string

CategoryOrderHints is something

type Change

type Change interface{}

type ChangeAddressChange

type ChangeAddressChange struct {
	// Update action `changeAddress` action.
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (ChangeAddressChange) MarshalJSON

func (obj ChangeAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeAmountAuthorizedChange

type ChangeAmountAuthorizedChange struct {
	// Internal Update action for `changeAmountAuthorized`
	Change        string `json:"change"`
	PreviousValue Money  `json:"previousValue"`
	NextValue     Money  `json:"nextValue"`
}

func (ChangeAmountAuthorizedChange) MarshalJSON

func (obj ChangeAmountAuthorizedChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeAmountPlannedChange

type ChangeAmountPlannedChange struct {
	Change        string `json:"change"`
	PreviousValue Money  `json:"previousValue"`
	NextValue     Money  `json:"nextValue"`
}

func (ChangeAmountPlannedChange) MarshalJSON

func (obj ChangeAmountPlannedChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeAssetNameChange

type ChangeAssetNameChange struct {
	// Update action for `changeAssetName`
	Change        string           `json:"change"`
	Asset         AssetChangeValue `json:"asset"`
	NextValue     LocalizedString  `json:"nextValue"`
	PreviousValue LocalizedString  `json:"previousValue"`
}

func (ChangeAssetNameChange) MarshalJSON

func (obj ChangeAssetNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeAssetOrderChange

type ChangeAssetOrderChange struct {
	Change        string            `json:"change"`
	PreviousValue []LocalizedString `json:"previousValue"`
	NextValue     []LocalizedString `json:"nextValue"`
}

func (ChangeAssetOrderChange) MarshalJSON

func (obj ChangeAssetOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeAttributeConstraintChange

type ChangeAttributeConstraintChange struct {
	Change string `json:"change"`
	// name of the updated attribute
	AttributeName string                  `json:"attributeName"`
	PreviousValue AttributeConstraintEnum `json:"previousValue"`
	NextValue     AttributeConstraintEnum `json:"nextValue"`
}

func (ChangeAttributeConstraintChange) MarshalJSON

func (obj ChangeAttributeConstraintChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeAttributeOrderByNameChange

type ChangeAttributeOrderByNameChange struct {
	// Update action for `changeAttributeOrderByName` on product types
	Change        string   `json:"change"`
	PreviousValue []string `json:"previousValue"`
	NextValue     []string `json:"nextValue"`
}

func (ChangeAttributeOrderByNameChange) MarshalJSON

func (obj ChangeAttributeOrderByNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeCartDiscountsChange

type ChangeCartDiscountsChange struct {
	// Shape of the action for `changeCartDiscounts`
	Change        string      `json:"change"`
	PreviousValue []Reference `json:"previousValue"`
	NextValue     []Reference `json:"nextValue"`
}

func (ChangeCartDiscountsChange) MarshalJSON

func (obj ChangeCartDiscountsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeCartPredicateChange

type ChangeCartPredicateChange struct {
	// Shape of the action for `changeCartPredicate`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeCartPredicateChange) MarshalJSON

func (obj ChangeCartPredicateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeCustomLineItemQuantityChange

type ChangeCustomLineItemQuantityChange struct {
	// Update action for `changeCustomLineItemQuantity`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	NextValue        int             `json:"nextValue"`
	PreviousValue    int             `json:"previousValue"`
}

func (ChangeCustomLineItemQuantityChange) MarshalJSON

func (obj ChangeCustomLineItemQuantityChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeDescriptionChange

type ChangeDescriptionChange struct {
	// Shape of the action for `changeDescription`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeDescriptionChange) MarshalJSON

func (obj ChangeDescriptionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeEmailChange

type ChangeEmailChange struct {
	// Shape of the action for `changeEmail`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeEmailChange) MarshalJSON

func (obj ChangeEmailChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeEnumValueLabelChange

type ChangeEnumValueLabelChange struct {
	// Update action for `changeEnumValueLabel` on types
	Change string `json:"change"`
	// The name of the field definition updated.
	FieldName string `json:"fieldName"`
	// Key of the values that was updated
	ValueKey      string `json:"valueKey"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeEnumValueLabelChange) MarshalJSON

func (obj ChangeEnumValueLabelChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeEnumValueOrderChange

type ChangeEnumValueOrderChange struct {
	// Update action for `changeEnumValueOrder` on types
	Change string `json:"change"`
	// The name of the field/attribute definition updated.
	FieldName     string      `json:"fieldName"`
	NextValue     []EnumValue `json:"nextValue"`
	PreviousValue []EnumValue `json:"previousValue"`
}

func (ChangeEnumValueOrderChange) MarshalJSON

func (obj ChangeEnumValueOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeFieldDefinitionOrderChange

type ChangeFieldDefinitionOrderChange struct {
	// Update action for `changeFieldDefinitionOrder` on types
	Change        string                      `json:"change"`
	PreviousValue []FieldDefinitionOrderValue `json:"previousValue"`
	NextValue     []FieldDefinitionOrderValue `json:"nextValue"`
}

func (ChangeFieldDefinitionOrderChange) MarshalJSON

func (obj ChangeFieldDefinitionOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeGroupsChange

type ChangeGroupsChange struct {
	// Update action for `changeGroups` on stores
	Change        string   `json:"change"`
	PreviousValue []string `json:"previousValue"`
	NextValue     []string `json:"nextValue"`
}

func (ChangeGroupsChange) MarshalJSON

func (obj ChangeGroupsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeHistoryResourceType

type ChangeHistoryResourceType string

* * This data type represents the supported resource types. * The value must be one of the following: *

const (
	ChangeHistoryResourceTypeCartDiscount     ChangeHistoryResourceType = "cart-discount"
	ChangeHistoryResourceTypeCategory         ChangeHistoryResourceType = "category"
	ChangeHistoryResourceTypeChannel          ChangeHistoryResourceType = "channel"
	ChangeHistoryResourceTypeCustomer         ChangeHistoryResourceType = "customer"
	ChangeHistoryResourceTypeCustomerGroup    ChangeHistoryResourceType = "customer-group"
	ChangeHistoryResourceTypeDiscountCode     ChangeHistoryResourceType = "discount-code"
	ChangeHistoryResourceTypeInventoryEntry   ChangeHistoryResourceType = "inventory-entry"
	ChangeHistoryResourceTypeKeyValueDocument ChangeHistoryResourceType = "key-value-document"
	ChangeHistoryResourceTypeOrder            ChangeHistoryResourceType = "order"
	ChangeHistoryResourceTypePayment          ChangeHistoryResourceType = "payment"
	ChangeHistoryResourceTypeProduct          ChangeHistoryResourceType = "product"
	ChangeHistoryResourceTypeProductDiscount  ChangeHistoryResourceType = "product-discount"
	ChangeHistoryResourceTypeProductType      ChangeHistoryResourceType = "product-type"
	ChangeHistoryResourceTypeReview           ChangeHistoryResourceType = "review"
	ChangeHistoryResourceTypeShoppingList     ChangeHistoryResourceType = "shopping-list"
	ChangeHistoryResourceTypeState            ChangeHistoryResourceType = "state"
	ChangeHistoryResourceTypeStore            ChangeHistoryResourceType = "store"
	ChangeHistoryResourceTypeTaxCategory      ChangeHistoryResourceType = "tax-category"
	ChangeHistoryResourceTypeType             ChangeHistoryResourceType = "type"
	ChangeHistoryResourceTypeZone             ChangeHistoryResourceType = "zone"
)

type ChangeInitialChange

type ChangeInitialChange struct {
	// Shape of the action for `changeInitial`
	Change        string `json:"change"`
	PreviousValue bool   `json:"previousValue"`
	NextValue     bool   `json:"nextValue"`
}

func (ChangeInitialChange) MarshalJSON

func (obj ChangeInitialChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeInputHintChange

type ChangeInputHintChange struct {
	// Update action for `changeInputHint` on product types and types
	Change string `json:"change"`
	// The name of the field definition updated.
	FieldName string `json:"fieldName"`
	// The name of the attribute updated.
	AttributeName string        `json:"attributeName"`
	NextValue     TextInputHint `json:"nextValue"`
	PreviousValue TextInputHint `json:"previousValue"`
}

func (ChangeInputHintChange) MarshalJSON

func (obj ChangeInputHintChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeIsActiveChange

type ChangeIsActiveChange struct {
	// Shape of the action for `changeIsActive`
	Change        string `json:"change"`
	PreviousValue bool   `json:"previousValue"`
	NextValue     bool   `json:"nextValue"`
}

func (ChangeIsActiveChange) MarshalJSON

func (obj ChangeIsActiveChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeIsSearchableChange

type ChangeIsSearchableChange struct {
	// Update action for `changeIsSearchable` on product types
	Change string `json:"change"`
	// The name of the updated attribute.
	AttributeName string `json:"attributeName"`
	NextValue     bool   `json:"nextValue"`
	PreviousValue bool   `json:"previousValue"`
}

func (ChangeIsSearchableChange) MarshalJSON

func (obj ChangeIsSearchableChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeKeyChange

type ChangeKeyChange struct {
	// Shape of the action for `changeKey`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeKeyChange) MarshalJSON

func (obj ChangeKeyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeLabelChange

type ChangeLabelChange struct {
	// Update action for `changeLabel` on product types and types
	Change string `json:"change"`
	// The name of the field definition to update (types).
	FieldName string `json:"fieldName"`
	// The name of the attribute definition to update (product-type).
	AttributeName string          `json:"attributeName"`
	NextValue     LocalizedString `json:"nextValue"`
	PreviousValue LocalizedString `json:"previousValue"`
}

func (ChangeLabelChange) MarshalJSON

func (obj ChangeLabelChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeLineItemQuantityChange

type ChangeLineItemQuantityChange struct {
	// Update action for `changeLineItemQuantity`
	Change     string          `json:"change"`
	LineItem   LocalizedString `json:"lineItem"`
	LineItemId string          `json:"lineItemId"`
	// The amount of a LineItem in the cart. Must be a positive integer.
	NextValue int `json:"nextValue"`
	// The amount of a LineItem in the cart. Must be a positive integer.
	PreviousValue int `json:"previousValue"`
}

func (ChangeLineItemQuantityChange) MarshalJSON

func (obj ChangeLineItemQuantityChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeLocalizedDescriptionChange

type ChangeLocalizedDescriptionChange struct {
	// Shape of the action for `changeDescription`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (ChangeLocalizedDescriptionChange) MarshalJSON

func (obj ChangeLocalizedDescriptionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeLocalizedEnumValueLabelChange

type ChangeLocalizedEnumValueLabelChange struct {
	// Update action for `changeLocalizedEnumValueLabel` on types
	Change string `json:"change"`
	// The name of the field definition updated.
	FieldName string `json:"fieldName"`
	// The name of the attribute updated.
	AttributeName string `json:"attributeName"`
	// Key of the values that was updated
	ValueKey      string          `json:"valueKey"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (ChangeLocalizedEnumValueLabelChange) MarshalJSON

func (obj ChangeLocalizedEnumValueLabelChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeLocalizedEnumValueOrderChange

type ChangeLocalizedEnumValueOrderChange struct {
	// Update action for `changeLocalizedEnumValueOrder` on types and product types
	Change string `json:"change"`
	// The name of the field definition updated.
	FieldName string `json:"fieldName"`
	// The name of the attribute updated.
	AttributeName string               `json:"attributeName"`
	NextValue     []LocalizedEnumValue `json:"nextValue"`
	PreviousValue []LocalizedEnumValue `json:"previousValue"`
}

func (ChangeLocalizedEnumValueOrderChange) MarshalJSON

func (obj ChangeLocalizedEnumValueOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeLocalizedNameChange

type ChangeLocalizedNameChange struct {
	// Shape of the action for `changeName`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (ChangeLocalizedNameChange) MarshalJSON

func (obj ChangeLocalizedNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeMasterVariantChange

type ChangeMasterVariantChange struct {
	// Update action for `changeMasterVariant`
	Change        string  `json:"change"`
	CatalogData   string  `json:"catalogData"`
	PreviousValue Variant `json:"previousValue"`
	NextValue     Variant `json:"nextValue"`
}

func (ChangeMasterVariantChange) MarshalJSON

func (obj ChangeMasterVariantChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeNameChange

type ChangeNameChange struct {
	// Shape of the action for `changeName`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeNameChange) MarshalJSON

func (obj ChangeNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeOrderHintChange

type ChangeOrderHintChange struct {
	// Shape of the action for `changeOrderHint`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeOrderHintChange) MarshalJSON

func (obj ChangeOrderHintChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeOrderStateChange

type ChangeOrderStateChange struct {
	// Update action for `changeOrderState`
	Change        string     `json:"change"`
	NextValue     OrderState `json:"nextValue"`
	PreviousValue OrderState `json:"previousValue"`
}

func (ChangeOrderStateChange) MarshalJSON

func (obj ChangeOrderStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeParentChange

type ChangeParentChange struct {
	// Shape of the action for `changeParent`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (ChangeParentChange) MarshalJSON

func (obj ChangeParentChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangePaymentStateChange

type ChangePaymentStateChange struct {
	// Update action for `changePaymentState`
	Change        string       `json:"change"`
	NextValue     PaymentState `json:"nextValue"`
	PreviousValue PaymentState `json:"previousValue"`
}

func (ChangePaymentStateChange) MarshalJSON

func (obj ChangePaymentStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangePlainEnumValueLabelChange

type ChangePlainEnumValueLabelChange struct {
	// Update action for `changePlainEnumValueLabel` on types
	Change string `json:"change"`
	// The name of the attribute updated.
	AttributeName string `json:"attributeName"`
	// Key of the values that was updated
	ValueKey      string `json:"valueKey"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangePlainEnumValueLabelChange) MarshalJSON

func (obj ChangePlainEnumValueLabelChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangePlainEnumValueOrderChange

type ChangePlainEnumValueOrderChange struct {
	// Update action for `changePlainEnumValueOrder` on product types
	Change string `json:"change"`
	// The name of the attribute updated.
	AttributeName string      `json:"attributeName"`
	NextValue     []EnumValue `json:"nextValue"`
	PreviousValue []EnumValue `json:"previousValue"`
}

func (ChangePlainEnumValueOrderChange) MarshalJSON

func (obj ChangePlainEnumValueOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangePredicateChange

type ChangePredicateChange struct {
	// Shape of the action for `changePredicate`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangePredicateChange) MarshalJSON

func (obj ChangePredicateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangePriceChange

type ChangePriceChange struct {
	// Update action for changing prices
	Change        string `json:"change"`
	CatalogData   string `json:"catalogData"`
	PriceId       string `json:"priceId"`
	PreviousValue Price  `json:"previousValue"`
	NextValue     Price  `json:"nextValue"`
}

func (ChangePriceChange) MarshalJSON

func (obj ChangePriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeQuantityChange

type ChangeQuantityChange struct {
	Change        string                 `json:"change"`
	NextValue     InventoryQuantityValue `json:"nextValue"`
	PreviousValue InventoryQuantityValue `json:"previousValue"`
}

* * Update action for `changeQuantity` on inventories

func (ChangeQuantityChange) MarshalJSON

func (obj ChangeQuantityChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeRequiresDiscountCodeChange

type ChangeRequiresDiscountCodeChange struct {
	// Shape of the action for `changeRequiresDiscountCode`
	Change        string `json:"change"`
	PreviousValue bool   `json:"previousValue"`
	NextValue     bool   `json:"nextValue"`
}

func (ChangeRequiresDiscountCodeChange) MarshalJSON

func (obj ChangeRequiresDiscountCodeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeReviewRatingStatisticsChange

type ChangeReviewRatingStatisticsChange struct {
	// Update action for `changeReviewRatingStatistics`
	Change        string                 `json:"change"`
	NextValue     ReviewRatingStatistics `json:"nextValue"`
	PreviousValue ReviewRatingStatistics `json:"previousValue"`
}

func (ChangeReviewRatingStatisticsChange) MarshalJSON

func (obj ChangeReviewRatingStatisticsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeShipmentStateChange

type ChangeShipmentStateChange struct {
	// Update action for `changeShipmentState`
	Change        string        `json:"change"`
	NextValue     ShipmentState `json:"nextValue"`
	PreviousValue ShipmentState `json:"previousValue"`
}

func (ChangeShipmentStateChange) MarshalJSON

func (obj ChangeShipmentStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeShoppingListLineItemQuantityChange

type ChangeShoppingListLineItemQuantityChange struct {
	Change        string                    `json:"change"`
	LineItem      ShoppingListLineItemValue `json:"lineItem"`
	PreviousValue int                       `json:"previousValue"`
	NextValue     int                       `json:"nextValue"`
}

func (ChangeShoppingListLineItemQuantityChange) MarshalJSON

func (obj ChangeShoppingListLineItemQuantityChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeShoppingListLineItemsOrderChange

type ChangeShoppingListLineItemsOrderChange struct {
	Change        string                      `json:"change"`
	PreviousValue []ShoppingListLineItemValue `json:"previousValue"`
	NextValue     []ShoppingListLineItemValue `json:"nextValue"`
}

func (ChangeShoppingListLineItemsOrderChange) MarshalJSON

func (obj ChangeShoppingListLineItemsOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeSlugChange

type ChangeSlugChange struct {
	// Shape of the action for `changeSlug`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (ChangeSlugChange) MarshalJSON

func (obj ChangeSlugChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeSortOrderChange

type ChangeSortOrderChange struct {
	// Shape of the action for `changeSortOrder`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (ChangeSortOrderChange) MarshalJSON

func (obj ChangeSortOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeStackingModeChange

type ChangeStackingModeChange struct {
	// Update action for `changeStackingMode` on cart discounts
	Change        string       `json:"change"`
	NextValue     StackingMode `json:"nextValue"`
	PreviousValue StackingMode `json:"previousValue"`
}

func (ChangeStackingModeChange) MarshalJSON

func (obj ChangeStackingModeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeStateTypeChange

type ChangeStateTypeChange struct {
	// Update action for `changeType` on state
	Change        string    `json:"change"`
	PreviousValue StateType `json:"previousValue"`
	NextValue     StateType `json:"nextValue"`
}

func (ChangeStateTypeChange) MarshalJSON

func (obj ChangeStateTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTargetChange

type ChangeTargetChange struct {
	// Update action for `changeTarget` on cart discounts
	Change        string                  `json:"change"`
	NextValue     ChangeTargetChangeValue `json:"nextValue"`
	PreviousValue ChangeTargetChangeValue `json:"previousValue"`
}

func (ChangeTargetChange) MarshalJSON

func (obj ChangeTargetChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

func (*ChangeTargetChange) UnmarshalJSON

func (obj *ChangeTargetChange) UnmarshalJSON(data []byte) error

UnmarshalJSON override to deserialize correct attribute types based on the discriminator value

type ChangeTargetChangeValue

type ChangeTargetChangeValue interface{}

type ChangeTargetCustomLineItemsChangeValue

type ChangeTargetCustomLineItemsChangeValue struct {
	Predicate string `json:"predicate"`
}

* * Shape of the value for cart discounts line item and custom line items target.

func (ChangeTargetCustomLineItemsChangeValue) MarshalJSON

func (obj ChangeTargetCustomLineItemsChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTargetLineItemsChangeValue

type ChangeTargetLineItemsChangeValue struct {
	Predicate string `json:"predicate"`
}

* * Shape of the value for cart discounts line item target.

func (ChangeTargetLineItemsChangeValue) MarshalJSON

func (obj ChangeTargetLineItemsChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTargetMultiBuyCustomLineItemsChangeValue

type ChangeTargetMultiBuyCustomLineItemsChangeValue struct {
	Predicate string `json:"predicate"`
	// Quantity of line items that need to be present in order to trigger an application of this discount.
	TriggerQuantity int `json:"triggerQuantity"`
	// Quantity of line items that are discounted per application of this discount.
	DiscountedQuantity int `json:"discountedQuantity"`
	// Maximum number of applications of this discount.
	MaxOccurrence int           `json:"maxOccurrence"`
	SelectionMode SelectionMode `json:"selectionMode"`
}

* * Shape of the value for cart discounts multiBuyCustomLineItems target.

func (ChangeTargetMultiBuyCustomLineItemsChangeValue) MarshalJSON

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTargetMultiBuyLineItemsChangeValue

type ChangeTargetMultiBuyLineItemsChangeValue struct {
	Predicate string `json:"predicate"`
	// Quantity of line items that need to be present in order to trigger an application of this discount.
	TriggerQuantity int `json:"triggerQuantity"`
	// Quantity of line items that are discounted per application of this discount.
	DiscountedQuantity int `json:"discountedQuantity"`
	// Maximum number of applications of this discount.
	MaxOccurrence int           `json:"maxOccurrence"`
	SelectionMode SelectionMode `json:"selectionMode"`
}

* * Shape of the value for cart discounts multiBuyLineItems target.

func (ChangeTargetMultiBuyLineItemsChangeValue) MarshalJSON

func (obj ChangeTargetMultiBuyLineItemsChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTargetShippingChangeValue

type ChangeTargetShippingChangeValue struct {
}

* * Shape of the value for cart discounts shipping target.

func (ChangeTargetShippingChangeValue) MarshalJSON

func (obj ChangeTargetShippingChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTaxCalculationModeChange

type ChangeTaxCalculationModeChange struct {
	// Shape of the action for `changeTaxCalculationMode`
	Change        string             `json:"change"`
	PreviousValue TaxCalculationMode `json:"previousValue"`
	NextValue     TaxCalculationMode `json:"nextValue"`
}

func (ChangeTaxCalculationModeChange) MarshalJSON

func (obj ChangeTaxCalculationModeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTaxModeChange

type ChangeTaxModeChange struct {
	// Shape of the action for `changeTaxMode`
	Change        string  `json:"change"`
	PreviousValue TaxMode `json:"previousValue"`
	NextValue     TaxMode `json:"nextValue"`
}

func (ChangeTaxModeChange) MarshalJSON

func (obj ChangeTaxModeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTaxRoundingModeChange

type ChangeTaxRoundingModeChange struct {
	// Shape of the action for `changeTaxRoundingMode`
	Change        string       `json:"change"`
	PreviousValue RoundingMode `json:"previousValue"`
	NextValue     RoundingMode `json:"nextValue"`
}

func (ChangeTaxRoundingModeChange) MarshalJSON

func (obj ChangeTaxRoundingModeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTextLineItemNameChange

type ChangeTextLineItemNameChange struct {
	// Update action for `changeTextLineItemName`
	Change        string            `json:"change"`
	TextLineItem  TextLineItemValue `json:"textLineItem"`
	NextValue     LocalizedString   `json:"nextValue"`
	PreviousValue LocalizedString   `json:"previousValue"`
}

func (ChangeTextLineItemNameChange) MarshalJSON

func (obj ChangeTextLineItemNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTextLineItemQuantityChange

type ChangeTextLineItemQuantityChange struct {
	Change        string            `json:"change"`
	TextLineItem  TextLineItemValue `json:"textLineItem"`
	PreviousValue int               `json:"previousValue"`
	NextValue     int               `json:"nextValue"`
}

func (ChangeTextLineItemQuantityChange) MarshalJSON

func (obj ChangeTextLineItemQuantityChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTextLineItemsOrderChange

type ChangeTextLineItemsOrderChange struct {
	Change        string              `json:"change"`
	PreviousValue []TextLineItemValue `json:"previousValue"`
	NextValue     []TextLineItemValue `json:"nextValue"`
}

func (ChangeTextLineItemsOrderChange) MarshalJSON

func (obj ChangeTextLineItemsOrderChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTransactionInteractionIdChange

type ChangeTransactionInteractionIdChange struct {
	// Update action for `changeTransactionInteractionId` on payments
	Change        string                 `json:"change"`
	Transaction   TransactionChangeValue `json:"transaction"`
	NextValue     string                 `json:"nextValue"`
	PreviousValue string                 `json:"previousValue"`
}

func (ChangeTransactionInteractionIdChange) MarshalJSON

func (obj ChangeTransactionInteractionIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTransactionStateChange

type ChangeTransactionStateChange struct {
	// Update action for `changeTransactionState` on payments
	Change        string                 `json:"change"`
	Transaction   TransactionChangeValue `json:"transaction"`
	NextValue     TransactionState       `json:"nextValue"`
	PreviousValue TransactionState       `json:"previousValue"`
}

func (ChangeTransactionStateChange) MarshalJSON

func (obj ChangeTransactionStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeTransactionTimestampChange

type ChangeTransactionTimestampChange struct {
	// Update action for `changeTransactionTimestamp` on payments
	Change        string                 `json:"change"`
	Transaction   TransactionChangeValue `json:"transaction"`
	NextValue     string                 `json:"nextValue"`
	PreviousValue string                 `json:"previousValue"`
}

func (ChangeTransactionTimestampChange) MarshalJSON

func (obj ChangeTransactionTimestampChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeValueAbsoluteChangeValue

type ChangeValueAbsoluteChangeValue struct {
	Money []Money `json:"money"`
}

* * Shape of the value for cart discounts absolute value.

func (ChangeValueAbsoluteChangeValue) MarshalJSON

func (obj ChangeValueAbsoluteChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeValueChange

type ChangeValueChange struct {
	// Update action for `changeValue` on cart discounts and product discounts
	Change        string                 `json:"change"`
	NextValue     ChangeValueChangeValue `json:"nextValue"`
	PreviousValue ChangeValueChangeValue `json:"previousValue"`
}

func (ChangeValueChange) MarshalJSON

func (obj ChangeValueChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

func (*ChangeValueChange) UnmarshalJSON

func (obj *ChangeValueChange) UnmarshalJSON(data []byte) error

UnmarshalJSON override to deserialize correct attribute types based on the discriminator value

type ChangeValueChangeValue

type ChangeValueChangeValue interface{}

type ChangeValueExternalChangeValue

type ChangeValueExternalChangeValue struct {
}

* * Shape of the value for product discounts external value.

func (ChangeValueExternalChangeValue) MarshalJSON

func (obj ChangeValueExternalChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeValueGiftLineItemChangeValue

type ChangeValueGiftLineItemChangeValue struct {
	Product             Reference  `json:"product"`
	VariantId           int        `json:"variantId"`
	SupplyChannel       *Reference `json:"supplyChannel,omitempty"`
	DistributionChannel Reference  `json:"distributionChannel"`
}

* * Shape of the value for cart discounts gift line item value.

func (ChangeValueGiftLineItemChangeValue) MarshalJSON

func (obj ChangeValueGiftLineItemChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChangeValueRelativeChangeValue

type ChangeValueRelativeChangeValue struct {
	Permyriad int `json:"permyriad"`
}

* * Shape of the value for cart discounts relative value.

func (ChangeValueRelativeChangeValue) MarshalJSON

func (obj ChangeValueRelativeChangeValue) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ChannelRole

type ChannelRole string
const (
	ChannelRoleInventorySupply     ChannelRole = "InventorySupply"
	ChannelRoleProductDistribution ChannelRole = "ProductDistribution"
	ChannelRoleOrderExport         ChannelRole = "OrderExport"
	ChannelRoleOrderImport         ChannelRole = "OrderImport"
	ChannelRolePrimary             ChannelRole = "Primary"
)

type Client

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

func NewClient

func NewClient(cfg *ClientConfig) (*Client, error)

NewClient creates a new client based on the provided ClientConfig

func (*Client) WithProjectKeyValue

func (c *Client) WithProjectKeyValue(projectKey string) *ByProjectKeyRequestBuilder

type ClientConfig

type ClientConfig struct {
	URL         string
	Credentials *clientcredentials.Config
	LogLevel    int
	HTTPClient  *http.Client
	UserAgent   string
}

type CustomFieldExpandedValue

type CustomFieldExpandedValue struct {
	// Name of a custom field.
	Name  string          `json:"name"`
	Value interface{}     `json:"value"`
	Label LocalizedString `json:"label"`
}

* * Only available if `expand` is set to true

type CustomFields

type CustomFields struct {
	Type Reference `json:"type"`
	// A valid JSON object, based on FieldDefinition.
	Fields interface{} `json:"fields"`
}

type CustomLineItem

type CustomLineItem struct {
	// The unique ID of this CustomLineItem.
	ID         string          `json:"id"`
	Name       LocalizedString `json:"name"`
	Money      Money           `json:"money"`
	TaxedPrice TaxedItemPrice  `json:"taxedPrice"`
	TotalPrice Money           `json:"totalPrice"`
	// A unique String in the cart to identify this CustomLineItem.
	Slug string `json:"slug"`
	// The amount of a CustomLineItem in the cart. Must be a positive integer.
	Quantity int `json:"quantity"`
}

type CustomObjectLabel

type CustomObjectLabel struct {
	Key       string `json:"key"`
	Container string `json:"container"`
}

func (CustomObjectLabel) MarshalJSON

func (obj CustomObjectLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type CustomShippingMethodChangeValue

type CustomShippingMethodChangeValue struct {
	Name string `json:"name"`
}

type CustomerLabel

type CustomerLabel struct {
	FirstName      string `json:"firstName"`
	LastName       string `json:"lastName"`
	CustomerNumber string `json:"customerNumber"`
}

func (CustomerLabel) MarshalJSON

func (obj CustomerLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type Date

type Date struct {
	Year  int
	Month time.Month
	Day   int
}

Date holds date information for Commercetools API format

func NewDate

func NewDate(year int, month time.Month, day int) Date

NewDate initializes a Date struct

func (*Date) MarshalJSON

func (d *Date) MarshalJSON() ([]byte, error)

MarshalJSON marshals into the commercetools date format

func (*Date) UnmarshalJSON

func (d *Date) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes JSON data into a Date struct

type DateStringFilter

type DateStringFilter string

* * This type consists of one enum value: *

const (
	DateStringFilterNow DateStringFilter = "now"
)

type Delivery

type Delivery struct {
	ID        string         `json:"id"`
	CreatedAt string         `json:"createdAt"`
	Items     []DeliveryItem `json:"items"`
	Parcels   []Parcel       `json:"parcels"`
	Address   *Address       `json:"address,omitempty"`
	// Custom Fields for the Transaction.
	Custom *CustomFields `json:"custom,omitempty"`
}

type DeliveryChangeValue

type DeliveryChangeValue struct {
	Items   []DeliveryItem `json:"items"`
	Address Address        `json:"address"`
	Parcels []Parcel       `json:"parcels"`
}

type DeliveryItem

type DeliveryItem struct {
	ID       string `json:"id"`
	Quantity int    `json:"quantity"`
}

type DiscountCodeInfo

type DiscountCodeInfo struct {
	DiscountCode Reference         `json:"discountCode"`
	State        DiscountCodeState `json:"state"`
}

type DiscountCodeState

type DiscountCodeState string
const (
	DiscountCodeStateNotActive                            DiscountCodeState = "NotActive"
	DiscountCodeStateDoesNotMatchCart                     DiscountCodeState = "DoesNotMatchCart"
	DiscountCodeStateMatchesCart                          DiscountCodeState = "MatchesCart"
	DiscountCodeStateMaxApplicationReached                DiscountCodeState = "MaxApplicationReached"
	DiscountCodeStateApplicationStoppedByPreviousDiscount DiscountCodeState = "ApplicationStoppedByPreviousDiscount"
	DiscountCodeStateNotValid                             DiscountCodeState = "NotValid"
)

type DiscountedLineItemPortion

type DiscountedLineItemPortion struct {
	Discount         Reference `json:"discount"`
	DiscountedAmount Money     `json:"discountedAmount"`
}

type DiscountedLineItemPrice

type DiscountedLineItemPrice struct {
	Value             Money                       `json:"value"`
	IncludedDiscounts []DiscountedLineItemPortion `json:"includedDiscounts"`
}

type DiscountedLineItemPriceForQuantity

type DiscountedLineItemPriceForQuantity struct {
	Quantity        int                     `json:"quantity"`
	DiscountedPrice DiscountedLineItemPrice `json:"discountedPrice"`
}

type EnumValue

type EnumValue struct {
	Key   string `json:"key"`
	Label string `json:"label"`
}

type ErrorObject

type ErrorObject struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (ErrorObject) Error

func (obj ErrorObject) Error() string

type ErrorResponse

type ErrorResponse struct {
	StatusCode       int           `json:"statusCode"`
	Message          string        `json:"message"`
	ErrorMessage     *string       `json:"error,omitempty"`
	ErrorDescription *string       `json:"error_description,omitempty"`
	Errors           []ErrorObject `json:"errors"`
}

func (ErrorResponse) Error

func (obj ErrorResponse) Error() string

func (ErrorResponse) MarshalJSON

func (obj ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type FieldDefinition

type FieldDefinition struct {
	// Describes the type of the field.
	Type interface{} `json:"type"`
	// The name of the field. The name must be between two and 36 characters long and can contain the ASCII letters A to Z in lowercase or uppercase, digits, underscores (`_`) and the hyphen-minus (`-`). The name must be unique for a given resource type ID. In case there is a field with the same name in another type it has to have the same FieldType also.
	Name      string          `json:"name"`
	Label     LocalizedString `json:"label"`
	InputHint TextInputHint   `json:"inputHint"`
}

type FieldDefinitionOrderValue

type FieldDefinitionOrderValue struct {
	Name  string          `json:"name"`
	Label LocalizedString `json:"label"`
}

* * Shape of the value for action `changeFieldDefinitionOrder`

type GenericRequestError

type GenericRequestError struct {
	Content    []byte
	StatusCode int
}

func (GenericRequestError) Error

func (e GenericRequestError) Error() string

type GeoLocation

type GeoLocation struct {
	Type        string `json:"type"`
	Coordinates []int  `json:"coordinates"`
}

type Image

type Image struct {
	Url        string          `json:"url"`
	Dimensions ImageDimensions `json:"dimensions"`
	Label      string          `json:"label"`
}

type ImageDimensions

type ImageDimensions struct {
	W int `json:"w"`
	H int `json:"h"`
}

type InventoryQuantityValue

type InventoryQuantityValue struct {
	QuantityOnStock   int `json:"quantityOnStock"`
	AvailableQuantity int `json:"availableQuantity"`
}

type ItemShippingDetails

type ItemShippingDetails struct {
	Targets []ItemShippingTarget `json:"targets"`
	// true if the quantity of the (custom) line item is equal to the sum of the sub-quantities in `targets`, `false` otherwise. A cart cannot be ordered when the value is `false`. The error InvalidItemShippingDetails will be triggered.
	Valid bool `json:"valid"`
}

type ItemShippingTarget

type ItemShippingTarget struct {
	// The key of the address in the cart's `itemShippingAddresses`
	AddressKey string `json:"addressKey"`
	// The quantity of items that should go to the address with the specified `addressKey`. Only positive values are allowed. Using `0` as quantity is also possible in a draft object, but the element will not be present in the resulting ItemShippingDetails.
	Quantity int `json:"quantity"`
}

type ItemState

type ItemState struct {
	Quantity int       `json:"quantity"`
	State    Reference `json:"state"`
}

type Label

type Label interface{}

* * Provides descriptive information specific to the resource.

type LineItem

type LineItem struct {
	AddedAt     string          `json:"addedAt"`
	Custom      CustomFields    `json:"custom"`
	ID          string          `json:"id"`
	Name        LocalizedString `json:"name"`
	ProductId   string          `json:"productId"`
	ProductSlug LocalizedString `json:"productSlug"`
	ProductType Reference       `json:"productType"`
	Quantity    int             `json:"quantity"`
	Variant     Variant         `json:"variant"`
	VariantId   int             `json:"variantId"`
}

type LocalizedEnumValue

type LocalizedEnumValue struct {
	Key   string          `json:"key"`
	Label LocalizedString `json:"label"`
}

type LocalizedLabel

type LocalizedLabel struct {
	Value LocalizedString `json:"value"`
}

func (LocalizedLabel) MarshalJSON

func (obj LocalizedLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type LocalizedString

type LocalizedString map[string]string

LocalizedString is something

type Location

type Location struct {
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
	Country string `json:"country"`
	State   string `json:"state"`
}

* * Shape of the value for `addLocation` and `removeLocation` actions

type ModifiedBy

type ModifiedBy struct {
	// [ID](/general-concepts#identifier) of the Merchant Center user who made the change.
	// Present only if the change was made in the Merchant Center.
	ID string `json:"id"`
	// Indicates whether the change was made by a user or the API client with or without an
	// [External user ID](/client-logging#external-user-ids).
	Type string `json:"type"`
	// [Reference](/types#reference) to the
	// [Customer](/projects/customers#customer) who made the change. Present only if
	// the change was made using a token from the [Password
	// Flow](/authorization#password-flow).
	Customer *Reference `json:"customer,omitempty"`
	// Present only if the change was made using a token from an [Anonymous
	// Session](/authorization#tokens-for-anonymous-sessions).
	AnonymousId *string `json:"anonymousId,omitempty"`
	// [ID](/general-concepts#identifier) of the [API
	// Client](/projects/api-clients#apiclient) that made the change. Present only if
	// the change was made using an API Client.
	ClientId *string `json:"clientId,omitempty"`
	// `true` if the change was made via Merchant Center or [ImpEx](https://impex.europe-west1.gcp.commercetools.com/).
	IsPlatformClient bool `json:"isPlatformClient"`
}

* * Information about the user or the API client who performed the change. This is a variant of * [LastModifiedBy](/types#lastmodifiedby). *

type Money

type Money struct {
	// The currency code compliant to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
	CurrencyCode   string    `json:"currencyCode"`
	CentAmount     int       `json:"centAmount"`
	FractionDigits int       `json:"fractionDigits"`
	Type           MoneyType `json:"type"`
}

type MoneyType

type MoneyType string
const (
	MoneyTypeCentPrecision MoneyType = "centPrecision"
	MoneyTypeHighPrecision MoneyType = "highPrecision"
)

type MoveImageToPositionChange

type MoveImageToPositionChange struct {
	// Update actions for moving images
	Change        string  `json:"change"`
	CatalogData   string  `json:"catalogData"`
	PreviousValue []Image `json:"previousValue"`
	NextValue     []Image `json:"nextValue"`
}

func (MoveImageToPositionChange) MarshalJSON

func (obj MoveImageToPositionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type OrderLabel

type OrderLabel struct {
	CustomerEmail string `json:"customerEmail"`
	OrderNumber   string `json:"orderNumber"`
}

func (OrderLabel) MarshalJSON

func (obj OrderLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type OrderState

type OrderState string
const (
	OrderStateOpen      OrderState = "Open"
	OrderStateConfirmed OrderState = "Confirmed"
	OrderStateComplete  OrderState = "Complete"
	OrderStateCancelled OrderState = "Cancelled"
)

type Parcel

type Parcel struct {
	ID           string             `json:"id"`
	CreatedAt    string             `json:"createdAt"`
	Measurements ParcelMeasurements `json:"measurements"`
	TrackingData TrackingData       `json:"trackingData"`
	Items        []DeliveryItem     `json:"items"`
}

type ParcelChangeValue

type ParcelChangeValue struct {
	ID        string `json:"id"`
	CreatedAt string `json:"createdAt"`
}

type ParcelMeasurements

type ParcelMeasurements struct {
	HeightInMillimeter int `json:"heightInMillimeter"`
	LengthInMillimeter int `json:"lengthInMillimeter"`
	WidthInMillimeter  int `json:"widthInMillimeter"`
	WeightInGram       int `json:"weightInGram"`
}

type PaymentInfo

type PaymentInfo struct {
	Payments []Reference `json:"payments"`
}

type PaymentLabel

type PaymentLabel struct {
	Key           string `json:"key"`
	AmountPlanned Money  `json:"amountPlanned"`
}

func (PaymentLabel) MarshalJSON

func (obj PaymentLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type PaymentState

type PaymentState string
const (
	PaymentStateBalanceDue PaymentState = "BalanceDue"
	PaymentStateFailed     PaymentState = "Failed"
	PaymentStatePending    PaymentState = "Pending"
	PaymentStateCreditOwed PaymentState = "CreditOwed"
	PaymentStatePaid       PaymentState = "Paid"
)

type PlatformInitiatedChange

type PlatformInitiatedChange string
const (
	PlatformInitiatedChangeExcludeAll                   PlatformInitiatedChange = "excludeAll"
	PlatformInitiatedChangeChangeLineItemName           PlatformInitiatedChange = "changeLineItemName"
	PlatformInitiatedChangeChangeReviewRatingStatistics PlatformInitiatedChange = "changeReviewRatingStatistics"
	PlatformInitiatedChangeSetApplicationVersion        PlatformInitiatedChange = "setApplicationVersion"
	PlatformInitiatedChangeSetIsValid                   PlatformInitiatedChange = "setIsValid"
	PlatformInitiatedChangeSetVariantAvailability       PlatformInitiatedChange = "setVariantAvailability"
)

type Price

type Price struct {
	ID    string `json:"id"`
	Value Money  `json:"value"`
}

type ProductLabel

type ProductLabel struct {
	Slug LocalizedString `json:"slug"`
	Name LocalizedString `json:"name"`
}

func (ProductLabel) MarshalJSON

func (obj ProductLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ProductVariantAvailability

type ProductVariantAvailability struct {
	IsOnStock         bool                                 `json:"isOnStock"`
	RestockableInDays int                                  `json:"restockableInDays"`
	AvailableQuantity int                                  `json:"availableQuantity"`
	Channels          ProductVariantChannelAvailabilityMap `json:"channels"`
}

type ProductVariantChannelAvailability

type ProductVariantChannelAvailability struct {
	IsOnStock         bool `json:"isOnStock"`
	RestockableInDays int  `json:"restockableInDays"`
	AvailableQuantity int  `json:"availableQuantity"`
}

type ProductVariantChannelAvailabilityMap

type ProductVariantChannelAvailabilityMap map[string]ProductVariantChannelAvailability

ProductVariantChannelAvailabilityMap is something

type PublishChange

type PublishChange struct {
	Change string `json:"change"`
}

func (PublishChange) MarshalJSON

func (obj PublishChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type Record

type Record struct {
	// Version of the resource after the change.
	Version int `json:"version"`
	// Version of the resource before the change.
	PreviousVersion int `json:"previousVersion"`
	// Type of the change (creation, update or deletion).
	Type string `json:"type"`
	// Information about the user or the API client who performed the change.
	ModifiedBy ModifiedBy `json:"modifiedBy"`
	// Date and time when the change was made.
	ModifiedAt string `json:"modifiedAt"`
	// Information that describes the resource after the change.
	Label Label `json:"label"`
	// Information that describes the resource before the change.
	PreviousLabel Label `json:"previousLabel"`
	// Shows the differences in the resource between `previousVersion` and `version`.
	// The value is not identical to the actual array of update actions that was sent to the platform and is not limited to update actions (see, for example, [Optimistic  Concurrency Control](/general-concepts#optimistic-concurrency-control)).
	Changes []Change `json:"changes"`
	// [Reference](/types#reference) to the changed resource.
	Resource Reference `json:"resource"`
	// `true` if no change was detected.
	// The version number of the resource can be increased even without any change in the resource.
	WithoutChanges bool `json:"withoutChanges"`
}

* * A Record captures the differences in a resource between one version and the next. * (Recall that the version number is not always incremented by one; see [Optimistic Concurrency Control](/general-concepts#optimistic-concurrency-control).) *

func (*Record) UnmarshalJSON

func (obj *Record) UnmarshalJSON(data []byte) error

UnmarshalJSON override to deserialize correct attribute types based on the discriminator value

type RecordPagedQueryResponse

type RecordPagedQueryResponse struct {
	// Maximum number of results requested in the query request.
	Limit int `json:"limit"`
	// Actual number of results returned.
	Count int `json:"count"`
	// Total number of results matching the query.
	// This number is an estimation and not [strongly consistent](/general-concepts#strong-consistency).
	Total int `json:"total"`
	// The number of elements skipped, not a page number. Supplied by the client or the server default.
	Offset  int      `json:"offset"`
	Results []Record `json:"results"`
}

* * Response to a query request for Record(#record). *

type Reference

type Reference struct {
	ID     string          `json:"id"`
	TypeId ReferenceTypeId `json:"typeId"`
}

type ReferenceTypeId

type ReferenceTypeId string
const (
	ReferenceTypeIdCart                  ReferenceTypeId = "cart"
	ReferenceTypeIdCartDiscount          ReferenceTypeId = "cart-discount"
	ReferenceTypeIdCategory              ReferenceTypeId = "category"
	ReferenceTypeIdChannel               ReferenceTypeId = "channel"
	ReferenceTypeIdCustomer              ReferenceTypeId = "customer"
	ReferenceTypeIdCustomerEmailToken    ReferenceTypeId = "customer-email-token"
	ReferenceTypeIdCustomerGroup         ReferenceTypeId = "customer-group"
	ReferenceTypeIdCustomerPasswordToken ReferenceTypeId = "customer-password-token"
	ReferenceTypeIdDiscountCode          ReferenceTypeId = "discount-code"
	ReferenceTypeIdExtension             ReferenceTypeId = "extension"
	ReferenceTypeIdInventoryEntry        ReferenceTypeId = "inventory-entry"
	ReferenceTypeIdKeyValueDocument      ReferenceTypeId = "key-value-document"
	ReferenceTypeIdOrder                 ReferenceTypeId = "order"
	ReferenceTypeIdOrderEdit             ReferenceTypeId = "order-edit"
	ReferenceTypeIdPayment               ReferenceTypeId = "payment"
	ReferenceTypeIdProduct               ReferenceTypeId = "product"
	ReferenceTypeIdProductDiscount       ReferenceTypeId = "product-discount"
	ReferenceTypeIdProductType           ReferenceTypeId = "product-type"
	ReferenceTypeIdReview                ReferenceTypeId = "review"
	ReferenceTypeIdShippingMethod        ReferenceTypeId = "shipping-method"
	ReferenceTypeIdShoppingList          ReferenceTypeId = "shopping-list"
	ReferenceTypeIdState                 ReferenceTypeId = "state"
	ReferenceTypeIdStore                 ReferenceTypeId = "store"
	ReferenceTypeIdSubscription          ReferenceTypeId = "subscription"
	ReferenceTypeIdTaxCategory           ReferenceTypeId = "tax-category"
	ReferenceTypeIdType                  ReferenceTypeId = "type"
	ReferenceTypeIdZone                  ReferenceTypeId = "zone"
)

type RemoveAddressChange

type RemoveAddressChange struct {
	// Update action for `removeAddress` action.
	Change        string  `json:"change"`
	PreviousValue Address `json:"previousValue"`
}

func (RemoveAddressChange) MarshalJSON

func (obj RemoveAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveAssetChange

type RemoveAssetChange struct {
	// Update action for `removeAsset`
	Change        string `json:"change"`
	PreviousValue Asset  `json:"previousValue"`
}

func (RemoveAssetChange) MarshalJSON

func (obj RemoveAssetChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveAttributeDefinitionChange

type RemoveAttributeDefinitionChange struct {
	// Update action for `removeAttributeDefinition` on product types
	Change        string              `json:"change"`
	PreviousValue AttributeDefinition `json:"previousValue"`
}

func (RemoveAttributeDefinitionChange) MarshalJSON

func (obj RemoveAttributeDefinitionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveBillingAddressIdChange

type RemoveBillingAddressIdChange struct {
	// Update action for `removeBillingAddressId` action on customers.
	Change        string   `json:"change"`
	NextValue     []string `json:"nextValue"`
	PreviousValue []string `json:"previousValue"`
	Address       Address  `json:"address"`
}

func (RemoveBillingAddressIdChange) MarshalJSON

func (obj RemoveBillingAddressIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveChannelRolesChange

type RemoveChannelRolesChange struct {
	Change        string        `json:"change"`
	PreviousValue []ChannelRole `json:"previousValue"`
	NextValue     []ChannelRole `json:"nextValue"`
}

func (RemoveChannelRolesChange) MarshalJSON

func (obj RemoveChannelRolesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveCustomLineItemChange

type RemoveCustomLineItemChange struct {
	// Update action for adding and removing custom line items
	Change        string         `json:"change"`
	NextValue     CustomLineItem `json:"nextValue"`
	PreviousValue CustomLineItem `json:"previousValue"`
}

func (RemoveCustomLineItemChange) MarshalJSON

func (obj RemoveCustomLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveDeliveryItemsChange

type RemoveDeliveryItemsChange struct {
	// Update action for `removeDelivery`
	Change        string   `json:"change"`
	PreviousValue Delivery `json:"previousValue"`
}

func (RemoveDeliveryItemsChange) MarshalJSON

func (obj RemoveDeliveryItemsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveDiscountCodeChange

type RemoveDiscountCodeChange struct {
	// Update action for `removeDiscountCode`
	Change        string           `json:"change"`
	PreviousValue DiscountCodeInfo `json:"previousValue"`
}

func (RemoveDiscountCodeChange) MarshalJSON

func (obj RemoveDiscountCodeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveEnumValuesChange

type RemoveEnumValuesChange struct {
	// Update action for `removeEnumValues` on product types
	Change string `json:"change"`
	// The name of the attribute updated.
	AttributeName string    `json:"attributeName"`
	PreviousValue EnumValue `json:"previousValue"`
}

func (RemoveEnumValuesChange) MarshalJSON

func (obj RemoveEnumValuesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveFieldDefinitionChange

type RemoveFieldDefinitionChange struct {
	// Update action for `removeFieldDefinition` on payments
	Change        string          `json:"change"`
	PreviousValue FieldDefinition `json:"previousValue"`
}

func (RemoveFieldDefinitionChange) MarshalJSON

func (obj RemoveFieldDefinitionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveFromCategoryChange

type RemoveFromCategoryChange struct {
	// Update action for `addToCategory`
	Change        string      `json:"change"`
	Category      Reference   `json:"category"`
	PreviousValue []Reference `json:"previousValue"`
	NextValue     []Reference `json:"nextValue"`
}

func (RemoveFromCategoryChange) MarshalJSON

func (obj RemoveFromCategoryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveImageChange

type RemoveImageChange struct {
	// Update actions for removing images
	Change        string  `json:"change"`
	CatalogData   string  `json:"catalogData"`
	PreviousValue []Image `json:"previousValue"`
	NextValue     []Image `json:"nextValue"`
}

func (RemoveImageChange) MarshalJSON

func (obj RemoveImageChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveItemShippingAddressesChange

type RemoveItemShippingAddressesChange struct {
	// Update action for `removeItemShippingAddress`
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (RemoveItemShippingAddressesChange) MarshalJSON

func (obj RemoveItemShippingAddressesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveLocalizedEnumValuesChange

type RemoveLocalizedEnumValuesChange struct {
	// Update action for `removeEnumValues` on product types
	Change string `json:"change"`
	// The name of the attribute updated.
	AttributeName string             `json:"attributeName"`
	PreviousValue LocalizedEnumValue `json:"previousValue"`
}

func (RemoveLocalizedEnumValuesChange) MarshalJSON

func (obj RemoveLocalizedEnumValuesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveLocationChange

type RemoveLocationChange struct {
	// Update action for `removeLocation` on zones
	Change string `json:"change"`
	// Shape of the value for `addLocation` and `removeLocation` actions
	PreviousValue Location `json:"previousValue"`
	// Shape of the value for `addLocation` and `removeLocation` actions
	NextValue Location `json:"nextValue"`
}

func (RemoveLocationChange) MarshalJSON

func (obj RemoveLocationChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveOrderLineItemChange

type RemoveOrderLineItemChange struct {
	Change        string   `json:"change"`
	PreviousValue LineItem `json:"previousValue"`
	NextValue     LineItem `json:"nextValue"`
}

func (RemoveOrderLineItemChange) MarshalJSON

func (obj RemoveOrderLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveParcelFromDeliveryChange

type RemoveParcelFromDeliveryChange struct {
	// Update action for `removeParcelFromDelivery`
	Change        string `json:"change"`
	DeliveryId    string `json:"deliveryId"`
	PreviousValue Parcel `json:"previousValue"`
}

func (RemoveParcelFromDeliveryChange) MarshalJSON

func (obj RemoveParcelFromDeliveryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemovePaymentChange

type RemovePaymentChange struct {
	// Update action for `addPayment` & `removePayment`
	Change        string      `json:"change"`
	NextValue     PaymentInfo `json:"nextValue"`
	PreviousValue PaymentInfo `json:"previousValue"`
}

func (RemovePaymentChange) MarshalJSON

func (obj RemovePaymentChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemovePriceChange

type RemovePriceChange struct {
	// Update action for removing prices
	Change        string `json:"change"`
	CatalogData   string `json:"catalogData"`
	PriceId       string `json:"priceId"`
	PreviousValue Price  `json:"previousValue"`
	NextValue     Price  `json:"nextValue"`
}

func (RemovePriceChange) MarshalJSON

func (obj RemovePriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemovePropertyChange

type RemovePropertyChange struct {
	// Update action for `removeProperty` on custom objects
	Change string `json:"change"`
	// Value path to the property that was removed
	Path          string      `json:"path"`
	PreviousValue interface{} `json:"previousValue"`
}

func (RemovePropertyChange) MarshalJSON

func (obj RemovePropertyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveShippingAddressIdChange

type RemoveShippingAddressIdChange struct {
	// Update action for `removeShippingAddressId` action on customers.
	Change        string   `json:"change"`
	NextValue     []string `json:"nextValue"`
	PreviousValue []string `json:"previousValue"`
	Address       Address  `json:"address"`
}

func (RemoveShippingAddressIdChange) MarshalJSON

func (obj RemoveShippingAddressIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveShoppingListLineItemChange

type RemoveShoppingListLineItemChange struct {
	Change        string   `json:"change"`
	PreviousValue LineItem `json:"previousValue"`
	NextValue     LineItem `json:"nextValue"`
}

func (RemoveShoppingListLineItemChange) MarshalJSON

func (obj RemoveShoppingListLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveStateRolesChange

type RemoveStateRolesChange struct {
	Change        string      `json:"change"`
	PreviousValue []StateRole `json:"previousValue"`
	NextValue     []StateRole `json:"nextValue"`
}

func (RemoveStateRolesChange) MarshalJSON

func (obj RemoveStateRolesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveTaxRateChange

type RemoveTaxRateChange struct {
	// Update action for `removeTaxRate` on tax categories
	Change string `json:"change"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	PreviousValue TaxRate `json:"previousValue"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	NextValue TaxRate `json:"nextValue"`
}

func (RemoveTaxRateChange) MarshalJSON

func (obj RemoveTaxRateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveTextLineItemChange

type RemoveTextLineItemChange struct {
	Change        string       `json:"change"`
	PreviousValue TextLineItem `json:"previousValue"`
	NextValue     TextLineItem `json:"nextValue"`
}

func (RemoveTextLineItemChange) MarshalJSON

func (obj RemoveTextLineItemChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type RemoveVariantChange

type RemoveVariantChange struct {
	// Update action for `removeVariant`
	Change        string  `json:"change"`
	CatalogData   string  `json:"catalogData"`
	PreviousValue Variant `json:"previousValue"`
	NextValue     Variant `json:"nextValue"`
}

func (RemoveVariantChange) MarshalJSON

func (obj RemoveVariantChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type Reservation

type Reservation struct {
	Quantity          int       `json:"quantity"`
	Owner             Reference `json:"owner"`
	CreatedAt         string    `json:"createdAt"`
	CheckoutStartedAt string    `json:"checkoutStartedAt"`
}

type ReturnInfo

type ReturnInfo struct {
	Items []ReturnItem `json:"items"`
	// Identifies, which return tracking ID is connected to this particular return.
	ReturnTrackingId string `json:"returnTrackingId"`
	ReturnDate       string `json:"returnDate"`
}

type ReturnItem

type ReturnItem struct {
	ID             string              `json:"id"`
	Quantity       int                 `json:"quantity"`
	Type           string              `json:"type"`
	Comment        string              `json:"comment"`
	ShipmentState  ReturnShipmentState `json:"shipmentState"`
	PaymentState   ReturnPaymentState  `json:"paymentState"`
	LastModifiedAt string              `json:"lastModifiedAt"`
	CreatedAt      string              `json:"createdAt"`
}

type ReturnPaymentState

type ReturnPaymentState string
const (
	ReturnPaymentStateNonRefundable ReturnPaymentState = "NonRefundable"
	ReturnPaymentStateInitial       ReturnPaymentState = "Initial"
	ReturnPaymentStateRefunded      ReturnPaymentState = "Refunded"
	ReturnPaymentStateNotRefunded   ReturnPaymentState = "NotRefunded"
)

type ReturnShipmentState

type ReturnShipmentState string
const (
	ReturnShipmentStateAdvised     ReturnShipmentState = "Advised"
	ReturnShipmentStateReturned    ReturnShipmentState = "Returned"
	ReturnShipmentStateBackInStock ReturnShipmentState = "BackInStock"
	ReturnShipmentStateUnusable    ReturnShipmentState = "Unusable"
)

type ReviewLabel

type ReviewLabel struct {
	Key   string `json:"key"`
	Title string `json:"title"`
}

func (ReviewLabel) MarshalJSON

func (obj ReviewLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ReviewRatingStatistics

type ReviewRatingStatistics struct {
	// Average rating of one target This number is rounded with 5 decimals.
	AverageRating int `json:"averageRating"`
	// Highest rating of one target
	HighestRating int `json:"highestRating"`
	// Lowest rating of one target
	LowestRating int `json:"lowestRating"`
	// Number of ratings taken into account
	Count int `json:"count"`
	// The full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.
	RatingsDistribution interface{} `json:"ratingsDistribution"`
}

type RoundingMode

type RoundingMode string
const (
	RoundingModeHalfEven RoundingMode = "HalfEven"
	RoundingModeHalfUp   RoundingMode = "HalfUp"
	RoundingModeHalfDown RoundingMode = "HalfDown"
)

type SearchKeyword

type SearchKeyword struct {
	Text             string           `json:"text"`
	SuggestTokenizer SuggestTokenizer `json:"suggestTokenizer"`
}

type SearchKeywords

type SearchKeywords map[string][]SearchKeyword

SearchKeywords is something

type SelectionMode

type SelectionMode string
const (
	SelectionModeCheapest      SelectionMode = "Cheapest"
	SelectionModeMostExpensive SelectionMode = "MostExpensive"
)

type SetAddressChange

type SetAddressChange struct {
	// Update action for `setAddress` action.
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (SetAddressChange) MarshalJSON

func (obj SetAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAnonymousIdChange

type SetAnonymousIdChange struct {
	// Shape of the action for `setAnonymousId`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetAnonymousIdChange) MarshalJSON

func (obj SetAnonymousIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetApplicationVersionChange

type SetApplicationVersionChange struct {
	// Internal Update action for `setApplicationVersion`
	Change        string `json:"change"`
	PreviousValue int    `json:"previousValue"`
	NextValue     int    `json:"nextValue"`
}

func (SetApplicationVersionChange) MarshalJSON

func (obj SetApplicationVersionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAssetCustomFieldChange

type SetAssetCustomFieldChange struct {
	// Update action for `setAssetCustomField`
	Change        string           `json:"change"`
	Name          string           `json:"name"`
	CustomTypeId  string           `json:"customTypeId"`
	Asset         AssetChangeValue `json:"asset"`
	NextValue     interface{}      `json:"nextValue"`
	PreviousValue interface{}      `json:"previousValue"`
}

func (SetAssetCustomFieldChange) MarshalJSON

func (obj SetAssetCustomFieldChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAssetCustomTypeChange

type SetAssetCustomTypeChange struct {
	// Update action for `setAssetCustomType`
	Change        string           `json:"change"`
	Asset         AssetChangeValue `json:"asset"`
	NextValue     CustomFields     `json:"nextValue"`
	PreviousValue CustomFields     `json:"previousValue"`
}

func (SetAssetCustomTypeChange) MarshalJSON

func (obj SetAssetCustomTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAssetDescriptionChange

type SetAssetDescriptionChange struct {
	// Update action for `setAssetDescription`
	Change        string           `json:"change"`
	Asset         AssetChangeValue `json:"asset"`
	NextValue     LocalizedString  `json:"nextValue"`
	PreviousValue LocalizedString  `json:"previousValue"`
}

func (SetAssetDescriptionChange) MarshalJSON

func (obj SetAssetDescriptionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAssetKeyChange

type SetAssetKeyChange struct {
	// Update action for `setAssetKey`
	Change        string           `json:"change"`
	Asset         AssetChangeValue `json:"asset"`
	NextValue     string           `json:"nextValue"`
	PreviousValue string           `json:"previousValue"`
}

func (SetAssetKeyChange) MarshalJSON

func (obj SetAssetKeyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAssetSourcesChange

type SetAssetSourcesChange struct {
	// Update action for `setAssetSources`
	Change        string           `json:"change"`
	Asset         AssetChangeValue `json:"asset"`
	NextValue     []AssetSource    `json:"nextValue"`
	PreviousValue []AssetSource    `json:"previousValue"`
}

func (SetAssetSourcesChange) MarshalJSON

func (obj SetAssetSourcesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAssetTagsChange

type SetAssetTagsChange struct {
	// Update action for `setAssetTags`
	Change        string           `json:"change"`
	Asset         AssetChangeValue `json:"asset"`
	NextValue     []string         `json:"nextValue"`
	PreviousValue []string         `json:"previousValue"`
}

func (SetAssetTagsChange) MarshalJSON

func (obj SetAssetTagsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAttributeChange

type SetAttributeChange struct {
	// Update action for `setAttribute`
	Change        string      `json:"change"`
	CatalogData   string      `json:"catalogData"`
	PreviousValue interface{} `json:"previousValue"`
	NextValue     interface{} `json:"nextValue"`
}

func (SetAttributeChange) MarshalJSON

func (obj SetAttributeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetAuthorNameChange

type SetAuthorNameChange struct {
	// Shape of the action for `setAuthorName`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetAuthorNameChange) MarshalJSON

func (obj SetAuthorNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetBillingAddressChange

type SetBillingAddressChange struct {
	// Update action for `setBillingAddress`
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (SetBillingAddressChange) MarshalJSON

func (obj SetBillingAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCartClassificationShippingRateInputValue

type SetCartClassificationShippingRateInputValue struct {
	Type  string          `json:"type"`
	Key   string          `json:"key"`
	Label LocalizedString `json:"label"`
}

* * Shape of the cart classification shipping input rate value.

type SetCartPredicateChange

type SetCartPredicateChange struct {
	// Shape of the action for `setCartPredicate`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetCartPredicateChange) MarshalJSON

func (obj SetCartPredicateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCartScoreShippingRateInputValue

type SetCartScoreShippingRateInputValue struct {
	Type  string `json:"type"`
	Score int    `json:"score"`
}

* * Shape of the cart score shipping input rate value.

type SetCategoryOrderHintChange

type SetCategoryOrderHintChange struct {
	// Update action for `setCategoryOrderHint`
	Change        string             `json:"change"`
	CatalogData   string             `json:"catalogData"`
	CategoryId    string             `json:"categoryId"`
	PreviousValue CategoryOrderHints `json:"previousValue"`
	NextValue     CategoryOrderHints `json:"nextValue"`
}

func (SetCategoryOrderHintChange) MarshalJSON

func (obj SetCategoryOrderHintChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetChannelRolesChange

type SetChannelRolesChange struct {
	Change        string        `json:"change"`
	PreviousValue []ChannelRole `json:"previousValue"`
	NextValue     []ChannelRole `json:"nextValue"`
}

func (SetChannelRolesChange) MarshalJSON

func (obj SetChannelRolesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCompanyNameChange

type SetCompanyNameChange struct {
	// Shape of the action for `setCompanyName`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetCompanyNameChange) MarshalJSON

func (obj SetCompanyNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCountryChange

type SetCountryChange struct {
	// Update action for `setCountry`
	Change string `json:"change"`
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
	PreviousValue string `json:"previousValue"`
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
	NextValue string `json:"nextValue"`
}

func (SetCountryChange) MarshalJSON

func (obj SetCountryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomFieldChange

type SetCustomFieldChange struct {
	// Update action for setting a custom field
	Change string `json:"change"`
	// Custom field name
	Name          string      `json:"name"`
	CustomTypeId  string      `json:"customTypeId"`
	NextValue     interface{} `json:"nextValue"`
	PreviousValue interface{} `json:"previousValue"`
}

func (SetCustomFieldChange) MarshalJSON

func (obj SetCustomFieldChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemCustomFieldChange

type SetCustomLineItemCustomFieldChange struct {
	// Update action for `setCustomLineItemCustomField`
	Change           string          `json:"change"`
	Name             string          `json:"name"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	NextValue        interface{}     `json:"nextValue"`
	PreviousValue    interface{}     `json:"previousValue"`
}

func (SetCustomLineItemCustomFieldChange) MarshalJSON

func (obj SetCustomLineItemCustomFieldChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemCustomTypeChange

type SetCustomLineItemCustomTypeChange struct {
	// Update action for `setCustomLineItemCustomType`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	NextValue        CustomFields    `json:"nextValue"`
	PreviousValue    CustomFields    `json:"previousValue"`
}

func (SetCustomLineItemCustomTypeChange) MarshalJSON

func (obj SetCustomLineItemCustomTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemMoneyChange

type SetCustomLineItemMoneyChange struct {
	// Update action for `setCustomLineItemMoney`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	NextValue        Money           `json:"nextValue"`
	PreviousValue    Money           `json:"previousValue"`
}

func (SetCustomLineItemMoneyChange) MarshalJSON

func (obj SetCustomLineItemMoneyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemShippingDetailsChange

type SetCustomLineItemShippingDetailsChange struct {
	// Update action for `setCustomLineItemShippingDetails`
	Change           string              `json:"change"`
	CustomLineItemId string              `json:"customLineItemId"`
	NextValue        ItemShippingDetails `json:"nextValue"`
	PreviousValue    ItemShippingDetails `json:"previousValue"`
}

func (SetCustomLineItemShippingDetailsChange) MarshalJSON

func (obj SetCustomLineItemShippingDetailsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemTaxAmountChange

type SetCustomLineItemTaxAmountChange struct {
	// Update action for `setCustomLineItemTaxAmount`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	TaxMode          TaxMode         `json:"taxMode"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	NextValue TaxRate `json:"nextValue"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	PreviousValue TaxRate `json:"previousValue"`
}

func (SetCustomLineItemTaxAmountChange) MarshalJSON

func (obj SetCustomLineItemTaxAmountChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemTaxCategoryChange

type SetCustomLineItemTaxCategoryChange struct {
	// Update action for `setCustomLineItemTaxCategory`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	NextValue        Reference       `json:"nextValue"`
	PreviousValue    Reference       `json:"previousValue"`
}

func (SetCustomLineItemTaxCategoryChange) MarshalJSON

func (obj SetCustomLineItemTaxCategoryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemTaxRateChange

type SetCustomLineItemTaxRateChange struct {
	// Update action for `setCustomLineItemTaxRate`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	TaxMode          TaxMode         `json:"taxMode"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	NextValue TaxRate `json:"nextValue"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	PreviousValue TaxRate `json:"previousValue"`
}

func (SetCustomLineItemTaxRateChange) MarshalJSON

func (obj SetCustomLineItemTaxRateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemTaxedPriceChange

type SetCustomLineItemTaxedPriceChange struct {
	// Update action for `setCustomLineItemTaxedPrice`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	NextValue        Money           `json:"nextValue"`
	PreviousValue    Money           `json:"previousValue"`
}

func (SetCustomLineItemTaxedPriceChange) MarshalJSON

func (obj SetCustomLineItemTaxedPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomLineItemTotalPriceChange

type SetCustomLineItemTotalPriceChange struct {
	// Update action for `setCustomLineItemTotalPrice`
	Change           string          `json:"change"`
	CustomLineItem   LocalizedString `json:"customLineItem"`
	CustomLineItemId string          `json:"customLineItemId"`
	NextValue        Money           `json:"nextValue"`
	PreviousValue    Money           `json:"previousValue"`
}

func (SetCustomLineItemTotalPriceChange) MarshalJSON

func (obj SetCustomLineItemTotalPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomShippingMethodChange

type SetCustomShippingMethodChange struct {
	// Update action for `setCustomShippingMethod`
	Change        string                          `json:"change"`
	NextValue     CustomShippingMethodChangeValue `json:"nextValue"`
	PreviousValue CustomShippingMethodChangeValue `json:"previousValue"`
}

func (SetCustomShippingMethodChange) MarshalJSON

func (obj SetCustomShippingMethodChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomTypeChange

type SetCustomTypeChange struct {
	// Update action for setting a custom type
	Change        string       `json:"change"`
	NextValue     CustomFields `json:"nextValue"`
	PreviousValue CustomFields `json:"previousValue"`
}

func (SetCustomTypeChange) MarshalJSON

func (obj SetCustomTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomerChange

type SetCustomerChange struct {
	// Shape of the action for `setCustomer`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (SetCustomerChange) MarshalJSON

func (obj SetCustomerChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomerEmailChange

type SetCustomerEmailChange struct {
	// Shape of the action for `setCustomerEmail`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetCustomerEmailChange) MarshalJSON

func (obj SetCustomerEmailChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomerGroupChange

type SetCustomerGroupChange struct {
	// Shape of the action for `setCustomerGroup`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (SetCustomerGroupChange) MarshalJSON

func (obj SetCustomerGroupChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomerIdChange

type SetCustomerIdChange struct {
	// Shape of the action for `setCustomerId`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetCustomerIdChange) MarshalJSON

func (obj SetCustomerIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetCustomerNumberChange

type SetCustomerNumberChange struct {
	// Shape of the action for `setCustomerNumber`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetCustomerNumberChange) MarshalJSON

func (obj SetCustomerNumberChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDateOfBirthChange

type SetDateOfBirthChange struct {
	// Shape of the action for `setDateOfBirth`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetDateOfBirthChange) MarshalJSON

func (obj SetDateOfBirthChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDefaultBillingAddressChange

type SetDefaultBillingAddressChange struct {
	// Update action for `setDefaultBillingAddress` action.
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (SetDefaultBillingAddressChange) MarshalJSON

func (obj SetDefaultBillingAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDefaultShippingAddressChange

type SetDefaultShippingAddressChange struct {
	// Update action for `setDefaultShippingAddress` action.
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (SetDefaultShippingAddressChange) MarshalJSON

func (obj SetDefaultShippingAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDeleteDaysAfterLastModificationChange

type SetDeleteDaysAfterLastModificationChange struct {
	// Shape of the action for `setDeleteDaysAfterLastModification`
	Change        string `json:"change"`
	PreviousValue int    `json:"previousValue"`
	NextValue     int    `json:"nextValue"`
}

func (SetDeleteDaysAfterLastModificationChange) MarshalJSON

func (obj SetDeleteDaysAfterLastModificationChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDeliveryAddressChange

type SetDeliveryAddressChange struct {
	// Update action for `setDeliveryAddress`
	Change        string  `json:"change"`
	DeliveryId    string  `json:"deliveryId"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (SetDeliveryAddressChange) MarshalJSON

func (obj SetDeliveryAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDeliveryItemsChange

type SetDeliveryItemsChange struct {
	// Update action for `setDeliveryItems`
	Change        string         `json:"change"`
	DeliveryId    string         `json:"deliveryId"`
	NextValue     []DeliveryItem `json:"nextValue"`
	PreviousValue []DeliveryItem `json:"previousValue"`
}

func (SetDeliveryItemsChange) MarshalJSON

func (obj SetDeliveryItemsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDescriptionChange

type SetDescriptionChange struct {
	// Shape of the action for `setDescription`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetDescriptionChange) MarshalJSON

func (obj SetDescriptionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDiscountedPriceChange

type SetDiscountedPriceChange struct {
	// Update action for `setDiscountedPrice`
	Change        string `json:"change"`
	CatalogData   string `json:"catalogData"`
	Variant       string `json:"variant"`
	PriceId       string `json:"priceId"`
	PreviousValue Price  `json:"previousValue"`
	NextValue     Price  `json:"nextValue"`
}

func (SetDiscountedPriceChange) MarshalJSON

func (obj SetDiscountedPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetDistributionChannelsChange

type SetDistributionChannelsChange struct {
	// Shape of the action for `setDistributionChannels`
	Change        string      `json:"change"`
	PreviousValue []Reference `json:"previousValue"`
	NextValue     []Reference `json:"nextValue"`
}

func (SetDistributionChannelsChange) MarshalJSON

func (obj SetDistributionChannelsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetExpectedDeliveryChange

type SetExpectedDeliveryChange struct {
	// Shape of the action for `setExpectedDelivery`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetExpectedDeliveryChange) MarshalJSON

func (obj SetExpectedDeliveryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetExternalIdChange

type SetExternalIdChange struct {
	// Shape of the action for `setExternalId`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetExternalIdChange) MarshalJSON

func (obj SetExternalIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetFirstNameChange

type SetFirstNameChange struct {
	// Shape of the action for `setFirstName`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetFirstNameChange) MarshalJSON

func (obj SetFirstNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetGeoLocationChange

type SetGeoLocationChange struct {
	// Update action for `setGeoLocation`
	Change        string      `json:"change"`
	NextValue     GeoLocation `json:"nextValue"`
	PreviousValue GeoLocation `json:"previousValue"`
}

func (SetGeoLocationChange) MarshalJSON

func (obj SetGeoLocationChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetImageLabelChange

type SetImageLabelChange struct {
	// Update action for `setImageLabel`
	Change        string `json:"change"`
	CatalogData   string `json:"catalogData"`
	PreviousValue Image  `json:"previousValue"`
	NextValue     Image  `json:"nextValue"`
}

func (SetImageLabelChange) MarshalJSON

func (obj SetImageLabelChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetInputTipChange

type SetInputTipChange struct {
	// Update action for `setInputTip` on product types
	Change string `json:"change"`
	// The name of the updated attribute.
	AttributeName string          `json:"attributeName"`
	NextValue     LocalizedString `json:"nextValue"`
	PreviousValue LocalizedString `json:"previousValue"`
}

func (SetInputTipChange) MarshalJSON

func (obj SetInputTipChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetInterfaceIdChange

type SetInterfaceIdChange struct {
	// Shape of the action for `setInterfaceId`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetInterfaceIdChange) MarshalJSON

func (obj SetInterfaceIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetIsValidChange

type SetIsValidChange struct {
	// Shape of the action for `setIsValid`
	Change        string `json:"change"`
	PreviousValue bool   `json:"previousValue"`
	NextValue     bool   `json:"nextValue"`
}

func (SetIsValidChange) MarshalJSON

func (obj SetIsValidChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetKeyChange

type SetKeyChange struct {
	// Shape of the action for `setKey`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetKeyChange) MarshalJSON

func (obj SetKeyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLanguagesChange

type SetLanguagesChange struct {
	// Update action for `setLanguages` on stores
	Change        string   `json:"change"`
	PreviousValue []string `json:"previousValue"`
	NextValue     []string `json:"nextValue"`
}

func (SetLanguagesChange) MarshalJSON

func (obj SetLanguagesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLastNameChange

type SetLastNameChange struct {
	// Shape of the action for `setLastName`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetLastNameChange) MarshalJSON

func (obj SetLastNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemDiscountedPriceChange

type SetLineItemDiscountedPriceChange struct {
	// Update action for `setLineItemDiscountedPrice`
	Change        string                  `json:"change"`
	LineItem      LocalizedString         `json:"lineItem"`
	Variant       string                  `json:"variant"`
	NextValue     DiscountedLineItemPrice `json:"nextValue"`
	PreviousValue DiscountedLineItemPrice `json:"previousValue"`
}

func (SetLineItemDiscountedPriceChange) MarshalJSON

func (obj SetLineItemDiscountedPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemDiscountedPricePerQuantityChange

type SetLineItemDiscountedPricePerQuantityChange struct {
	// Update action for `setLineItemDiscountedPricePerQuantity`
	Change        string                             `json:"change"`
	LineItem      LocalizedString                    `json:"lineItem"`
	Variant       string                             `json:"variant"`
	NextValue     DiscountedLineItemPriceForQuantity `json:"nextValue"`
	PreviousValue DiscountedLineItemPriceForQuantity `json:"previousValue"`
}

func (SetLineItemDiscountedPricePerQuantityChange) MarshalJSON

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemDistributionChannelChange

type SetLineItemDistributionChannelChange struct {
	// Update action for `setLineItemDistributionChannel`
	Change        string          `json:"change"`
	LineItem      LocalizedString `json:"lineItem"`
	Variant       string          `json:"variant"`
	NextValue     Reference       `json:"nextValue"`
	PreviousValue Reference       `json:"previousValue"`
}

func (SetLineItemDistributionChannelChange) MarshalJSON

func (obj SetLineItemDistributionChannelChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemPriceChange

type SetLineItemPriceChange struct {
	// Update action for `setLineItemPrice`
	Change        string          `json:"change"`
	LineItem      LocalizedString `json:"lineItem"`
	NextValue     Price           `json:"nextValue"`
	PreviousValue Price           `json:"previousValue"`
}

func (SetLineItemPriceChange) MarshalJSON

func (obj SetLineItemPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemProductSlugChange

type SetLineItemProductSlugChange struct {
	// Update action for `setLineItemProductSlug`
	Change        string          `json:"change"`
	LineItem      LocalizedString `json:"lineItem"`
	Variant       string          `json:"variant"`
	NextValue     LocalizedString `json:"nextValue"`
	PreviousValue LocalizedString `json:"previousValue"`
}

func (SetLineItemProductSlugChange) MarshalJSON

func (obj SetLineItemProductSlugChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemShippingDetailsChange

type SetLineItemShippingDetailsChange struct {
	// Update action for `setLineItemShippingDetails`
	Change        string              `json:"change"`
	LineItemId    string              `json:"lineItemId"`
	NextValue     ItemShippingDetails `json:"nextValue"`
	PreviousValue ItemShippingDetails `json:"previousValue"`
}

func (SetLineItemShippingDetailsChange) MarshalJSON

func (obj SetLineItemShippingDetailsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemTaxAmountChange

type SetLineItemTaxAmountChange struct {
	// Update action for `setLineItemTaxAmount`
	Change   string          `json:"change"`
	LineItem LocalizedString `json:"lineItem"`
	Variant  string          `json:"variant"`
	TaxMode  TaxMode         `json:"taxMode"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	NextValue TaxRate `json:"nextValue"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	PreviousValue TaxRate `json:"previousValue"`
}

func (SetLineItemTaxAmountChange) MarshalJSON

func (obj SetLineItemTaxAmountChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemTaxRateChange

type SetLineItemTaxRateChange struct {
	// Update action for `setLineItemTaxRate`
	Change   string          `json:"change"`
	LineItem LocalizedString `json:"lineItem"`
	Variant  string          `json:"variant"`
	TaxMode  TaxMode         `json:"taxMode"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	NextValue TaxRate `json:"nextValue"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	PreviousValue TaxRate `json:"previousValue"`
}

func (SetLineItemTaxRateChange) MarshalJSON

func (obj SetLineItemTaxRateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemTaxedPriceChange

type SetLineItemTaxedPriceChange struct {
	// Update action for `setLineItemTaxedPrice`
	Change        string          `json:"change"`
	LineItem      LocalizedString `json:"lineItem"`
	LineItemId    string          `json:"lineItemId"`
	NextValue     TaxedItemPrice  `json:"nextValue"`
	PreviousValue TaxedItemPrice  `json:"previousValue"`
}

func (SetLineItemTaxedPriceChange) MarshalJSON

func (obj SetLineItemTaxedPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLineItemTotalPriceChange

type SetLineItemTotalPriceChange struct {
	// Update action for `setLineItemTotalPrice`
	Change        string          `json:"change"`
	LineItem      LocalizedString `json:"lineItem"`
	NextValue     Money           `json:"nextValue"`
	PreviousValue Money           `json:"previousValue"`
}

func (SetLineItemTotalPriceChange) MarshalJSON

func (obj SetLineItemTotalPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLocaleChange

type SetLocaleChange struct {
	// Update action for `setLocale` on reviews
	Change string `json:"change"`
	// A locale of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag).
	PreviousValue string `json:"previousValue"`
	// A locale of [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag).
	NextValue string `json:"nextValue"`
}

func (SetLocaleChange) MarshalJSON

func (obj SetLocaleChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetLocalizedDescriptionChange

type SetLocalizedDescriptionChange struct {
	// Shape of the action for `setDescription`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (SetLocalizedDescriptionChange) MarshalJSON

func (obj SetLocalizedDescriptionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMaxApplicationsChange

type SetMaxApplicationsChange struct {
	// Shape of the action for `setMaxApplications`
	Change        string `json:"change"`
	PreviousValue int    `json:"previousValue"`
	NextValue     int    `json:"nextValue"`
}

func (SetMaxApplicationsChange) MarshalJSON

func (obj SetMaxApplicationsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMaxApplicationsPerCustomerChange

type SetMaxApplicationsPerCustomerChange struct {
	// Shape of the action for `setMaxApplicationsPerCustomer`
	Change        string `json:"change"`
	PreviousValue int    `json:"previousValue"`
	NextValue     int    `json:"nextValue"`
}

func (SetMaxApplicationsPerCustomerChange) MarshalJSON

func (obj SetMaxApplicationsPerCustomerChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMetaDescriptionChange

type SetMetaDescriptionChange struct {
	// Shape of the action for `setMetaDescription`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (SetMetaDescriptionChange) MarshalJSON

func (obj SetMetaDescriptionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMetaKeywordsChange

type SetMetaKeywordsChange struct {
	// Shape of the action for `setMetaKeywords`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (SetMetaKeywordsChange) MarshalJSON

func (obj SetMetaKeywordsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMetaTitleChange

type SetMetaTitleChange struct {
	// Shape of the action for `setMetaTitle`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (SetMetaTitleChange) MarshalJSON

func (obj SetMetaTitleChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMethodInfoInterfaceChange

type SetMethodInfoInterfaceChange struct {
	// Shape of the action for `setMethodInfoInterface`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetMethodInfoInterfaceChange) MarshalJSON

func (obj SetMethodInfoInterfaceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMethodInfoMethodChange

type SetMethodInfoMethodChange struct {
	// Shape of the action for `setMethodInfoMethod`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetMethodInfoMethodChange) MarshalJSON

func (obj SetMethodInfoMethodChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMethodInfoNameChange

type SetMethodInfoNameChange struct {
	// Shape of the action for `setMethodInfoName`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (SetMethodInfoNameChange) MarshalJSON

func (obj SetMethodInfoNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetMiddleNameChange

type SetMiddleNameChange struct {
	// Shape of the action for `setMiddleName`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetMiddleNameChange) MarshalJSON

func (obj SetMiddleNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetNameChange

type SetNameChange struct {
	// Shape of the action for `setName`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (SetNameChange) MarshalJSON

func (obj SetNameChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetOrderLineItemCustomFieldChange

type SetOrderLineItemCustomFieldChange struct {
	// Update action for `setLineItemCustomField`
	Change        string          `json:"change"`
	CustomTypeId  string          `json:"customTypeId"`
	Name          string          `json:"name"`
	Variant       string          `json:"variant"`
	LineItem      LocalizedString `json:"lineItem"`
	NextValue     interface{}     `json:"nextValue"`
	PreviousValue interface{}     `json:"previousValue"`
}

func (SetOrderLineItemCustomFieldChange) MarshalJSON

func (obj SetOrderLineItemCustomFieldChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetOrderLineItemCustomTypeChange

type SetOrderLineItemCustomTypeChange struct {
	// Update action for `setLineItemCustomType`
	Change        string          `json:"change"`
	LineItem      LocalizedString `json:"lineItem"`
	Variant       string          `json:"variant"`
	NextValue     CustomFields    `json:"nextValue"`
	PreviousValue CustomFields    `json:"previousValue"`
}

func (SetOrderLineItemCustomTypeChange) MarshalJSON

func (obj SetOrderLineItemCustomTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetOrderNumberChange

type SetOrderNumberChange struct {
	// Shape of the action for `setOrderNumber`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetOrderNumberChange) MarshalJSON

func (obj SetOrderNumberChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetOrderTaxedPriceChange

type SetOrderTaxedPriceChange struct {
	// Update action for `setOrderTaxedPrice`
	Change        string         `json:"change"`
	TaxMode       TaxMode        `json:"taxMode"`
	NextValue     TaxedItemPrice `json:"nextValue"`
	PreviousValue TaxedItemPrice `json:"previousValue"`
}

func (SetOrderTaxedPriceChange) MarshalJSON

func (obj SetOrderTaxedPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetOrderTotalPriceChange

type SetOrderTotalPriceChange struct {
	// Update action for `setOrderTotalPrice`
	Change        string `json:"change"`
	NextValue     Money  `json:"nextValue"`
	PreviousValue Money  `json:"previousValue"`
}

func (SetOrderTotalPriceChange) MarshalJSON

func (obj SetOrderTotalPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetOrderTotalTaxChange

type SetOrderTotalTaxChange struct {
	// Update action for `setOrderTotalTax`
	Change        string  `json:"change"`
	TaxMode       TaxMode `json:"taxMode"`
	NextValue     Money   `json:"nextValue"`
	PreviousValue Money   `json:"previousValue"`
}

func (SetOrderTotalTaxChange) MarshalJSON

func (obj SetOrderTotalTaxChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetParcelItemsChange

type SetParcelItemsChange struct {
	// Update action for `setParcelItems`
	Change        string            `json:"change"`
	Parcel        ParcelChangeValue `json:"parcel"`
	NextValue     []DeliveryItem    `json:"nextValue"`
	PreviousValue []DeliveryItem    `json:"previousValue"`
}

func (SetParcelItemsChange) MarshalJSON

func (obj SetParcelItemsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetParcelMeasurementsChange

type SetParcelMeasurementsChange struct {
	// Update action for `setParcelMeasurements`
	Change        string             `json:"change"`
	Parcel        ParcelChangeValue  `json:"parcel"`
	NextValue     ParcelMeasurements `json:"nextValue"`
	PreviousValue ParcelMeasurements `json:"previousValue"`
}

func (SetParcelMeasurementsChange) MarshalJSON

func (obj SetParcelMeasurementsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetParcelTrackingDataChange

type SetParcelTrackingDataChange struct {
	// Update action for `setParcelTrackingData`
	Change        string            `json:"change"`
	Parcel        ParcelChangeValue `json:"parcel"`
	NextValue     TrackingData      `json:"nextValue"`
	PreviousValue TrackingData      `json:"previousValue"`
}

func (SetParcelTrackingDataChange) MarshalJSON

func (obj SetParcelTrackingDataChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetPricesChange

type SetPricesChange struct {
	// Update action for `setPrices`
	Change        string  `json:"change"`
	CatalogData   string  `json:"catalogData"`
	Variant       string  `json:"variant"`
	PreviousValue []Price `json:"previousValue"`
	NextValue     []Price `json:"nextValue"`
}

func (SetPricesChange) MarshalJSON

func (obj SetPricesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetProductPriceCustomFieldChange

type SetProductPriceCustomFieldChange struct {
	// Update action for `setProductPriceCustomField`
	Change        string       `json:"change"`
	CatalogData   string       `json:"catalogData"`
	PreviousValue CustomFields `json:"previousValue"`
	NextValue     CustomFields `json:"nextValue"`
}

func (SetProductPriceCustomFieldChange) MarshalJSON

func (obj SetProductPriceCustomFieldChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetProductPriceCustomTypeChange

type SetProductPriceCustomTypeChange struct {
	// Update action for `setProductPriceCustomType`
	Change        string       `json:"change"`
	CatalogData   string       `json:"catalogData"`
	PreviousValue CustomFields `json:"previousValue"`
	NextValue     CustomFields `json:"nextValue"`
}

func (SetProductPriceCustomTypeChange) MarshalJSON

func (obj SetProductPriceCustomTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetProductVariantKeyChange

type SetProductVariantKeyChange struct {
	// Update action for `setProductVariantKey`
	Change        string `json:"change"`
	CatalogData   string `json:"catalogData"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetProductVariantKeyChange) MarshalJSON

func (obj SetProductVariantKeyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetPropertyChange

type SetPropertyChange struct {
	// Update action for `setProperty` on custom objects
	Change string `json:"change"`
	// Value path to the property that was changed
	Path          string      `json:"path"`
	NextValue     interface{} `json:"nextValue"`
	PreviousValue interface{} `json:"previousValue"`
}

func (SetPropertyChange) MarshalJSON

func (obj SetPropertyChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetRatingChange

type SetRatingChange struct {
	// Shape of the action for `setRating`
	Change        string `json:"change"`
	PreviousValue int    `json:"previousValue"`
	NextValue     int    `json:"nextValue"`
}

func (SetRatingChange) MarshalJSON

func (obj SetRatingChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetReservationsChange

type SetReservationsChange struct {
	// Update action for `setReservations` on inventories
	Change        string        `json:"change"`
	NextValue     []Reservation `json:"nextValue"`
	PreviousValue []Reservation `json:"previousValue"`
}

func (SetReservationsChange) MarshalJSON

func (obj SetReservationsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetRestockableInDaysChange

type SetRestockableInDaysChange struct {
	// Shape of the action for `setRestockableInDays`
	Change        string `json:"change"`
	PreviousValue int    `json:"previousValue"`
	NextValue     int    `json:"nextValue"`
}

func (SetRestockableInDaysChange) MarshalJSON

func (obj SetRestockableInDaysChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetReturnPaymentStateChange

type SetReturnPaymentStateChange struct {
	// Update action for `setReturnPaymentState`
	Change        string             `json:"change"`
	NextValue     ReturnPaymentState `json:"nextValue"`
	PreviousValue ReturnPaymentState `json:"previousValue"`
}

func (SetReturnPaymentStateChange) MarshalJSON

func (obj SetReturnPaymentStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetReturnShipmentStateChange

type SetReturnShipmentStateChange struct {
	// Update action for `setReturnShipmentState`
	Change        string              `json:"change"`
	NextValue     ReturnShipmentState `json:"nextValue"`
	PreviousValue ReturnShipmentState `json:"previousValue"`
}

func (SetReturnShipmentStateChange) MarshalJSON

func (obj SetReturnShipmentStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetSalutationChange

type SetSalutationChange struct {
	// Shape of the action for `setSalutation`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetSalutationChange) MarshalJSON

func (obj SetSalutationChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetSearchKeywordsChange

type SetSearchKeywordsChange struct {
	// Update action for `setSearchKeywords`
	Change        string         `json:"change"`
	CatalogData   string         `json:"catalogData"`
	PreviousValue SearchKeywords `json:"previousValue"`
	NextValue     SearchKeywords `json:"nextValue"`
}

func (SetSearchKeywordsChange) MarshalJSON

func (obj SetSearchKeywordsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingAddressChange

type SetShippingAddressChange struct {
	// Update action for `setShippingAddress`
	Change        string  `json:"change"`
	NextValue     Address `json:"nextValue"`
	PreviousValue Address `json:"previousValue"`
}

func (SetShippingAddressChange) MarshalJSON

func (obj SetShippingAddressChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingInfoPriceChange

type SetShippingInfoPriceChange struct {
	// Update action for `setShippingInfoPrice`
	Change        string `json:"change"`
	NextValue     Money  `json:"nextValue"`
	PreviousValue Money  `json:"previousValue"`
}

func (SetShippingInfoPriceChange) MarshalJSON

func (obj SetShippingInfoPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingInfoTaxedPriceChange

type SetShippingInfoTaxedPriceChange struct {
	// Update action for `setShippingInfoTaxedPrice`
	Change        string     `json:"change"`
	NextValue     TaxedPrice `json:"nextValue"`
	PreviousValue TaxedPrice `json:"previousValue"`
}

func (SetShippingInfoTaxedPriceChange) MarshalJSON

func (obj SetShippingInfoTaxedPriceChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingMethodChange

type SetShippingMethodChange struct {
	// Update action for `setShippingMethod`
	Change        string                    `json:"change"`
	NextValue     ShippingMethodChangeValue `json:"nextValue"`
	PreviousValue ShippingMethodChangeValue `json:"previousValue"`
}

func (SetShippingMethodChange) MarshalJSON

func (obj SetShippingMethodChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingMethodTaxAmountChange

type SetShippingMethodTaxAmountChange struct {
	// Update action for `setShippingMethodTaxAmount`
	Change        string      `json:"change"`
	TaxMode       TaxMode     `json:"taxMode"`
	NextValue     interface{} `json:"nextValue"`
	PreviousValue interface{} `json:"previousValue"`
}

func (SetShippingMethodTaxAmountChange) MarshalJSON

func (obj SetShippingMethodTaxAmountChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingMethodTaxRateChange

type SetShippingMethodTaxRateChange struct {
	// Update action for `setShippingMethodTaxRate`
	Change  string  `json:"change"`
	TaxMode TaxMode `json:"taxMode"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	NextValue TaxRate `json:"nextValue"`
	// Shape of the value for `addTaxRate` and `removeTaxRate` actions
	PreviousValue TaxRate `json:"previousValue"`
}

func (SetShippingMethodTaxRateChange) MarshalJSON

func (obj SetShippingMethodTaxRateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingRateChange

type SetShippingRateChange struct {
	// Update action for `setShippingRate`
	Change        string `json:"change"`
	NextValue     Money  `json:"nextValue"`
	PreviousValue Money  `json:"previousValue"`
}

func (SetShippingRateChange) MarshalJSON

func (obj SetShippingRateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShippingRateInputChange

type SetShippingRateInputChange struct {
	// Update action for `setShippingRateInput`
	Change        string      `json:"change"`
	NextValue     interface{} `json:"nextValue"`
	PreviousValue interface{} `json:"previousValue"`
}

func (SetShippingRateInputChange) MarshalJSON

func (obj SetShippingRateInputChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShoppingListLineItemCustomFieldChange

type SetShoppingListLineItemCustomFieldChange struct {
	// Update action for `setLineItemCustomField`
	Change        string                    `json:"change"`
	Name          string                    `json:"name"`
	CustomTypeId  string                    `json:"customTypeId"`
	LineItem      ShoppingListLineItemValue `json:"lineItem"`
	NextValue     interface{}               `json:"nextValue"`
	PreviousValue interface{}               `json:"previousValue"`
}

func (SetShoppingListLineItemCustomFieldChange) MarshalJSON

func (obj SetShoppingListLineItemCustomFieldChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetShoppingListLineItemCustomTypeChange

type SetShoppingListLineItemCustomTypeChange struct {
	// Update action for `setLineItemCustomType`
	Change        string                    `json:"change"`
	LineItem      ShoppingListLineItemValue `json:"lineItem"`
	NextValue     CustomFields              `json:"nextValue"`
	PreviousValue CustomFields              `json:"previousValue"`
}

func (SetShoppingListLineItemCustomTypeChange) MarshalJSON

func (obj SetShoppingListLineItemCustomTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetSkuChange

type SetSkuChange struct {
	// Update action for `setSku`
	Change        string `json:"change"`
	CatalogData   string `json:"catalogData"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetSkuChange) MarshalJSON

func (obj SetSkuChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetSlugChange

type SetSlugChange struct {
	// Shape of the action for `setSlug`
	Change        string          `json:"change"`
	PreviousValue LocalizedString `json:"previousValue"`
	NextValue     LocalizedString `json:"nextValue"`
}

func (SetSlugChange) MarshalJSON

func (obj SetSlugChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetStateRolesChange

type SetStateRolesChange struct {
	Change        string      `json:"change"`
	PreviousValue []StateRole `json:"previousValue"`
	NextValue     []StateRole `json:"nextValue"`
}

func (SetStateRolesChange) MarshalJSON

func (obj SetStateRolesChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetStatusInterfaceCodeChange

type SetStatusInterfaceCodeChange struct {
	// Shape of the action for `setStatusInterfaceCode`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetStatusInterfaceCodeChange) MarshalJSON

func (obj SetStatusInterfaceCodeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetStatusInterfaceTextChange

type SetStatusInterfaceTextChange struct {
	// Shape of the action for `setStatusInterfaceText`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetStatusInterfaceTextChange) MarshalJSON

func (obj SetStatusInterfaceTextChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetStoreChange

type SetStoreChange struct {
	// Shape of the action for `setStore`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (SetStoreChange) MarshalJSON

func (obj SetStoreChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetStoresChange

type SetStoresChange struct {
	// Shape of the action for `setStores`
	Change        string      `json:"change"`
	PreviousValue []Reference `json:"previousValue"`
	NextValue     []Reference `json:"nextValue"`
}

func (SetStoresChange) MarshalJSON

func (obj SetStoresChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetSupplyChannelChange

type SetSupplyChannelChange struct {
	// Shape of the action for `setSupplyChannel`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (SetSupplyChannelChange) MarshalJSON

func (obj SetSupplyChannelChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetSupplyChannelsChange

type SetSupplyChannelsChange struct {
	// Shape of the action for `setSupplyChannels`
	Change        string      `json:"change"`
	PreviousValue []Reference `json:"previousValue"`
	NextValue     []Reference `json:"nextValue"`
}

func (SetSupplyChannelsChange) MarshalJSON

func (obj SetSupplyChannelsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTargetChange

type SetTargetChange struct {
	// Shape of the action for `setTarget`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (SetTargetChange) MarshalJSON

func (obj SetTargetChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTaxCategoryChange

type SetTaxCategoryChange struct {
	// Shape of the action for `setTaxCategory`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (SetTaxCategoryChange) MarshalJSON

func (obj SetTaxCategoryChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTextChange

type SetTextChange struct {
	// Shape of the action for `setText`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetTextChange) MarshalJSON

func (obj SetTextChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTextLineItemCustomFieldChange

type SetTextLineItemCustomFieldChange struct {
	// Update action for `setTextLineItemCustomField`
	Change        string            `json:"change"`
	Name          string            `json:"name"`
	CustomTypeId  string            `json:"customTypeId"`
	TextLineItem  TextLineItemValue `json:"textLineItem"`
	NextValue     interface{}       `json:"nextValue"`
	PreviousValue interface{}       `json:"previousValue"`
}

func (SetTextLineItemCustomFieldChange) MarshalJSON

func (obj SetTextLineItemCustomFieldChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTextLineItemCustomTypeChange

type SetTextLineItemCustomTypeChange struct {
	// Update action for `setTextLineItemCustomType`
	Change        string            `json:"change"`
	TextLineItem  TextLineItemValue `json:"textLineItem"`
	NextValue     CustomFields      `json:"nextValue"`
	PreviousValue CustomFields      `json:"previousValue"`
}

func (SetTextLineItemCustomTypeChange) MarshalJSON

func (obj SetTextLineItemCustomTypeChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTextLineItemDescriptionChange

type SetTextLineItemDescriptionChange struct {
	Change        string            `json:"change"`
	TextLineItem  TextLineItemValue `json:"textLineItem"`
	PreviousValue LocalizedString   `json:"previousValue"`
	NextValue     LocalizedString   `json:"nextValue"`
}

func (SetTextLineItemDescriptionChange) MarshalJSON

func (obj SetTextLineItemDescriptionChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTitleChange

type SetTitleChange struct {
	// Shape of the action for `setTitle`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetTitleChange) MarshalJSON

func (obj SetTitleChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetTransitionsChange

type SetTransitionsChange struct {
	// Shape of the action for `setTransitions`
	Change        string      `json:"change"`
	PreviousValue []Reference `json:"previousValue"`
	NextValue     []Reference `json:"nextValue"`
}

func (SetTransitionsChange) MarshalJSON

func (obj SetTransitionsChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetValidFromAndUntilChange

type SetValidFromAndUntilChange struct {
	Change string `json:"change"`
	// Shape of the value for `setValidFromAndUntil` action
	PreviousValue ValidFromAndUntilValue `json:"previousValue"`
	// Shape of the value for `setValidFromAndUntil` action
	NextValue ValidFromAndUntilValue `json:"nextValue"`
}

func (SetValidFromAndUntilChange) MarshalJSON

func (obj SetValidFromAndUntilChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetValidFromChange

type SetValidFromChange struct {
	// Shape of the action for `setValidFrom`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetValidFromChange) MarshalJSON

func (obj SetValidFromChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetValidUntilChange

type SetValidUntilChange struct {
	// Shape of the action for `setValidUntil`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetValidUntilChange) MarshalJSON

func (obj SetValidUntilChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetValueChange

type SetValueChange struct {
	// Update action for `setValue` on custom objects
	Change        string      `json:"change"`
	NextValue     interface{} `json:"nextValue"`
	PreviousValue interface{} `json:"previousValue"`
}

func (SetValueChange) MarshalJSON

func (obj SetValueChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetVariantAvailabilityChange

type SetVariantAvailabilityChange struct {
	// Update action for `setVariantAvailability`
	Change        string                     `json:"change"`
	CatalogData   string                     `json:"catalogData"`
	Variant       string                     `json:"variant"`
	PreviousValue ProductVariantAvailability `json:"previousValue"`
	NextValue     ProductVariantAvailability `json:"nextValue"`
}

func (SetVariantAvailabilityChange) MarshalJSON

func (obj SetVariantAvailabilityChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SetVatIdChange

type SetVatIdChange struct {
	// Shape of the action for `setVatId`
	Change        string `json:"change"`
	PreviousValue string `json:"previousValue"`
	NextValue     string `json:"nextValue"`
}

func (SetVatIdChange) MarshalJSON

func (obj SetVatIdChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type ShipmentState

type ShipmentState string
const (
	ShipmentStateShipped   ShipmentState = "Shipped"
	ShipmentStateReady     ShipmentState = "Ready"
	ShipmentStatePending   ShipmentState = "Pending"
	ShipmentStateDelayed   ShipmentState = "Delayed"
	ShipmentStatePartial   ShipmentState = "Partial"
	ShipmentStateBackorder ShipmentState = "Backorder"
)

type ShippingMethodChangeValue

type ShippingMethodChangeValue struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type ShippingRate

type ShippingRate struct {
	Price     Money `json:"price"`
	FreeAbove Money `json:"freeAbove"`
	// Only appears in response to requests for shipping methods by cart or location to mark this shipping rate as one that matches the cart or location.
	IsMatching bool                    `json:"isMatching"`
	Tiers      []ShippingRatePriceTier `json:"tiers"`
}

type ShippingRatePriceTier

type ShippingRatePriceTier struct {
	Type ShippingRateTierType `json:"type"`
}

type ShippingRateTierType

type ShippingRateTierType string
const (
	ShippingRateTierTypeCartValue          ShippingRateTierType = "CartValue"
	ShippingRateTierTypeCartClassification ShippingRateTierType = "CartClassification"
	ShippingRateTierTypeCartScore          ShippingRateTierType = "CartScore"
)

type ShoppingListLineItemValue

type ShoppingListLineItemValue struct {
	ID        string          `json:"id"`
	Name      LocalizedString `json:"name"`
	VariantId int             `json:"variantId"`
}

type Source

type Source string

* * Values for the Source enumeration.

const (
	SourceMerchantCenter Source = "MerchantCenter"
	SourceImpEx          Source = "ImpEx"
	SourceApiClient      Source = "ApiClient"
)

type StackingMode

type StackingMode string
const (
	StackingModeStacking              StackingMode = "Stacking"
	StackingModeStopAfterThisDiscount StackingMode = "StopAfterThisDiscount"
)

type StateRole

type StateRole string
const (
	StateRoleReviewIncludedInStatistics StateRole = "ReviewIncludedInStatistics"
	StateRoleReturn                     StateRole = "Return"
)

type StateType

type StateType string
const (
	StateTypeOrderState    StateType = "OrderState"
	StateTypeLineItemState StateType = "LineItemState"
	StateTypeProductState  StateType = "ProductState"
	StateTypeReviewState   StateType = "ReviewState"
	StateTypePaymentState  StateType = "PaymentState"
)

type StringLabel

type StringLabel struct {
	Value string `json:"value"`
}

func (StringLabel) MarshalJSON

func (obj StringLabel) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type SubRate

type SubRate struct {
	Name   string `json:"name"`
	Amount int    `json:"amount"`
}

type SuggestTokenizer

type SuggestTokenizer struct {
	Type string `json:"type"`
}

type SyncInfo

type SyncInfo struct {
	Channel Reference `json:"channel"`
	// Can be used to reference an external order instance, file etc.
	ExternalId string `json:"externalId"`
	SyncedAt   string `json:"syncedAt"`
}

type TaxCalculationMode

type TaxCalculationMode string
const (
	TaxCalculationModeLineItemLevel  TaxCalculationMode = "LineItemLevel"
	TaxCalculationModeUnitPriceLevel TaxCalculationMode = "UnitPriceLevel"
)

type TaxMode

type TaxMode string
const (
	TaxModePlatform       TaxMode = "Platform"
	TaxModeExternal       TaxMode = "External"
	TaxModeExternalAmount TaxMode = "ExternalAmount"
	TaxModeDisabled       TaxMode = "Disabled"
)

type TaxRate

type TaxRate struct {
	// The ID is always set if the tax rate is part of a TaxCategory. The external tax rates in a Cart do not contain an `id`.
	ID   string `json:"id"`
	Name string `json:"name"`
	// Percentage in the range of [0..1]. The sum of the amounts of all `subRates`, if there are any.
	Amount          int  `json:"amount"`
	IncludedInPrice bool `json:"includedInPrice"`
	// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
	Country string `json:"country"`
	// The state in the country
	State    string    `json:"state"`
	SubRates []SubRate `json:"subRates"`
}

* * Shape of the value for `addTaxRate` and `removeTaxRate` actions

type TaxedItemPrice

type TaxedItemPrice struct {
	TotalNet   Money `json:"totalNet"`
	TotalGross Money `json:"totalGross"`
}

type TaxedPrice

type TaxedPrice struct {
	TotalNet   Money `json:"totalNet"`
	TotalGross Money `json:"totalGross"`
}

type TextInputHint

type TextInputHint string
const (
	TextInputHintSingleLine TextInputHint = "SingleLine"
	TextInputHintMultiLine  TextInputHint = "MultiLine"
)

type TextLineItem

type TextLineItem struct {
	AddedAt     string          `json:"addedAt"`
	Custom      CustomFields    `json:"custom"`
	Description LocalizedString `json:"description"`
	ID          string          `json:"id"`
	Name        LocalizedString `json:"name"`
	Quantity    int             `json:"quantity"`
}

type TextLineItemValue

type TextLineItemValue struct {
	ID   string          `json:"id"`
	Name LocalizedString `json:"name"`
}

type TrackingData

type TrackingData struct {
	// The ID to track one parcel.
	TrackingId string `json:"trackingId"`
	// The carrier that delivers the parcel.
	Carrier             string `json:"carrier"`
	Provider            string `json:"provider"`
	ProviderTransaction string `json:"providerTransaction"`
	// Flag to distinguish if the parcel is on the way to the customer (false) or on the way back (true).
	IsReturn bool `json:"isReturn"`
}

type Transaction

type Transaction struct {
	// The unique ID of this object.
	ID string `json:"id"`
	// The time at which the transaction took place.
	Timestamp string          `json:"timestamp"`
	Type      TransactionType `json:"type"`
	Amount    Money           `json:"amount"`
	// The identifier that is used by the interface that managed the transaction (usually the PSP). If a matching interaction was logged in the `interfaceInteractions` array, the corresponding interaction should be findable with this ID.
	InteractionId string           `json:"interactionId"`
	State         TransactionState `json:"state"`
}

type TransactionChangeValue

type TransactionChangeValue struct {
	ID            string `json:"id"`
	InteractionId string `json:"interactionId"`
	Timestamp     string `json:"timestamp"`
}

type TransactionState

type TransactionState string
const (
	TransactionStateInitial TransactionState = "Initial"
	TransactionStatePending TransactionState = "Pending"
	TransactionStateSuccess TransactionState = "Success"
	TransactionStateFailure TransactionState = "Failure"
)

type TransactionType

type TransactionType string
const (
	TransactionTypeAuthorization       TransactionType = "Authorization"
	TransactionTypeCancelAuthorization TransactionType = "CancelAuthorization"
	TransactionTypeCharge              TransactionType = "Charge"
	TransactionTypeRefund              TransactionType = "Refund"
	TransactionTypeChargeback          TransactionType = "Chargeback"
)

type TransitionCustomLineItemStateChange

type TransitionCustomLineItemStateChange struct {
	// Update action for `transitionCustomLineItemState`
	Change        string      `json:"change"`
	LineItemId    string      `json:"lineItemId"`
	StateId       string      `json:"stateId"`
	NextValue     []ItemState `json:"nextValue"`
	PreviousValue []ItemState `json:"previousValue"`
}

func (TransitionCustomLineItemStateChange) MarshalJSON

func (obj TransitionCustomLineItemStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type TransitionLineItemStateChange

type TransitionLineItemStateChange struct {
	// Update action for `transitionLineItemState`
	Change        string      `json:"change"`
	LineItemId    string      `json:"lineItemId"`
	StateId       string      `json:"stateId"`
	NextValue     []ItemState `json:"nextValue"`
	PreviousValue []ItemState `json:"previousValue"`
}

func (TransitionLineItemStateChange) MarshalJSON

func (obj TransitionLineItemStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type TransitionStateChange

type TransitionStateChange struct {
	// Shape of the action for `transitionState`
	Change        string    `json:"change"`
	PreviousValue Reference `json:"previousValue"`
	NextValue     Reference `json:"nextValue"`
}

func (TransitionStateChange) MarshalJSON

func (obj TransitionStateChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type UnknownChange

type UnknownChange struct {
	Change        string      `json:"change"`
	PreviousValue interface{} `json:"previousValue"`
	NextValue     interface{} `json:"nextValue"`
}

func (UnknownChange) MarshalJSON

func (obj UnknownChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type UnpublishChange

type UnpublishChange struct {
	Change string `json:"change"`
}

func (UnpublishChange) MarshalJSON

func (obj UnpublishChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type UpdateSyncInfoChange

type UpdateSyncInfoChange struct {
	// Update action for `updateSyncInfo`
	Change    string   `json:"change"`
	ChannelId string   `json:"channelId"`
	NextValue SyncInfo `json:"nextValue"`
}

func (UpdateSyncInfoChange) MarshalJSON

func (obj UpdateSyncInfoChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

type UpdateType

type UpdateType string
const (
	UpdateTypeAddAddress                         UpdateType = "addAddress"
	UpdateTypeAddAsset                           UpdateType = "addAsset"
	UpdateTypeAddAttributeDefinition             UpdateType = "addAttributeDefinition"
	UpdateTypeAddBillingAddressId                UpdateType = "addBillingAddressId"
	UpdateTypeAddDelivery                        UpdateType = "addDelivery"
	UpdateTypeAddEnumValue                       UpdateType = "addEnumValue"
	UpdateTypeAddExternalImage                   UpdateType = "addExternalImage"
	UpdateTypeAddFieldDefinition                 UpdateType = "addFieldDefinition"
	UpdateTypeAddInterfaceInteraction            UpdateType = "addInterfaceInteraction"
	UpdateTypeAddItemShippingAddress             UpdateType = "addItemShippingAddress"
	UpdateTypeAddLineItem                        UpdateType = "addLineItem"
	UpdateTypeAddLocalizedEnumValue              UpdateType = "addLocalizedEnumValue"
	UpdateTypeAddLocation                        UpdateType = "addLocation"
	UpdateTypeAddParcelToDelivery                UpdateType = "addParcelToDelivery"
	UpdateTypeAddPayment                         UpdateType = "addPayment"
	UpdateTypeAddPlainEnumValue                  UpdateType = "addPlainEnumValue"
	UpdateTypeAddPrice                           UpdateType = "addPrice"
	UpdateTypeAddReturnInfo                      UpdateType = "addReturnInfo"
	UpdateTypeAddRoles                           UpdateType = "addRoles"
	UpdateTypeAddShippingAddressId               UpdateType = "addShippingAddressId"
	UpdateTypeAddTaxRate                         UpdateType = "addTaxRate"
	UpdateTypeAddTextLineItem                    UpdateType = "addTextLineItem"
	UpdateTypeAddToCategory                      UpdateType = "addToCategory"
	UpdateTypeAddTransaction                     UpdateType = "addTransaction"
	UpdateTypeAddVariant                         UpdateType = "addVariant"
	UpdateTypeChangeAddress                      UpdateType = "changeAddress"
	UpdateTypeChangeAmountPlanned                UpdateType = "changeAmountPlanned"
	UpdateTypeChangeAssetName                    UpdateType = "changeAssetName"
	UpdateTypeChangeAssetOrder                   UpdateType = "changeAssetOrder"
	UpdateTypeChangeAttributeConstraint          UpdateType = "changeAttributeConstraint"
	UpdateTypeChangeAttributeName                UpdateType = "changeAttributeName"
	UpdateTypeChangeAttributeOrderByName         UpdateType = "changeAttributeOrderByName"
	UpdateTypeChangeCartDiscounts                UpdateType = "changeCartDiscounts"
	UpdateTypeChangeCartPredicate                UpdateType = "changeCartPredicate"
	UpdateTypeChangeDescription                  UpdateType = "changeDescription"
	UpdateTypeChangeEmail                        UpdateType = "changeEmail"
	UpdateTypeChangeEnumKey                      UpdateType = "changeEnumKey"
	UpdateTypeChangeEnumValueLabel               UpdateType = "changeEnumValueLabel"
	UpdateTypeChangeEnumValueOrder               UpdateType = "changeEnumValueOrder"
	UpdateTypeChangeFieldDefinitionOrder         UpdateType = "changeFieldDefinitionOrder"
	UpdateTypeChangeGroups                       UpdateType = "changeGroups"
	UpdateTypeChangeInitial                      UpdateType = "changeInitial"
	UpdateTypeChangeInputHint                    UpdateType = "changeInputHint"
	UpdateTypeChangeIsActive                     UpdateType = "changeIsActive"
	UpdateTypeChangeIsSearchable                 UpdateType = "changeIsSearchable"
	UpdateTypeChangeKey                          UpdateType = "changeKey"
	UpdateTypeChangeLabel                        UpdateType = "changeLabel"
	UpdateTypeChangeLineItemQuantity             UpdateType = "changeLineItemQuantity"
	UpdateTypeChangeLineItemsOrder               UpdateType = "changeLineItemsOrder"
	UpdateTypeChangeLocalizedEnumValueLabel      UpdateType = "changeLocalizedEnumValueLabel"
	UpdateTypeChangeLocalizedEnumValueOrder      UpdateType = "changeLocalizedEnumValueOrder"
	UpdateTypeChangeMasterVariant                UpdateType = "changeMasterVariant"
	UpdateTypeChangeName                         UpdateType = "changeName"
	UpdateTypeChangeOrderHint                    UpdateType = "changeOrderHint"
	UpdateTypeChangeOrderState                   UpdateType = "changeOrderState"
	UpdateTypeChangeParent                       UpdateType = "changeParent"
	UpdateTypeChangePaymentState                 UpdateType = "changePaymentState"
	UpdateTypeChangePlainEnumValueLabel          UpdateType = "changePlainEnumValueLabel"
	UpdateTypeChangePredicate                    UpdateType = "changePredicate"
	UpdateTypeChangePrice                        UpdateType = "changePrice"
	UpdateTypeChangeQuantity                     UpdateType = "changeQuantity"
	UpdateTypeChangeRequiresDiscountCode         UpdateType = "changeRequiresDiscountCode"
	UpdateTypeChangeReviewRatingStatistics       UpdateType = "changeReviewRatingStatistics"
	UpdateTypeChangeShipmentState                UpdateType = "changeShipmentState"
	UpdateTypeChangeSlug                         UpdateType = "changeSlug"
	UpdateTypeChangeSortOrder                    UpdateType = "changeSortOrder"
	UpdateTypeChangeStackingMode                 UpdateType = "changeStackingMode"
	UpdateTypeChangeTarget                       UpdateType = "changeTarget"
	UpdateTypeChangeTextLineItemName             UpdateType = "changeTextLineItemName"
	UpdateTypeChangeTextLineItemQuantity         UpdateType = "changeTextLineItemQuantity"
	UpdateTypeChangeTextLineItemsOrder           UpdateType = "changeTextLineItemsOrder"
	UpdateTypeChangeTransactionInteractionId     UpdateType = "changeTransactionInteractionId"
	UpdateTypeChangeTransactionState             UpdateType = "changeTransactionState"
	UpdateTypeChangeTransactionTimestamp         UpdateType = "changeTransactionTimestamp"
	UpdateTypeChangeType                         UpdateType = "changeType"
	UpdateTypeChangeValue                        UpdateType = "changeValue"
	UpdateTypePublish                            UpdateType = "publish"
	UpdateTypeRemoveAddress                      UpdateType = "removeAddress"
	UpdateTypeRemoveAsset                        UpdateType = "removeAsset"
	UpdateTypeRemoveAttributeDefinition          UpdateType = "removeAttributeDefinition"
	UpdateTypeRemoveBillingAddressId             UpdateType = "removeBillingAddressId"
	UpdateTypeRemoveDelivery                     UpdateType = "removeDelivery"
	UpdateTypeRemoveEnumValues                   UpdateType = "removeEnumValues"
	UpdateTypeRemoveFieldDefinition              UpdateType = "removeFieldDefinition"
	UpdateTypeRemoveFromCategory                 UpdateType = "removeFromCategory"
	UpdateTypeRemoveImage                        UpdateType = "removeImage"
	UpdateTypeRemoveItemShippingAddress          UpdateType = "removeItemShippingAddress"
	UpdateTypeRemoveLineItem                     UpdateType = "removeLineItem"
	UpdateTypeRemoveLocation                     UpdateType = "removeLocation"
	UpdateTypeRemoveParcelFromDelivery           UpdateType = "removeParcelFromDelivery"
	UpdateTypeRemovePayment                      UpdateType = "removePayment"
	UpdateTypeRemovePrice                        UpdateType = "removePrice"
	UpdateTypeRemoveRoles                        UpdateType = "removeRoles"
	UpdateTypeRemoveShippingAddressId            UpdateType = "removeShippingAddressId"
	UpdateTypeRemoveTaxRate                      UpdateType = "removeTaxRate"
	UpdateTypeRemoveTextLineItem                 UpdateType = "removeTextLineItem"
	UpdateTypeRemoveVariant                      UpdateType = "removeVariant"
	UpdateTypeSetAddress                         UpdateType = "setAddress"
	UpdateTypeSetAnonymousId                     UpdateType = "setAnonymousId"
	UpdateTypeSetAssetCustomField                UpdateType = "setAssetCustomField"
	UpdateTypeSetAssetCustomType                 UpdateType = "setAssetCustomType"
	UpdateTypeSetAssetDescription                UpdateType = "setAssetDescription"
	UpdateTypeSetAssetSources                    UpdateType = "setAssetSources"
	UpdateTypeSetAssetTags                       UpdateType = "setAssetTags"
	UpdateTypeSetAsssetKey                       UpdateType = "setAsssetKey"
	UpdateTypeSetAttribute                       UpdateType = "setAttribute"
	UpdateTypeSetAuthorName                      UpdateType = "setAuthorName"
	UpdateTypeSetBillingAddress                  UpdateType = "setBillingAddress"
	UpdateTypeSetCartPredicate                   UpdateType = "setCartPredicate"
	UpdateTypeSetCategoryOrderHint               UpdateType = "setCategoryOrderHint"
	UpdateTypeSetCompanyName                     UpdateType = "setCompanyName"
	UpdateTypeSetCustomField                     UpdateType = "setCustomField"
	UpdateTypeSetCustomLineItemCustomField       UpdateType = "setCustomLineItemCustomField"
	UpdateTypeSetCustomLineItemCustomType        UpdateType = "setCustomLineItemCustomType"
	UpdateTypeSetCustomLineItemShippingDetails   UpdateType = "setCustomLineItemShippingDetails"
	UpdateTypeSetCustomType                      UpdateType = "setCustomType"
	UpdateTypeSetCustomer                        UpdateType = "setCustomer"
	UpdateTypeSetCustomerEmail                   UpdateType = "setCustomerEmail"
	UpdateTypeSetCustomerGroup                   UpdateType = "setCustomerGroup"
	UpdateTypeSetCustomerId                      UpdateType = "setCustomerId"
	UpdateTypeSetCustomerNumber                  UpdateType = "setCustomerNumber"
	UpdateTypeSetDateOfBirth                     UpdateType = "setDateOfBirth"
	UpdateTypeSetDefaultBillingAddress           UpdateType = "setDefaultBillingAddress"
	UpdateTypeSetDefaultShippingAddress          UpdateType = "setDefaultShippingAddress"
	UpdateTypeSetDeleteDaysAfterLastModification UpdateType = "setDeleteDaysAfterLastModification"
	UpdateTypeSetDeliveryAddress                 UpdateType = "setDeliveryAddress"
	UpdateTypeSetDeliveryItems                   UpdateType = "setDeliveryItems"
	UpdateTypeSetDescription                     UpdateType = "setDescription"
	UpdateTypeSetDiscountedPrice                 UpdateType = "setDiscountedPrice"
	UpdateTypeSetDistributionChannels            UpdateType = "setDistributionChannels"
	UpdateTypeSetExpectedDelivery                UpdateType = "setExpectedDelivery"
	UpdateTypeSetExternalId                      UpdateType = "setExternalId"
	UpdateTypeSetFirstName                       UpdateType = "setFirstName"
	UpdateTypeSetGeoLocation                     UpdateType = "setGeoLocation"
	UpdateTypeSetImageLabel                      UpdateType = "setImageLabel"
	UpdateTypeSetInputTip                        UpdateType = "setInputTip"
	UpdateTypeSetInterfaceId                     UpdateType = "setInterfaceId"
	UpdateTypeSetKey                             UpdateType = "setKey"
	UpdateTypeSetLanguages                       UpdateType = "setLanguages"
	UpdateTypeSetLastName                        UpdateType = "setLastName"
	UpdateTypeSetLineItemCustomField             UpdateType = "setLineItemCustomField"
	UpdateTypeSetLineItemCustomType              UpdateType = "setLineItemCustomType"
	UpdateTypeSetLineItemShippingDetails         UpdateType = "setLineItemShippingDetails"
	UpdateTypeSetLocale                          UpdateType = "setLocale"
	UpdateTypeSetMaxApplications                 UpdateType = "setMaxApplications"
	UpdateTypeSetMaxApplicationsPerCustomer      UpdateType = "setMaxApplicationsPerCustomer"
	UpdateTypeSetMetaDescription                 UpdateType = "setMetaDescription"
	UpdateTypeSetMetaKeywords                    UpdateType = "setMetaKeywords"
	UpdateTypeSetMetaTitle                       UpdateType = "setMetaTitle"
	UpdateTypeSetMethodInfoInterface             UpdateType = "setMethodInfoInterface"
	UpdateTypeSetMethodInfoMethod                UpdateType = "setMethodInfoMethod"
	UpdateTypeSetMethodInfoName                  UpdateType = "setMethodInfoName"
	UpdateTypeSetMiddleName                      UpdateType = "setMiddleName"
	UpdateTypeSetName                            UpdateType = "setName"
	UpdateTypeSetOrderNumber                     UpdateType = "setOrderNumber"
	UpdateTypeSetParcelItems                     UpdateType = "setParcelItems"
	UpdateTypeSetParcelMeasurements              UpdateType = "setParcelMeasurements"
	UpdateTypeSetParcelTrackingData              UpdateType = "setParcelTrackingData"
	UpdateTypeSetPassword                        UpdateType = "setPassword"
	UpdateTypeSetProductPriceCustomField         UpdateType = "setProductPriceCustomField"
	UpdateTypeSetProductPriceCustomType          UpdateType = "setProductPriceCustomType"
	UpdateTypeSetProductVariantKey               UpdateType = "setProductVariantKey"
	UpdateTypeSetRating                          UpdateType = "setRating"
	UpdateTypeSetRestockableInDays               UpdateType = "setRestockableInDays"
	UpdateTypeSetReturnPaymentState              UpdateType = "setReturnPaymentState"
	UpdateTypeSetReturnShipmentState             UpdateType = "setReturnShipmentState"
	UpdateTypeSetRoles                           UpdateType = "setRoles"
	UpdateTypeSetSalutation                      UpdateType = "setSalutation"
	UpdateTypeSetSearchKeywords                  UpdateType = "setSearchKeywords"
	UpdateTypeSetShippingAddress                 UpdateType = "setShippingAddress"
	UpdateTypeSetSku                             UpdateType = "setSku"
	UpdateTypeSetSlug                            UpdateType = "setSlug"
	UpdateTypeSetStatusInterfaceCode             UpdateType = "setStatusInterfaceCode"
	UpdateTypeSetStatusInterfaceText             UpdateType = "setStatusInterfaceText"
	UpdateTypeSetStore                           UpdateType = "setStore"
	UpdateTypeSetStores                          UpdateType = "setStores"
	UpdateTypeSetSupplyChannel                   UpdateType = "setSupplyChannel"
	UpdateTypeSetTarget                          UpdateType = "setTarget"
	UpdateTypeSetTaxCategory                     UpdateType = "setTaxCategory"
	UpdateTypeSetText                            UpdateType = "setText"
	UpdateTypeSetTextLineItemCustomField         UpdateType = "setTextLineItemCustomField"
	UpdateTypeSetTextLineItemCustomType          UpdateType = "setTextLineItemCustomType"
	UpdateTypeSetTextLineItemDescription         UpdateType = "setTextLineItemDescription"
	UpdateTypeSetTitle                           UpdateType = "setTitle"
	UpdateTypeSetTransitions                     UpdateType = "setTransitions"
	UpdateTypeSetValidFrom                       UpdateType = "setValidFrom"
	UpdateTypeSetValidFromAndUntil               UpdateType = "setValidFromAndUntil"
	UpdateTypeSetValidUntil                      UpdateType = "setValidUntil"
	UpdateTypeSetVariantAvailability             UpdateType = "setVariantAvailability"
	UpdateTypeSetVatId                           UpdateType = "setVatId"
	UpdateTypeTransitionCustomLineItemState      UpdateType = "transitionCustomLineItemState"
	UpdateTypeTransitionLineItemState            UpdateType = "transitionLineItemState"
	UpdateTypeTransitionState                    UpdateType = "transitionState"
	UpdateTypeUnpublish                          UpdateType = "unpublish"
	UpdateTypeUpdateItemShippingAddress          UpdateType = "updateItemShippingAddress"
	UpdateTypeUpdateSyncInfo                     UpdateType = "updateSyncInfo"
	UpdateTypeVerifyEmail                        UpdateType = "verifyEmail"
)

type ValidFromAndUntilValue

type ValidFromAndUntilValue struct {
	ValidFrom  string `json:"validFrom"`
	ValidUntil string `json:"validUntil"`
}

* * Shape of the value for `setValidFromAndUntil` action

type Variant

type Variant struct {
	ID  int    `json:"id"`
	Sku string `json:"sku"`
	Key string `json:"key"`
}

type VerifyEmailChange

type VerifyEmailChange struct {
	Change string `json:"change"`
}

func (VerifyEmailChange) MarshalJSON

func (obj VerifyEmailChange) MarshalJSON() ([]byte, error)

MarshalJSON override to set the discriminator value or remove optional nil slices

Jump to

Keyboard shortcuts

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