nowpaymentsservice

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NowPaymentService

type NowPaymentService struct {
	UserName string
	Password string
	// contains filtered or unexported fields
}

func InitiateService

func InitiateService(db *gorm.DB, nowPaymentApkiKey, apiUrl, userName, password string) *NowPaymentService

func (*NowPaymentService) AuthPaymentService

func (s *NowPaymentService) AuthPaymentService() (*string, error)

func (*NowPaymentService) CreateInvoice

func (*NowPaymentService) GetInvoiceDataService

func (s *NowPaymentService) GetInvoiceDataService(page, limit int, isAscendente bool, userId uint) ([]nowpaymentsmodel.NowPaymentCreateInvoice, error)

func (*NowPaymentService) GetInvoiceStatus

func (s *NowPaymentService) GetInvoiceStatus(invoiceId string) (*nowpaymentsresponse.GetPaymentStatusResponse, error)

func (NowPaymentService) GetNotWaitingResponse added in v0.3.1

func (*NowPaymentService) GetPaymentStatus

func (s *NowPaymentService) GetPaymentStatus(invoiceId string) (*nowpaymentsresponse.GetPaymentStatusResponse, error)

func (*NowPaymentService) StartPayment

func (s *NowPaymentService) StartPayment()

Jump to

Keyboard shortcuts

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