service

package
v0.0.0-...-692440d Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charge

type Charge struct {
	paymentpb.Charge `bson:",inline"`
}

func (*Charge) GetNamespace

func (c *Charge) GetNamespace() string

func (*Charge) SetCreated

func (c *Charge) SetCreated(t int64)

func (*Charge) SetId

func (c *Charge) SetId(id string)

func (*Charge) SetUpdated

func (c *Charge) SetUpdated(t int64)

type Charges

type Charges []*paymentpb.Charge

func (*Charges) GetNamespace

func (c *Charges) GetNamespace() string

type PaymentService

type PaymentService struct{}

func (*PaymentService) Charge

Charge

func (*PaymentService) Get

Get implements the payment.pb/Get method. Get charge object by charge id or error.

func (*PaymentService) List

Get implements the payment.pb/Get method. Get charge object by charge id or error.

func (*PaymentService) Refund

Refund

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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