Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BadCode = errors.New("bad code")
View Source
var InvalidNumber = errors.New("invalid number")
Functions ¶
Types ¶
type API ¶
func (*API) CreatePayment ¶
func (api *API) CreatePayment(newPayment NewPayment) (Payment, error)
type NewPayment ¶
type NewPayment struct { Title string `url:"title"` Amount string `url:"amount.value"` Currency string `url:"amount.currencyCode"` Description string `url:"description"` AdditionalData string `url:"additionalData"` ReturnURL string `url:"returnUrl"` NegativeReturnURL string `url:"negativeReturnUrl"` PaymentChannel string `url:"paymentChannel"` LanguageCode string `url:"languageCode"` Referer string `url:"referer"` }
Click to show internal directories.
Click to hide internal directories.