Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultUpstream = "https://koronapay.com" DefaultRetries = 3 DefaultTimeout = 5 * time.Minute )
View Source
const ( CountryIDRussia CountryID = "RUS" CountryIDThailand CountryID = "THA" CurrencyIDRUB CurrencyID = 810 CurrencyIDUSD CurrencyID = 840 PaymentMethodDebitCard PaymentMethod = "debitCard" PaymentMethodAccountViaDeeMoney PaymentMethod = "accountViaDeeMoney" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrencyID ¶
type CurrencyID int
func (CurrencyID) String ¶
func (c CurrencyID) String() string
type Participant ¶
type Participant struct {
Country CountryID
Currency CurrencyID
}
type PaymentMethod ¶
type PaymentMethod string
func (PaymentMethod) String ¶
func (p PaymentMethod) String() string
type TariffReq ¶
type TariffReq struct {
Amount float64
Sender Participant
Receiver Participant
PaymentMethod PaymentMethod
ReceivingMethod PaymentMethod
}
Click to show internal directories.
Click to hide internal directories.