Documentation ¶
Index ¶
- func AddUPOByTempToken(clientRequestId string, sessionToken string, userTokenId string, ...) (*model.AddUPOResponse, error)
- func CreateRequest(body []byte, action model.NuveiAction, responseObject interface{}) (interface{}, error)
- func CreateUser(clientRequestId string, userTokenId string, firstName string, lastName string, ...) (*model.CreateUserResponse, error)
- func DeleteUPO(userTokenId string) (*model.UPOsResponse, error)
- func GenerateNuveiObject(clientRequestId string) *nuveiObject
- func GetPaymentStatus(sessionToken string) (*model.PaymentStatusResponse, error)
- func GetPayoutStatus(clientRequestId string) (*model.PayoutStatusResponse, error)
- func GetSessionToken(clientRequestId string) (*model.SessionTokenResponse, error)
- func GetUPOs(userTokenId string) (*model.UPOsResponse, error)
- func InitPayment(clientRequestId string, clientUniqueId string, currency string, amount string, ...) (*model.InitPaymentResponse, error)
- func Initialize(merchantId string, merchantSiteId string, secret string, isLive bool, ...)
- func NewNuveiObject(clientRequestId string) *nuveiObject
- func NewOrder(clientRequestId string, clientUniqueId string, currency string, amount string, ...) *order
- func NewPayment(clientRequestId string, clientUniqueId string, currency string, amount string, ...) *payment
- func NewPayout(clientRequestId string, userTokenId string, clientUniqueId string, ...) *payout
- func NewUPO(clientRequestId string, sessionToken string, userTokenId string, ...) *userPaymentOption
- func NewUser(clientRequestId string, userTokenId string, firstName string, lastName string, ...) *user
- func OpenOrder(clientRequestId string, clientUniqueId string, currency string, amount string, ...) (*model.OpenOrderResponse, error)
- func Pay(clientRequestId string, clientUniqueId string, currency string, amount string, ...) (*model.PaymentResponse, error)
- func Payout(clientRequestId string, userTokenId string, clientUniqueId string, ...) (*model.PayoutResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUPOByTempToken ¶
func AddUPOByTempToken(clientRequestId string, sessionToken string, userTokenId string, ccTempToken string, address model.BillingAddress) (*model.AddUPOResponse, error)
func CreateRequest ¶
func CreateRequest(body []byte, action model.NuveiAction, responseObject interface{}) (interface{}, error)
func CreateUser ¶
func GenerateNuveiObject ¶
func GenerateNuveiObject(clientRequestId string) *nuveiObject
func GetPaymentStatus ¶
func GetPaymentStatus(sessionToken string) (*model.PaymentStatusResponse, error)
func GetPayoutStatus ¶
func GetPayoutStatus(clientRequestId string) (*model.PayoutStatusResponse, error)
func GetSessionToken ¶
func GetSessionToken(clientRequestId string) (*model.SessionTokenResponse, error)
func InitPayment ¶
func InitPayment(clientRequestId string, clientUniqueId string, currency string, amount string, userTokenId string, billingAddress model.BillingAddress, sessionToken string, paymentOption model.PaymentOption, details model.DeviceDetails) (*model.InitPaymentResponse, error)
func Initialize ¶
func NewNuveiObject ¶
func NewNuveiObject(clientRequestId string) *nuveiObject
func NewPayment ¶
func NewPayment(clientRequestId string, clientUniqueId string, currency string, amount string, userTokenId string, billingAddress model.BillingAddress, sessionToken string, paymentOption model.PaymentOption, details model.DeviceDetails) *payment
func NewPayout ¶
func NewPayout(clientRequestId string, userTokenId string, clientUniqueId string, amount string, currency string, details model.DeviceDetails, uop model.UserPaymentOption) *payout
func OpenOrder ¶
func OpenOrder(clientRequestId string, clientUniqueId string, currency string, amount string, userTokenId string, billingAddress model.BillingAddress, isRebilling int, details model.ExternalSchemeDetails, authOnlyType string) (*model.OpenOrderResponse, error)
func Pay ¶
func Pay(clientRequestId string, clientUniqueId string, currency string, amount string, userTokenId string, billingAddress model.BillingAddress, sessionToken string, paymentOption model.PaymentOption, details model.DeviceDetails) (*model.PaymentResponse, error)
func Payout ¶
func Payout(clientRequestId string, userTokenId string, clientUniqueId string, amount string, currency string, details model.DeviceDetails, uop model.UserPaymentOption) (*model.PayoutResponse, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.