Documentation
¶
Index ¶
- type Charge
- type Charges
- type PaymentService
- func (p *PaymentService) Charge(ctx context.Context, req *paymentpb.ChargeRequest) (*paymentpb.Charge, error)
- func (p *PaymentService) Get(ctx context.Context, req *paymentpb.GetRequest) (*paymentpb.Charge, error)
- func (p *PaymentService) List(ctx context.Context, req *paymentpb.ListRequest) (*paymentpb.ChargeList, error)
- func (p *PaymentService) Refund(ctx context.Context, req *paymentpb.RefundRequest) (*paymentpb.Charge, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Charges ¶
func (*Charges) GetNamespace ¶
type PaymentService ¶
type PaymentService struct{}
func (*PaymentService) Charge ¶
func (p *PaymentService) Charge(ctx context.Context, req *paymentpb.ChargeRequest) (*paymentpb.Charge, error)
Charge
func (*PaymentService) Get ¶
func (p *PaymentService) Get(ctx context.Context, req *paymentpb.GetRequest) (*paymentpb.Charge, error)
Get implements the payment.pb/Get method. Get charge object by charge id or error.
func (*PaymentService) List ¶
func (p *PaymentService) List(ctx context.Context, req *paymentpb.ListRequest) (*paymentpb.ChargeList, error)
Get implements the payment.pb/Get method. Get charge object by charge id or error.
func (*PaymentService) Refund ¶
func (p *PaymentService) Refund(ctx context.Context, req *paymentpb.RefundRequest) (*paymentpb.Charge, error)
Refund
Click to show internal directories.
Click to hide internal directories.