napas

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Napas

type Napas struct {
	Bin           string `json:"bin"`
	AccountNumber string `json:"account_number"`
	AmountVal     string `json:"amount"`
	AddInfo       string `json:"add_info"`
	CountryCode   string `json:"country_code"`
	Method        string `json:"method"`
	ServiceCode   string `json:"service_code"`
	MerchantName  string `json:"merchant_name"`
	MerchantCity  string `json:"merchant_city"`
}

func New

func New() *Napas

func (*Napas) Amount

func (n *Napas) Amount(v string) *Napas

func (*Napas) Bank

func (n *Napas) Bank(bin string, accountNumber string) *Napas

func (*Napas) City

func (n *Napas) City(v string) *Napas

func (*Napas) Country

func (n *Napas) Country(v string) *Napas

func (*Napas) Dynamic

func (n *Napas) Dynamic() *Napas

func (*Napas) Generate

func (n *Napas) Generate() (string, error)

func (*Napas) Info

func (n *Napas) Info(v string) *Napas

func (*Napas) Payload

func (n *Napas) Payload() string

func (*Napas) Receiver

func (n *Napas) Receiver(v string) *Napas

func (*Napas) ReceiverName

func (n *Napas) ReceiverName(v string) *Napas

func (*Napas) Service

func (n *Napas) Service(v string) *Napas

func (*Napas) Static

func (n *Napas) Static() *Napas

func (*Napas) ToAccount

func (n *Napas) ToAccount() *Napas

func (*Napas) ToCard

func (n *Napas) ToCard() *Napas

func (*Napas) Validate

func (n *Napas) Validate() error

Jump to

Keyboard shortcuts

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