square

package
v0.0.0-...-e4c3402 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CategoryObjectType is the Square type for a catalog object describing a category.
	CategoryObjectType = "CATEGORY"

	// CatalogCategoryNameMaxLength is the maximum length for a category's abbreviation.
	CatalogCategoryNameMaxLength = 255
)
View Source
const (
	// CatalogDiscountNameMaxLength is the maximum length for a discount's name.
	CatalogDiscountNameMaxLength = 255

	// DiscountObjectType is the Square type for a catalog object describing a discount.
	DiscountObjectType = "DISCOUNT"

	// DiscountTypeFixedPercentage applies the discount as a fixed percentage (e.g., 5%) off the item price.
	DiscountTypeFixedPercentage = "FIXED_PERCENTAGE"

	// DiscountTypeFixedAmount applies the discount as a fixed amount (e.g., $1.00) off the item price.
	DiscountTypeFixedAmount = "FIXED_AMOUNT"

	// DiscountTypeVariablePercentage applies the discount as a variable percentage off the item price.
	// The percentage will be specified at the time of sale.
	DiscountTypeVariablePercentage = "VARIABLE_PERCENTAGE"
)
View Source
const (
	// CatalogItemAbbreviationMaxLength is the maximum length for an item's abbreviation.
	CatalogItemAbbreviationMaxLength = 24

	// ItemObjectType is the Square type for a catalog object describing an item.
	ItemObjectType = "ITEM"
)
View Source
const (
	// CatalogItemVariationNameMaxLength is the maximum length for an item variation's name.
	CatalogItemVariationNameMaxLength = 255

	// ItemVariationObjectType is the Square type for a catalog object describing an item variation.
	ItemVariationObjectType = "ITEM_VARIATION"

	// PricingTypeFixed designated a CatalogItemVariation with fixed pricing.
	PricingTypeFixed = "FIXED_PRICING"

	// PricingTypeVariable designated a CatalogItemVariation with variable pricing.
	PricingTypeVariable = "VARIABLE_PRICING"
)
View Source
const (
	// CatalogTaxNameMaxLength is the maximum length for a tax's name.
	CatalogTaxNameMaxLength = 255

	// TaxObjectType is the Square type for a catalog object describing a tax.
	TaxObjectType = "TAX"

	// TaxPhaseSubtotal indicates the fee is calculated based on the payment's subtotal.
	TaxPhaseSubtotal = "TAX_SUBTOTAL_PHASE"

	// TaxPhaseTotal indicates the fee is calculated based on the payment's total.
	TaxPhaseTotal = "TAX_TOTAL_PHASE"
)

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns the ResourceProvider.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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