entity

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputInfoMerchant

type OutputInfoMerchant struct {
	MerchantName string
	Balance      string
	BalanceHold  string
}

type OutputOrderSimple

type OutputOrderSimple struct {
	Status            string
	TotalBayar        string
	TotalDiterima     string
	PayUrl            string
	PanduanPembayaran string
	TrxId             string
	Data              string
}

type ParamInfoMerchant

type ParamInfoMerchant struct {
	MerchantId string
	Secret     string
	Idr        bool
}

type ParamOrderSimple

type ParamOrderSimple struct {
	MerchantId string
	Secret     string
	Method     string
	RefId      string
	Nominal    int
	Idr        bool
}

type ReturnInfoMerchant

type ReturnInfoMerchant struct {
	NamaToko  string
	Saldo     string
	SaldoHold string
}

type TokopayCreden

type TokopayCreden struct {
	MERCHANTID string
	SECRETKEY  string
}

type TokopayGetMerchantInfo

type TokopayGetMerchantInfo struct {
	MerchantId string
	Signature  string
}

type TokopayItemsOrderAdvanced

type TokopayItemsOrderAdvanced struct {
	ProductCode string
	Name        string
	Price       int
	ProductUrl  string
	ImageUrl    string
}

type TokopayOrderAdvanced

type TokopayOrderAdvanced struct {
	MerchantId  string
	Code        string
	Secret      string
	RefId       string
	Amount      int
	CustName    string
	CustEmail   string
	CustPhone   string
	RedirectUrl string
	ExpiredTs   string
	Signature   string
	Items       []TokopayItemsOrderAdvanced
}

type TokopayOrderSimple

type TokopayOrderSimple struct {
	Method  string
	RefId   string
	Nominal int
}

Jump to

Keyboard shortcuts

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