apm

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FawryProduct

type FawryProduct struct {
	ProductId   string `json:"product_id,omitempty"`
	Quantity    int    `json:"quantity,omitempty"`
	Price       int64  `json:"price,omitempty"`
	Description string `json:"description,omitempty"`
}

type InfoFields

type InfoFields struct {
	Label string `json:"label,omitempty"`
	Text  string `json:"text,omitempty"`
}

type IntegrationType

type IntegrationType string
const (
	Direct   IntegrationType = "direct"
	Redirect IntegrationType = "redirect"
	Mobile   IntegrationType = "mobile"
)

type RequestAlipaySource

type RequestAlipaySource struct {
	Type payments.SourceType `json:"type,omitempty"`
}

func NewRequestAlipaySource

func NewRequestAlipaySource() *RequestAlipaySource

type RequestBancontactSource

type RequestBancontactSource struct {
	Type              payments.SourceType `json:"type,omitempty"`
	PaymentCountry    common.Country      `json:"payment_country,omitempty"`
	AccountHolderName string              `json:"account_holder_name,omitempty"`
	BillingDescriptor string              `json:"billing_descriptor,omitempty"`
	Language          string              `json:"language,omitempty"`
}

func NewRequestBancontactSource

func NewRequestBancontactSource() *RequestBancontactSource

type RequestBenefitPaySource

type RequestBenefitPaySource struct {
	Type            payments.SourceType `json:"type,omitempty"`
	IntegrationType IntegrationType     `json:"integration_type,omitempty"`
}

func NewRequestBenefitPaySource

func NewRequestBenefitPaySource() *RequestBenefitPaySource

type RequestBoletoSource

type RequestBoletoSource struct {
	Type            payments.SourceType `json:"type,omitempty"`
	IntegrationType IntegrationType     `json:"integration_type,omitempty"`
	Country         common.Country      `json:"country,omitempty"`
	Description     string              `json:"description,omitempty"`
	Payer           *payments.Payer     `json:"payer,omitempty"`
}

func NewRequestBoletoSource

func NewRequestBoletoSource() *RequestBoletoSource

type RequestEpsSource

type RequestEpsSource struct {
	Type    payments.SourceType `json:"type,omitempty"`
	Purpose string              `json:"purpose,omitempty"`
	Bic     string              `json:"bic,omitempty"`
}

func NewRequestEpsSource

func NewRequestEpsSource() *RequestEpsSource

type RequestFawrySource

type RequestFawrySource struct {
	Type              payments.SourceType `json:"type,omitempty"`
	Description       string              `json:"description,omitempty"`
	CustomerProfileId string              `json:"customer_profile_id,omitempty"`
	CustomerEmail     string              `json:"customer_email,omitempty"`
	CustomerMobile    string              `json:"customer_mobile,omitempty"`
	ExpiresOn         time.Time           `json:"expires_on,omitempty"`
	Products          []FawryProduct      `json:"products,omitempty"`
}

func NewRequestFawrySource

func NewRequestFawrySource() *RequestFawrySource

type RequestGiropaySource

type RequestGiropaySource struct {
	Type       payments.SourceType `json:"type,omitempty"`
	Purpose    string              `json:"purpose,omitempty"`
	Bic        string              `json:"bic,omitempty"`
	InfoFields []InfoFields        `json:"info_fields,omitempty"`
}

func NewRequestGiropaySource

func NewRequestGiropaySource() *RequestGiropaySource

type RequestIdealSource

type RequestIdealSource struct {
	Type        payments.SourceType `json:"type,omitempty"`
	Description string              `json:"description,omitempty"`
	Bic         string              `json:"bic,omitempty"`
	Language    string              `json:"language,omitempty"`
}

func NewRequestIdealSource

func NewRequestIdealSource() *RequestIdealSource

type RequestKlarnaSource

type RequestKlarnaSource struct {
	Type                   payments.SourceType      `json:"type,omitempty"`
	AuthorizationToken     string                   `json:"authorization_token,omitempty"`
	Locale                 string                   `json:"locale,omitempty"`
	PurchaseCountry        string                   `json:"purchase_country,omitempty"`
	AutoCapture            bool                     `json:"auto_capture,omitempty"`
	BillingAddress         *common.Address          `json:"billing_address,omitempty"`
	ShippingAddress        map[string]interface{}   `json:"shipping_address,omitempty"`
	TaxAmount              int                      `json:"tax_amount,omitempty"`
	Products               []map[string]interface{} `json:"products,omitempty"`
	Customer               map[string]interface{}   `json:"customer,omitempty"`
	MerchantReference1     string                   `json:"merchant_reference1,omitempty"`
	MerchantReference2     string                   `json:"merchant_reference2,omitempty"`
	MerchantData           string                   `json:"merchant_data,omitempty"`
	Attachment             map[string]interface{}   `json:"attachment,omitempty"`
	CustomPaymentMethodIds []map[string]string      `json:"custom_payment_method_ids,omitempty"`
}

func NewRequestKlarnaSource

