nuvei

package
v0.0.0-...-993c902 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

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 CreateUser(clientRequestId string, userTokenId string, firstName string, lastName string, address string, state string,
	city string, zip string, countryCode string, phone string, locale string, email string, dob string, county string) (*model.CreateUserResponse, error)

func DeleteUPO

func DeleteUPO(userTokenId string) (*model.UPOsResponse, error)

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 GetUPOs

func GetUPOs(userTokenId string) (*model.UPOsResponse, 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 Initialize(merchantId string, merchantSiteId string, secret string, isLive bool, isDebug bool)

func NewNuveiObject

func NewNuveiObject(clientRequestId string) *nuveiObject

func NewOrder

func NewOrder(clientRequestId string, clientUniqueId string, currency string, amount string, userTokenId string,
	billingAddress model.BillingAddress, isRebilling int, details model.ExternalSchemeDetails, authOnlyType string) *order

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 NewUPO

func NewUPO(clientRequestId string, sessionToken string, userTokenId string, ccTempToken string, address model.BillingAddress) *userPaymentOption

func NewUser

func NewUser(clientRequestId string, userTokenId string, firstName string, lastName string, address string, state string,
	city string, zip string, countryCode string, phone string, locale string, email string, dob string, county string) *user

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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