billing

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-4-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PaymentMethodType

type PaymentMethodType string
const (
	Stripe PaymentMethodType = "stripe"
	Paypal PaymentMethodType = "paypal"
)

type Profile

type Profile struct {
	Company           string              `json:"company"`
	VATNumber         string              `json:"vat_number"`
	PaymentMethodType PaymentMethodType   `json:"payment_method_type"`
	Stripe            StripePaymentMethod `json:"stripe"`
}

type StripePaymentMethod

type StripePaymentMethod struct {
	Brand string `json:"brand"`
	Last4 string `json:"last4"`
	Exp   string `json:"exp"`
}

Jump to

Keyboard shortcuts

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