func NewRequestKlarnaSource() *RequestKlarnaSource

type RequestKnetSource

type RequestKnetSource struct {
	Type              payments.SourceType `json:"type,omitempty"`
	Language          string              `json:"language,omitempty"`
	UserDefinedField1 string              `json:"user_defined_field1,omitempty"`
	UserDefinedField2 string              `json:"user_defined_field2,omitempty"`
	UserDefinedField3 string              `json:"user_defined_field3,omitempty"`
	UserDefinedField4 string              `json:"user_defined_field4,omitempty"`
	UserDefinedField5 string              `json:"user_defined_field5,omitempty"`
	CardToken         string              `json:"card_token,omitempty"`
	Ptlf              string              `json:"ptlf,omitempty"`
}

func NewRequestKnetSource

func NewRequestKnetSource() *RequestKnetSource

type RequestMultiBancoSource

type RequestMultiBancoSource struct {
	Type              payments.SourceType `json:"type,omitempty"`
	PaymentCountry    common.Country      `json:"payment_country,omitempty"`
	AccountHolderName string              `json:"account_holder_name,omitempty"`
	BillingDescriptor string              `json:"billing_descriptor,omitempty"`
}

func NewRequestMultiBancoSource

func NewRequestMultiBancoSource() *RequestMultiBancoSource

type RequestOxxoSource

type RequestOxxoSource struct {
	Type            payments.SourceType `json:"type,omitempty"`
	IntegrationType IntegrationType     `json:"integration_type,omitempty"`
	Country         common.Country      `json:"country,omitempty"`
	Description     string              `json:"description,omitempty"`
	Payer           *payments.Payer     `json:"payer,omitempty"`
}

func NewRequestOxxoSource

func NewRequestOxxoSource() *RequestOxxoSource

type RequestP24Source

type RequestP24Source struct {
	Type               payments.SourceType `json:"type,omitempty"`
	PaymentCountry     common.Country      `json:"payment_country,omitempty"`
	AccountHolderName  string              `json:"account_holder_name,omitempty"`
	AccountHolderEmail string              `json:"account_holder_email,omitempty"`
	BillingDescriptor  string              `json:"billing_descriptor,omitempty"`
}

func NewRequestP24Source

func NewRequestP24Source() *RequestP24Source

type RequestPagoFacilSource

type RequestPagoFacilSource struct {
	Type            payments.SourceType `json:"type,omitempty"`
	IntegrationType IntegrationType     `json:"integration_type,omitempty"`
	Country         common.Country      `json:"country,omitempty"`
	Description     string              `json:"description,omitempty"`
	Payer           *payments.Payer     `json:"payer,omitempty"`
}

func NewRequestPagoFacilSource

func NewRequestPagoFacilSource() *RequestPagoFacilSource

type RequestPayPalSource

type RequestPayPalSource struct {
	Type          payments.SourceType    `json:"type,omitempty"`
	InvoiceNumber string                 `json:"invoice_number,omitempty"`
	RecipientName string                 `json:"recipient_name,omitempty"`
	LogoUrl       string                 `json:"logo_url,omitempty"`
	Stc           map[string]interface{} `json:"stc,omitempty"`
}

func NewRequestPayPalSource

func NewRequestPayPalSource() *RequestPayPalSource

type RequestPoliSource

type RequestPoliSource struct {
	Type payments.SourceType `json:"type,omitempty"`
}

func NewRequestPoliSource

func NewRequestPoliSource() *RequestPoliSource

type RequestQPaySource

type RequestQPaySource struct {
	Type        payments.SourceType `json:"type,omitempty"`
	Quantity    int                 `json:"quantity,omitempty"`
	Description string              `json:"description,omitempty"`
	Language    string              `json:"language,omitempty"`
	NationalId  string              `json:"national_id,omitempty"`
}

func NewRequestQPaySource

func NewRequestQPaySource() *RequestQPaySource

type RequestRapiPagoSource

type RequestRapiPagoSource struct {
	Type            payments.SourceType `json:"type,omitempty"`
	IntegrationType IntegrationType     `json:"integration_type,omitempty"`
	Country         common.Country      `json:"country,omitempty"`
	Description     string              `json:"description,omitempty"`
	Payer           *payments.Payer     `json:"payer,omitempty"`
}

func NewRequestRapiPagoSource

func NewRequestRapiPagoSource() *RequestRapiPagoSource

type RequestSepaSource

type RequestSepaSource struct {
	Type payments.SourceType `json:"type,omitempty"`
	Id   string              `json:"id,omitempty"`
}

func NewRequestSepaSource

func NewRequestSepaSource() *RequestSepaSource

type RequestSofortSource

type RequestSofortSource struct {
	Type         payments.SourceType `json:"type,omitempty"`
	CountryCode  common.Country      `json:"countryCode,omitempty"`
	LanguageCode string              `json:"languageCode,omitempty"`
}

func NewRequestSofortSource

func NewRequestSofortSource() *RequestSofortSource

Jump to

Keyboard shortcuts

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