commercetools

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const TypeLocalizedString = schema.TypeMap

TypeLocalizedString defined merely for documentation, it basically is just a normal TypeMap but clarifies in the code that it should be used to store a LocalizedString

Variables

This section is empty.

Functions

func AddressFieldSchema added in v1.3.0

func AddressFieldSchema() *schema.Schema

func CreateAddressFieldDraft added in v1.3.0

func CreateAddressFieldDraft(d *schema.ResourceData) *platform.BaseAddress

func CreateAddressFieldDraftRaw added in v1.3.0

func CreateAddressFieldDraftRaw(data map[string]any) *platform.BaseAddress

func CreateCustomFieldDraft added in v1.3.0

func CreateCustomFieldDraftRaw added in v1.3.0

func CreateCustomFieldDraftRaw(data map[string]any, t *platform.Type) (*platform.CustomFieldsDraft, error)

func CustomFieldSchema added in v1.3.0

func CustomFieldSchema() *schema.Schema

func CustomFieldUpdateActions added in v1.3.0

func New added in v1.3.0

func New(version string) func() *schema.Provider

New returns a new terraform.ResourceProvider.

func ValidateCurrencyCode

func ValidateCurrencyCode(val any, key string) (warns []string, errs []error)

ValidateCurrencyCode checks if a currency string is valid according to https://en.wikipedia.org/wiki/ISO_4217

Types

Jump to

Keyboard shortcuts

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