Documentation
¶
Index ¶
- func BillingCmd(ch *cmdutil.Helper) *cobra.Command
- func DeletePaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command
- func InvoiceCmd(ch *cmdutil.Helper) *cobra.Command
- func InvoiceLineItemsCmd(ch *cmdutil.Helper) *cobra.Command
- func ListInvoicesCmd(ch *cmdutil.Helper) *cobra.Command
- func PaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command
- func PaymentMethodStatusCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowInvoiceCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowPaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command
- func UpdatePaymentMethodCmd(ch *cmdutil.Helper) *cobra.Command
- type PaymentMethod
- type PaymentMethodSetup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvoiceLineItemsCmd ¶ added in v0.327.0
Types ¶
type PaymentMethod ¶
type PaymentMethod struct {
ID string `header:"id" json:"id"`
Brand string `header:"brand" json:"brand"`
Last4 string `header:"last4" json:"last4"`
ExpMonth int `header:"exp_month" json:"exp_month"`
ExpYear int `header:"exp_year" json:"exp_year"`
Name string `header:"name" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*PaymentMethod) MarshalCSVValue ¶
func (c *PaymentMethod) MarshalCSVValue() interface{}
func (*PaymentMethod) MarshalJSON ¶
func (c *PaymentMethod) MarshalJSON() ([]byte, error)
type PaymentMethodSetup ¶
type PaymentMethodSetup struct {
ID string `header:"id" json:"id"`
State string `header:"state" json:"state"`
CheckoutURL string `header:"checkout_url" json:"checkout_url,omitempty"`
Error string `header:"error" json:"error,omitempty"`
ExpiresAt *time.Time `header:"expires_at" json:"expires_at,omitempty"`
CompletedAt *time.Time `header:"completed_at" json:"completed_at,omitempty"`
FailedAt *time.Time `header:"failed_at" json:"failed_at,omitempty"`
// contains filtered or unexported fields
}
func (*PaymentMethodSetup) MarshalCSVValue ¶
func (s *PaymentMethodSetup) MarshalCSVValue() interface{}
func (*PaymentMethodSetup) MarshalJSON ¶
func (s *PaymentMethodSetup) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.