Versions in this module Expand all Collapse all v0 v0.2.1 Oct 9, 2021 v0.2.0 Oct 9, 2021 Changes in this version + type API interface + GetPayment func(get GetPayment) (Payment, error) + RequestPayment func(newPayment NewPayment) (PaymentRequest, error) + func NewAPI(shopID, secret string) API + func NewTestAPI(shopID, secret string) API + type Amount struct + Amount string + Currency string + type GetPayment struct + PaymentID string + Signature string + type NewPayment struct + AdditionalData string + Amount string + Currency string + Description string + LanguageCode string + NegativeReturnURL string + PaymentChannel string + Referer string + ReturnURL string + Title string + type Payment struct + AdditionalData string + Amount Amount + Description string + ID string + PaymentChannel string + PersonalData PersonalData + RequestedAmount Amount + Status string + Title string + type PaymentRequest struct + ID string + ReturnURL string + type PersonalData struct + City string + Country string + Email string + FirstName string + Flat string + House string + Postcode string + Street string + Surname string