paymentmethods

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetEntityPaymentMethodRequest

type GetEntityPaymentMethodRequest struct {
	Id              string `json:"entity_id"`
	PaymentMethodId string `json:"payment_method_id"`
}

type GetEntityPaymentMethodResponse

type GetEntityPaymentMethodResponse struct {
	Details *model.EntityPaymentMethod     `json:"details"`
	Request *GetEntityPaymentMethodRequest `json:"request"`
}

type ListEntityPaymentMethodsRequest

type ListEntityPaymentMethodsRequest struct {
	EntityId   string                  `json:"entity_id"`
	Pagination *model.PaginationParams `json:"pagination_params"`
}

type ListEntityPaymentMethodsResponse

type ListEntityPaymentMethodsResponse struct {
	PaymentMethods []*model.EntityPaymentMethod     `json:"payment_methods"`
	Request        *ListEntityPaymentMethodsRequest `json:"request"`
}

type PaymentMethodsService

type PaymentMethodsService interface {
	ListEntityPaymentMethods(ctx context.Context, request *ListEntityPaymentMethodsRequest) (*ListEntityPaymentMethodsResponse, error)
	GetEntityPaymentMethod(ctx context.Context, request *GetEntityPaymentMethodRequest) (*GetEntityPaymentMethodResponse, error)
}

func NewPaymentMethodsService

func NewPaymentMethodsService(c client.RestClient) PaymentMethodsService

Jump to

Keyboard shortcuts

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