stripe

package
v0.0.0-...-cb7f019 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway buyte.Gateway

func New

func New(ctx context.Context, connection *buyte.ProviderCheckoutConnection) (*Gateway, error)

func (*Gateway) AuthKey

func (g *Gateway) AuthKey() string

func (*Gateway) Charge

func (g *Gateway) Charge(input *buyte.CreateChargeInput, networkToken *buyte.NetworkToken, paymentToken *buyte.PaymentToken) (*buyte.GatewayCharge, error)

func (*Gateway) ChargeNative

func (g *Gateway) ChargeNative(input *buyte.CreateChargeInput, nativeToken string, paymentToken *buyte.PaymentToken) (*buyte.GatewayCharge, error)

func (*Gateway) IsConnect

func (g *Gateway) IsConnect() bool

func (*Gateway) StripeCredentials

func (g *Gateway) StripeCredentials() *StripeCredentials

type StripeCredentials

type StripeCredentials struct {
	UserId      string `json:"stripeUserId"`
	IsConnect   bool   `json:"isConnect"`
	AccessToken string `json:"accessToken"`
}

Jump to

Keyboard shortcuts

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