stripe

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallSet

func CallSet(err ...error) (d diag.Diagnostics)

func ExtractBool

func ExtractBool(d *schema.ResourceData, key string) bool

func ExtractFloat64

func ExtractFloat64(d *schema.ResourceData, key string) float64

func ExtractInt

func ExtractInt(d *schema.ResourceData, key string) int

func ExtractInt64 added in v1.2.0

func ExtractInt64(d *schema.ResourceData, key string) int64

func ExtractMap added in v0.0.4

func ExtractMap(d *schema.ResourceData, key string) map[string]interface{}

func ExtractMapSlice added in v1.6.4

func ExtractMapSlice(d *schema.ResourceData, key string) []map[string]interface{}

func ExtractString

func ExtractString(d *schema.ResourceData, key string) string

func ExtractStringSlice

func ExtractStringSlice(d *schema.ResourceData, key string) []string

func NonZeroFloat64 added in v1.7.0

func NonZeroFloat64(value interface{}) *float64

func NonZeroInt64 added in v1.7.0

func NonZeroInt64(value interface{}) *int64

func NonZeroString added in v1.7.0

func NonZeroString(value interface{}) *string

func Provider

func Provider() *schema.Provider

func ToBool

func ToBool(value interface{}) bool

func ToFloat64

func ToFloat64(value interface{}) float64

func ToInt

func ToInt(value interface{}) int

func ToInt64 added in v0.0.3

func ToInt64(value interface{}) int64

func ToMap

func ToMap(value interface{}) map[string]interface{}

func ToMapSlice

func ToMapSlice(value interface{}) []map[string]interface{}

func ToSlice added in v1.0.1

func ToSlice(value interface{}) []interface{}

func ToString

func ToString(value interface{}) string

func ToStringSlice

func ToStringSlice(value interface{}) []string

func UpdateMetadata added in v1.6.3

func UpdateMetadata(d *schema.ResourceData, adder MetadataAdder)

Types

type MetadataAdder added in v1.6.3

type MetadataAdder interface {
	AddMetadata(key, value string)
}

Jump to

Keyboard shortcuts

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