apppaymentintent

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Intent

type Intent interface {
	GetGatewayReference() string
	GetConfirmationMethod() string
	GetNextAction() string
	IsOffSession() bool
	GetCreatedAt() time.Time
	GetCustomer() appcustomer.Customer
	GetSource() apppaymentsource.Source
	GetAmount() appamount.Amount

	// From the status
	IsCanceled() bool
	IsSucceeded() bool
	RequiresCapture() bool
	RequiresConfirmation() bool
}

func FromStripeToAppIntent

func FromStripeToAppIntent(intent stripe.PaymentIntent) Intent

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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