Documentation ¶
Index ¶
- Constants
- type PayZen
- func (this *PayZen) CanCancelPayment(status api.TransactionStatus) bool
- func (this *PayZen) CanDuplicatePayment(status api.TransactionStatus) bool
- func (this *PayZen) CanUpdatePayment(status api.TransactionStatus) bool
- func (this *PayZen) OnDebug()
- func (this *PayZen) PaymentCancel(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
- func (this *PayZen) PaymentCancelSubscription(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
- func (this *PayZen) PaymentCapture(capturePayment *api.PaymentCapture) (*api.PaymentResult, error)
- func (this *PayZen) PaymentCreate(payment *api.Payment) (*api.PaymentResult, error)
- func (this *PayZen) PaymentCreateBoletoOnline(payment *api.Payment) (*api.PaymentResult, error)
- func (this *PayZen) PaymentCreateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
- func (this *PayZen) PaymentDuplicate(payment *api.Payment) (*api.PaymentResult, error)
- func (this *PayZen) PaymentFind(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
- func (this *PayZen) PaymentGetDetails(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
- func (this *PayZen) PaymentGetDetailsSubscription(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
- func (this *PayZen) PaymentGetDetailsWithNsu(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
- func (this *PayZen) PaymentRefund(payment *api.Payment) (*api.PaymentResult, error)
- func (this *PayZen) PaymentTokenCancel(paymentToken *api.PaymentToken) (*api.PaymentResult, error)
- func (this *PayZen) PaymentTokenCreate(payment *api.Payment) (*api.PaymentResult, error)
- func (this *PayZen) PaymentTokenGetDetails(paymentToken *api.PaymentToken) (*api.PaymentResult, error)
- func (this *PayZen) PaymentTokenReactive(paymentToken *api.PaymentToken) (*api.PaymentResult, error)
- func (this *PayZen) PaymentTokenUpdate(payment *api.Payment) (*api.PaymentResult, error)
- func (this *PayZen) PaymentUpdate(payment *api.Payment) (*api.PaymentResult, error)
- func (this *PayZen) PaymentUpdateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
- func (this *PayZen) PaymentValidate(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
- type PayZenToolBox
- func (this *PayZenToolBox) CancelPayment(transactionUuid string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) CancelPaymentToken(paymentToken string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) CancelSubscription(subscriptionId string, paymentToken string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) CapturePayment(captureObject *api.PaymentCapture) (*api.PaymentResult, error)
- func (this *PayZenToolBox) CreatePayment(paymentData *api.Payment) (*api.PaymentResult, error)
- func (this *PayZenToolBox) CreatePaymentBoletoOnline(paymentData *api.Payment) (*api.PaymentResult, error)
- func (this *PayZenToolBox) CreatePaymentToken(paymentData *api.Payment) (*api.PaymentResult, error)
- func (this *PayZenToolBox) CreateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
- func (this *PayZenToolBox) DuplicatePayment(paymentData *api.Payment) (*api.PaymentResult, error)
- func (this *PayZenToolBox) FillCardInfo(cardRequest *SOAPCardRequest, card *api.Card)
- func (this *PayZenToolBox) FillCustomerInfo(billingDetails *SOAPBillingDetails, customer *api.Customer)
- func (this *PayZenToolBox) FillRequestHeader(header *SOAPHeader)
- func (this *PayZenToolBox) FindPayment(orderId string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) GenerateAuthToken(requestId string, timestamp string, format string) string
- func (this *PayZenToolBox) GenerateFormAuthToken(data string) string
- func (this *PayZenToolBox) GetDetailsPaymentToken(paymentToken string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) GetPaymentDetails(transactionUuid string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) GetPaymentDetailsWithNsu(transactionUuid string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) GetSubscriptionDetails(subscriptionId string, paymentToken string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) MakeFormRequest(payload map[string]string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) MakeRequest(soap *SOAPEnvelope, soapResponse *SOAPResponseEnvelop) (*api.PaymentResult, error)
- func (this *PayZenToolBox) ReactivePaymentToken(paymentToken string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) RefundPayment(paymentData *api.Payment) (*api.PaymentResult, error)
- func (this *PayZenToolBox) UpdatePayment(paymentData *api.Payment) (*api.PaymentResult, error)
- func (this *PayZenToolBox) UpdatePaymentToken(paymentData *api.Payment) (*api.PaymentResult, error)
- func (this *PayZenToolBox) UpdateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
- func (this *PayZenToolBox) ValidatePayment(transactionUuid string) (*api.PaymentResult, error)
- func (this *PayZenToolBox) ValidateResponse(header *SOAPResponseHeader) bool
- type SOAPAuthenticationRequestData
- type SOAPAuthenticationResultData
- type SOAPAuthorizationResponse
- type SOAPBillingDetails
- type SOAPBody
- type SOAPCancelPayment
- type SOAPCancelPaymentResponse
- type SOAPCancelPaymentResult
- type SOAPCancelSubscription
- type SOAPCancelSubscriptionResponse
- type SOAPCancelSubscriptionResult
- type SOAPCancelToken
- type SOAPCancelTokenResponse
- type SOAPCancelTokenResult
- type SOAPCapturePayment
- type SOAPCapturePaymentResponse
- type SOAPCapturePaymentResult
- type SOAPCaptureResponse
- type SOAPCardRequest
- type SOAPCardResponse
- type SOAPCommonRequest
- type SOAPCommonResponse
- type SOAPCreatePayment
- type SOAPCreatePaymentResponse
- type SOAPCreatePaymentResult
- type SOAPCreateSubscription
- type SOAPCreateSubscriptionResponse
- type SOAPCreateSubscriptionResult
- type SOAPCreateToken
- type SOAPCreateTokenResponse
- type SOAPCreateTokenResult
- type SOAPCustomerRequest
- type SOAPCustomerResponse
- type SOAPDuplicatePayment
- type SOAPDuplicatePaymentResponse
- type SOAPDuplicatePaymentResult
- type SOAPEnvelope
- type SOAPExtendedResponseRequest
- type SOAPExtraDetails
- type SOAPExtraInfo
- type SOAPExtraResponse
- type SOAPFindPayments
- type SOAPFindPaymentsResponse
- type SOAPFindPaymentsResult
- type SOAPFraudManagementResponse
- type SOAPGetPaymentDetails
- type SOAPGetPaymentDetailsResponse
- type SOAPGetPaymentDetailsResult
- type SOAPGetSubscriptionDetails
- type SOAPGetSubscriptionDetailsResponse
- type SOAPGetSubscriptionDetailsResult
- type SOAPGetTokenDetails
- type SOAPGetTokenDetailsResponse
- type SOAPGetTokenDetailsResult
- type SOAPHeader
- type SOAPMarkResponse
- type SOAPOrderRequest
- type SOAPOrderResponse
- type SOAPPaymentRequest
- type SOAPPaymentResponse
- type SOAPQueryRequest
- type SOAPReactiveToken
- type SOAPReactiveTokenResponse
- type SOAPReactiveTokenResult
- type SOAPRefundPayment
- type SOAPRefundPaymentResponse
- type SOAPRefundPaymentResult
- type SOAPResponseBody
- type SOAPResponseEnvelop
- type SOAPResponseHeader
- type SOAPReturn
- type SOAPRiskAnalysis
- type SOAPRiskControl
- type SOAPSettlementRequest
- type SOAPShippingDetails
- type SOAPSubscriptionQueryRequest
- type SOAPSubscriptionRequest
- type SOAPSubscriptionResponse
- type SOAPTechRequest
- type SOAPThreeDSRequest
- type SOAPThreeDSResponse
- type SOAPTokenResponse
- type SOAPTransactionItem
- type SOAPUpdatePayment
- type SOAPUpdatePaymentResponse
- type SOAPUpdatePaymentResult
- type SOAPUpdateSubscription
- type SOAPUpdateSubscriptionResponse
- type SOAPUpdateSubscriptionResult
- type SOAPUpdateToken
- type SOAPUpdateTokenResponse
- type SOAPUpdateTokenResult
- type SOAPValidatePayment
- type SOAPValidatePaymentResponse
- type SOAPValidatePaymentResult
Constants ¶
View Source
const ( PAYZEN_API_URL_TEST_URL = "https://secure.payzen.com.br/vads-ws/v5?wsdl" //URL of the PayZen SOAP V5 WSDL PAYZEN_API_URL_PROD_URL = "https://secure.payzen.com.br/vads-ws/v5?wsdl" //URL of the PayZen SOAP V5 WSDL PAYZEN_FORM_URL = "https://secure.payzen.com.br/vads-payment/" CurrencyCode = "986" CountryBR = "BR" Currency = "BRL" )
View Source
const ( PayZenModeTest = "TEST" PayZenModeProduction = "PRODUCTION" UUIDBase = "1546058f-5a25-4334-85ae-e68f2a44bbaf" SchemeBoleto = "BOLETO" DateTimeLayout = "2006-01-02T15:04:05Z" TimeZoneDateTimeLayout = "2006-01-02T15:04:05-07:00" DateWithZeroTimeLayout = "2006-01-02T00:00:00Z" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PayZen ¶
type PayZen struct { Lang string ToolBox *PayZenToolBox EntityValidator *validator.EntityValidator EntityValidatorResult *validator.EntityValidatorResult ValidationErrors map[string]string HasValidationError bool Debug bool }
func (*PayZen) CanCancelPayment ¶
func (this *PayZen) CanCancelPayment(status api.TransactionStatus) bool
func (*PayZen) CanDuplicatePayment ¶
func (this *PayZen) CanDuplicatePayment(status api.TransactionStatus) bool
func (*PayZen) CanUpdatePayment ¶
func (this *PayZen) CanUpdatePayment(status api.TransactionStatus) bool
func (*PayZen) PaymentCancel ¶
func (this *PayZen) PaymentCancel(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
Para cancelar: Initial, Authorised,
func (*PayZen) PaymentCancelSubscription ¶
func (this *PayZen) PaymentCancelSubscription(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
func (*PayZen) PaymentCapture ¶
func (this *PayZen) PaymentCapture(capturePayment *api.PaymentCapture) (*api.PaymentResult, error)
func (*PayZen) PaymentCreate ¶
func (*PayZen) PaymentCreateBoletoOnline ¶
func (*PayZen) PaymentCreateSubscription ¶
func (this *PayZen) PaymentCreateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
func (*PayZen) PaymentDuplicate ¶
func (*PayZen) PaymentFind ¶
func (this *PayZen) PaymentFind(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
find payment operations Com esse método é possível buscar todos os pagamentos relacionados a uma recorrência. As transações retornam no atributo Transactions do resultado
func (*PayZen) PaymentGetDetails ¶
func (this *PayZen) PaymentGetDetails(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
func (*PayZen) PaymentGetDetailsSubscription ¶
func (this *PayZen) PaymentGetDetailsSubscription(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
func (*PayZen) PaymentGetDetailsWithNsu ¶
func (this *PayZen) PaymentGetDetailsWithNsu(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
func (*PayZen) PaymentRefund ¶
func (*PayZen) PaymentTokenCancel ¶
func (this *PayZen) PaymentTokenCancel(paymentToken *api.PaymentToken) (*api.PaymentResult, error)
func (*PayZen) PaymentTokenCreate ¶
func (*PayZen) PaymentTokenGetDetails ¶
func (this *PayZen) PaymentTokenGetDetails(paymentToken *api.PaymentToken) (*api.PaymentResult, error)
func (*PayZen) PaymentTokenReactive ¶
func (this *PayZen) PaymentTokenReactive(paymentToken *api.PaymentToken) (*api.PaymentResult, error)
func (*PayZen) PaymentTokenUpdate ¶
func (*PayZen) PaymentUpdate ¶
func (*PayZen) PaymentUpdateSubscription ¶
func (this *PayZen) PaymentUpdateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
func (*PayZen) PaymentValidate ¶
func (this *PayZen) PaymentValidate(paymentFind *api.PaymentFind) (*api.PaymentResult, error)
type PayZenToolBox ¶
type PayZenToolBox struct { Account *api.PayZenAccount Debug bool }
func NewPayZenToolBox ¶
func NewPayZenToolBox(account *api.PayZenAccount) *PayZenToolBox
func (*PayZenToolBox) CancelPayment ¶
func (this *PayZenToolBox) CancelPayment(transactionUuid string) (*api.PaymentResult, error)
func (*PayZenToolBox) CancelPaymentToken ¶
func (this *PayZenToolBox) CancelPaymentToken(paymentToken string) (*api.PaymentResult, error)
Cancela um token para compra com um click
func (*PayZenToolBox) CancelSubscription ¶
func (this *PayZenToolBox) CancelSubscription(subscriptionId string, paymentToken string) (*api.PaymentResult, error)
func (*PayZenToolBox) CapturePayment ¶
func (this *PayZenToolBox) CapturePayment(captureObject *api.PaymentCapture) (*api.PaymentResult, error)
Captura uma transação
func (*PayZenToolBox) CreatePayment ¶
func (this *PayZenToolBox) CreatePayment(paymentData *api.Payment) (*api.PaymentResult, error)
Autoriza um pagamento
func (*PayZenToolBox) CreatePaymentBoletoOnline ¶
func (this *PayZenToolBox) CreatePaymentBoletoOnline(paymentData *api.Payment) (*api.PaymentResult, error)
func (*PayZenToolBox) CreatePaymentToken ¶
func (this *PayZenToolBox) CreatePaymentToken(paymentData *api.Payment) (*api.PaymentResult, error)
Cria um token para compra com um click
func (*PayZenToolBox) CreateSubscription ¶
func (this *PayZenToolBox) CreateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
func (*PayZenToolBox) DuplicatePayment ¶
func (this *PayZenToolBox) DuplicatePayment(paymentData *api.Payment) (*api.PaymentResult, error)
func (*PayZenToolBox) FillCardInfo ¶
func (this *PayZenToolBox) FillCardInfo(cardRequest *SOAPCardRequest, card *api.Card)
func (*PayZenToolBox) FillCustomerInfo ¶
func (this *PayZenToolBox) FillCustomerInfo(billingDetails *SOAPBillingDetails, customer *api.Customer)
func (*PayZenToolBox) FillRequestHeader ¶
func (this *PayZenToolBox) FillRequestHeader(header *SOAPHeader)
func (*PayZenToolBox) FindPayment ¶
func (this *PayZenToolBox) FindPayment(orderId string) (*api.PaymentResult, error)
Retorna o status de um pagamento
func (*PayZenToolBox) GenerateAuthToken ¶
func (this *PayZenToolBox) GenerateAuthToken(requestId string, timestamp string, format string) string
func (*PayZenToolBox) GenerateFormAuthToken ¶
func (this *PayZenToolBox) GenerateFormAuthToken(data string) string
func (*PayZenToolBox) GetDetailsPaymentToken ¶
func (this *PayZenToolBox) GetDetailsPaymentToken(paymentToken string) (*api.PaymentResult, error)
Consulta um token para compra com um click
func (*PayZenToolBox) GetPaymentDetails ¶
func (this *PayZenToolBox) GetPaymentDetails(transactionUuid string) (*api.PaymentResult, error)
func (*PayZenToolBox) GetPaymentDetailsWithNsu ¶
func (this *PayZenToolBox) GetPaymentDetailsWithNsu(transactionUuid string) (*api.PaymentResult, error)
func (*PayZenToolBox) GetSubscriptionDetails ¶
func (this *PayZenToolBox) GetSubscriptionDetails(subscriptionId string, paymentToken string) (*api.PaymentResult, error)
func (*PayZenToolBox) MakeFormRequest ¶
func (this *PayZenToolBox) MakeFormRequest(payload map[string]string) (*api.PaymentResult, error)
func (*PayZenToolBox) MakeRequest ¶
func (this *PayZenToolBox) MakeRequest(soap *SOAPEnvelope, soapResponse *SOAPResponseEnvelop) (*api.PaymentResult, error)
func (*PayZenToolBox) ReactivePaymentToken ¶
func (this *PayZenToolBox) ReactivePaymentToken(paymentToken string) (*api.PaymentResult, error)
Reativa um token para compra com um click
func (*PayZenToolBox) RefundPayment ¶
func (this *PayZenToolBox) RefundPayment(paymentData *api.Payment) (*api.PaymentResult, error)
func (*PayZenToolBox) UpdatePayment ¶
func (this *PayZenToolBox) UpdatePayment(paymentData *api.Payment) (*api.PaymentResult, error)
update payment
func (*PayZenToolBox) UpdatePaymentToken ¶
func (this *PayZenToolBox) UpdatePaymentToken(paymentData *api.Payment) (*api.PaymentResult, error)
func (*PayZenToolBox) UpdateSubscription ¶
func (this *PayZenToolBox) UpdateSubscription(subscription *api.Subscription) (*api.PaymentResult, error)
func (*PayZenToolBox) ValidatePayment ¶
func (this *PayZenToolBox) ValidatePayment(transactionUuid string) (*api.PaymentResult, error)
Retorna os detalhes de um pagamento
func (*PayZenToolBox) ValidateResponse ¶
func (this *PayZenToolBox) ValidateResponse(header *SOAPResponseHeader) bool
type SOAPAuthenticationRequestData ¶
type SOAPAuthenticationRequestData struct { XMLName xml.Name `xml:"authenticationRequestData"` ThreeDSAcctId string `xml:"threeDSAcctId"` ThreeDSAcsUrl string `xml:"threeDSAcsUrl"` ThreeDSBrand string `xml:"threeDSBrand"` ThreeDSEncodedPareq string `xml:"threeDSEncodedPareq"` ThreeDSEnrolled string `xml:"threeDSEnrolled"` ThreeDSRequestId string `xml:"threeDSRequestId"` }
type SOAPAuthenticationResultData ¶
type SOAPAuthenticationResultData struct { XMLName xml.Name `xml:"authenticationResultData"` TransactionCondition string `xml:"transactionCondition"` Enrolled string `xml:"enrolled"` Status string `xml:"status"` Eci string `xml:"eci"` Xid string `xml:"xid"` Cavv string `xml:"cavv"` Brand string `xml:"brand"` }
type SOAPBillingDetails ¶
type SOAPBillingDetails struct { XMLName xml.Name `xml:"billingDetails"` Reference string `xml:"reference,omitempty"` Title string `xml:"title,omitempty"` Type string `xml:"type,omitempty"` // PRIVATE or COMPANY FirstName string `xml:"firstName,omitempty"` LastName string `xml:"lastName,omitempty"` PhoneNumber string `xml:"phoneNumber,omitempty"` Email string `xml:"email,omitempty"` StreetNumber string `xml:"streetNumber,omitempty"` Address string `xml:"address,omitempty"` Address2 string `xml:"address2,omitempty"` District string `xml:"district,omitempty"` ZipCode string `xml:"zipCode,omitempty"` City string `xml:"city,omitempty"` State string `xml:"state,omitempty"` Country string `xml:"country,omitempty"` Language string `xml:"language,omitempty"` CellPhoneNumber string `xml:"cellPhoneNumber,omitempty"` IdentityCode string `xml:"identityCode,omitempty"` }
type SOAPCancelPayment ¶
type SOAPCancelPayment struct { XMLName xml.Name `xml:"v5:cancelPayment"` CommonRequest *SOAPCommonRequest `xml:""` QueryRequest *SOAPQueryRequest `xml:""` }
func NewSOAPCancelPayment ¶
func NewSOAPCancelPayment() *SOAPCancelPayment
type SOAPCancelPaymentResponse ¶
type SOAPCancelPaymentResponse struct { XMLName xml.Name `xml:"cancelPaymentResponse"` CancelPaymentResult *SOAPCancelPaymentResult `xml:""` }
func NewSOAPCancelPaymentResponse ¶
func NewSOAPCancelPaymentResponse() *SOAPCancelPaymentResponse
type SOAPCancelPaymentResult ¶
type SOAPCancelPaymentResult struct { XMLName xml.Name `xml:"cancelPaymentResult"` CommonResponse *SOAPCommonResponse `xml:""` }
type SOAPCancelSubscription ¶
type SOAPCancelSubscription struct { XMLName xml.Name `xml:"v5:cancelSubscription"` QueryRequest *SOAPSubscriptionQueryRequest `xml:""` CommonRequest *SOAPCommonRequest `xml:"commonRequest"` }
func NewSOAPCancelSubscription ¶
func NewSOAPCancelSubscription() *SOAPCancelSubscription
type SOAPCancelSubscriptionResponse ¶
type SOAPCancelSubscriptionResponse struct { XMLName xml.Name `xml:"cancelSubscriptionResponse"` CancelSubscriptionResult *SOAPCancelSubscriptionResult `xml:""` }
func NewSOAPCancelSubscriptionResponse ¶
func NewSOAPCancelSubscriptionResponse() *SOAPCancelSubscriptionResponse
type SOAPCancelSubscriptionResult ¶
type SOAPCancelSubscriptionResult struct { XMLName xml.Name `xml:"cancelSubscriptionResult"` CommonResponse *SOAPCommonResponse `xml:""` }
type SOAPCancelToken ¶
type SOAPCancelToken struct { XMLName xml.Name `xml:"v5:cancelToken"` CommonRequest *SOAPCommonRequest `xml:"commonRequest"` QueryRequest *SOAPQueryRequest `xml:"queryRequest"` }
func NewSOAPCancelToken ¶
func NewSOAPCancelToken() *SOAPCancelToken
type SOAPCancelTokenResponse ¶
type SOAPCancelTokenResponse struct { XMLName xml.Name `xml:"cancelTokenResponse"` CancelTokenResult *SOAPCancelTokenResult `xml:""` }
func NewSOAPCancelTokenResponse ¶
func NewSOAPCancelTokenResponse() *SOAPCancelTokenResponse
type SOAPCancelTokenResult ¶
type SOAPCancelTokenResult struct { XMLName xml.Name `xml:"cancelTokenResult"` CommonResponse *SOAPCommonResponse `xml:"commonResponse"` }
type SOAPCapturePayment ¶
type SOAPCapturePayment struct { XMLName xml.Name `xml:"v5:capturePayment"` SettlementRequest *SOAPSettlementRequest `xml:""` }
func NewSOAPCapturePayment ¶
func NewSOAPCapturePayment() *SOAPCapturePayment
type SOAPCapturePaymentResponse ¶
type SOAPCapturePaymentResponse struct { XMLName xml.Name `xml:"capturePaymentResponse"` CapturePaymentResult *SOAPCapturePaymentResult `xml:""` }
func NewSOAPCreateCaptureResponse ¶
func NewSOAPCreateCaptureResponse() *SOAPCapturePaymentResponse
type SOAPCapturePaymentResult ¶
type SOAPCapturePaymentResult struct { XMLName xml.Name `xml:"capturePaymentResult"` CommonResponse *SOAPCommonResponse `xml:"commonResponse"` }
type SOAPCaptureResponse ¶
type SOAPCaptureResponse struct { XMLName xml.Name `xml:"captureResponse"` Date string `xml:"date"` Number string `xml:"number"` ReconciliationStatus string `xml:"reconciliationStatus"` RefundAmount string `xml:"refundAmount"` RefundCurrency string `xml:"refundCurrency"` Chargeback string `xml:"chargeback"` }
type SOAPCardRequest ¶
type SOAPCardRequest struct { XMLName xml.Name `xml:"cardRequest"` Number string `xml:"number,omitempty"` Scheme string `xml:"scheme,omitempty"` ExpiryMonth string `xml:"expiryMonth,omitempty"` ExpiryYear string `xml:"expiryYear,omitempty"` CardSecurityCode string `xml:"cardSecurityCode,omitempty"` CardHolderBirthDay string `xml:"cardHolderBirthDay,omitempty"` CardHolderName string `xml:"cardHolderName,omitempty"` PaymentToken string `xml:"paymentToken,omitempty"` }
type SOAPCardResponse ¶
type SOAPCardResponse struct { XMLName xml.Name `xml:"cardResponse"` Number string `xml:"number"` Scheme string `xml:"scheme"` Brand string `xml:"brand"` Country string `xml:"country"` ProductCode string `xml:"productCode"` BankCode string `xml:"bankCode"` ExpiryMonth string `xml:"expiryMonth"` ExpiryYear string `xml:"expiryYear"` }
type SOAPCommonRequest ¶
type SOAPCommonResponse ¶
type SOAPCommonResponse struct { XMLName xml.Name `xml:"commonResponse"` ResponseCode string `xml:"responseCode"` ResponseCodeDetail string `xml:"responseCodeDetail"` TransactionStatusLabel string `xml:"transactionStatusLabel"` ShopId string `xml:"shopId"` PaymentSource string `xml:"paymentSource"` // EC, MOTO, CC, OTHER -> EC pedido eletrônico SubmissionDate string `xml:"submissionDate"` ContractNumber string `xml:"contractNumber"` PaymentToken string `xml:"paymentToken"` }
type SOAPCreatePayment ¶
type SOAPCreatePayment struct { XMLName xml.Name `xml:"v5:createPayment"` CommonRequest *SOAPCommonRequest `xml:""` ThreeDSRequest *SOAPThreeDSRequest `xml:""` PaymentRequest *SOAPPaymentRequest `xml:""` OrderRequest *SOAPOrderRequest `xml:""` CardRequest *SOAPCardRequest `xml:""` CustomerRequest *SOAPCustomerRequest `xml:""` TechRequest *SOAPTechRequest `xml:""` }
func NewSOAPCreatePayment ¶
func NewSOAPCreatePayment() *SOAPCreatePayment
type SOAPCreatePaymentResponse ¶
type SOAPCreatePaymentResponse struct { XMLName xml.Name `xml:"createPaymentResponse"` CreatePaymentResult *SOAPCreatePaymentResult `xml:""` }
func NewSOAPCreatePaymentResponse ¶
func NewSOAPCreatePaymentResponse() *SOAPCreatePaymentResponse
type SOAPCreatePaymentResult ¶
type SOAPCreatePaymentResult struct { XMLName xml.Name `xml:"createPaymentResult"` RequestId string `xml:"requestId"` CommonResponse *SOAPCommonResponse `xml:""` PaymentResponse *SOAPPaymentResponse `xml:""` OrderResponse *SOAPOrderResponse `xml:""` CardResponse *SOAPCardResponse `xml:""` AuthorizationResponse *SOAPAuthorizationResponse `xml:""` CaptureResponse *SOAPCaptureResponse `xml:""` CustomerResponse *SOAPCustomerResponse `xml:""` MarkResponse *SOAPMarkResponse `xml:""` ExtraResponse *SOAPExtraResponse `xml:""` ThreeDSResponse *SOAPThreeDSResponse `xml:",omitempty"` FraudManagementResponse *SOAPFraudManagementResponse `xml:",omitempty"` }
type SOAPCreateSubscription ¶
type SOAPCreateSubscription struct { XMLName xml.Name `xml:"v5:createSubscription"` CommonRequest *SOAPCommonRequest `xml:"commonRequest"` OrderRequest *SOAPOrderRequest `xml:"orderRequest"` SubscriptionRequest *SOAPSubscriptionRequest `xml:"subscriptionRequest"` CardRequest *SOAPCardRequest `xml:"cardRequest"` }
func NewSOAPCreateSubscription ¶
func NewSOAPCreateSubscription() *SOAPCreateSubscription
type SOAPCreateSubscriptionResponse ¶
type SOAPCreateSubscriptionResponse struct { XMLName xml.Name `xml:"createSubscriptionResponse"` CreateSubscriptionResult *SOAPCreateSubscriptionResult `xml:""` }
func NewSOAPCreateSubscriptionResponse ¶
func NewSOAPCreateSubscriptionResponse() *SOAPCreateSubscriptionResponse
type SOAPCreateSubscriptionResult ¶
type SOAPCreateSubscriptionResult struct { XMLName xml.Name `xml:"createSubscriptionResult"` CommonResponse *SOAPCommonResponse `xml:""` SubscriptionResponse *SOAPSubscriptionResponse `xml:""` }
type SOAPCreateToken ¶
type SOAPCreateToken struct { XMLName xml.Name `xml:"v5:createToken"` CommonRequest *SOAPCommonRequest `xml:"commonRequest"` CardRequest *SOAPCardRequest `xml:"cardRequest"` CustomerRequest *SOAPCustomerRequest `xml:"customerRequest"` }
func NewSOAPCreateToken ¶
func NewSOAPCreateToken() *SOAPCreateToken
type SOAPCreateTokenResponse ¶
type SOAPCreateTokenResponse struct { XMLName xml.Name `xml:"createTokenResponse"` CreateTokenResult *SOAPCreateTokenResult `xml:""` }
func NewSOAPCreateTokenResponse ¶
func NewSOAPCreateTokenResponse() *SOAPCreateTokenResponse
type SOAPCreateTokenResult ¶
type SOAPCreateTokenResult struct { XMLName xml.Name `xml:"createTokenResult"` RequestId string `xml:"requestId"` CommonResponse *SOAPCommonResponse `xml:"commonResponse"` AuthorizationResponse *SOAPAuthorizationResponse `xml:"authorizationResponse"` }
type SOAPCustomerRequest ¶
type SOAPCustomerRequest struct { XMLName xml.Name `xml:"customerRequest"` BillingDetails *SOAPBillingDetails `xml:""` ShippingDetails *SOAPShippingDetails `xml:"-"` ExtraDetails *SOAPExtraDetails `xml:"-"` }
type SOAPCustomerResponse ¶
type SOAPCustomerResponse struct { XMLName xml.Name `xml:"customerResponse"` BillingDetails *SOAPBillingDetails `xml:""` ShippingDetails *SOAPShippingDetails `xml:""` ExtraDetails *SOAPExtraDetails `xml:""` }
type SOAPDuplicatePayment ¶
type SOAPDuplicatePayment struct { XMLName xml.Name `xml:"v5:duplicatePayment"` CommonRequest *SOAPCommonRequest `xml:""` PaymentRequest *SOAPPaymentRequest `xml:""` QueryRequest *SOAPQueryRequest `xml:""` OrderRequest *SOAPOrderRequest `xml:"` }
func NewSOAPDuplicatePayment ¶
func NewSOAPDuplicatePayment() *SOAPDuplicatePayment
type SOAPDuplicatePaymentResponse ¶
type SOAPDuplicatePaymentResponse struct { XMLName xml.Name `xml:"duplicatePaymentResponse"` DuplicatePaymentResult *SOAPDuplicatePaymentResult `xml:""` }
func NewSOAPDuplicatePaymentResponse ¶
func NewSOAPDuplicatePaymentResponse() *SOAPDuplicatePaymentResponse
type SOAPDuplicatePaymentResult ¶
type SOAPDuplicatePaymentResult struct { XMLName xml.Name `xml:"duplicatePaymentResult"` CommonResponse *SOAPCommonResponse `xml:""` PaymentResponse *SOAPPaymentResponse `xml:""` OrderResponse *SOAPOrderResponse `xml:""` CardResponse *SOAPCardResponse `xml:""` AuthorizationResponse *SOAPAuthorizationResponse `xml:""` CaptureResponse *SOAPCaptureResponse `xml:""` CustomerResponse *SOAPCustomerResponse `xml:""` MarkResponse *SOAPMarkResponse `xml:""` ExtraResponse *SOAPExtraResponse `xml:""` ThreeDSResponse *SOAPThreeDSResponse `xml:",omitempty"` FraudManagementResponse *SOAPFraudManagementResponse `xml:",omitempty"` }
type SOAPEnvelope ¶
type SOAPEnvelope struct { XMLName xml.Name `xml:"soap:Envelope"` XmlNSSoap string `xml:"xmlns:soap,attr"` XmlNS string `xml:"xmlns:v5,attr"` Header *SOAPHeader `xml:",omitempty"` Body *SOAPBody `xml:",omitempty"` }
func NewSOAPEnvelope ¶
func NewSOAPEnvelope() *SOAPEnvelope
type SOAPExtraDetails ¶
type SOAPExtraInfo ¶
type SOAPExtraResponse ¶
type SOAPFindPayments ¶
type SOAPFindPayments struct { XMLName xml.Name `xml:"v5:findPayments"` QueryRequest *SOAPQueryRequest `xml:""` }
func NewSOAPFindPayments ¶
func NewSOAPFindPayments() *SOAPFindPayments
type SOAPFindPaymentsResponse ¶
type SOAPFindPaymentsResponse struct { XMLName xml.Name `xml:"findPaymentsResponse"` FindPaymentsResult *SOAPFindPaymentsResult `xml:""` }
func NewSOAPFindPaymentsResponse ¶
func NewSOAPFindPaymentsResponse() *SOAPFindPaymentsResponse
type SOAPFindPaymentsResult ¶
type SOAPFindPaymentsResult struct { XMLName xml.Name `xml:"findPaymentsResult"` RequestId string `xml:"requestId"` CommonResponse *SOAPCommonResponse `xml:"commonResponse"` OrderResponse *SOAPOrderResponse `xml:"orderResponse"` TransactionItem []*SOAPTransactionItem `xml:"transactionItem"` }
type SOAPFraudManagementResponse ¶
type SOAPFraudManagementResponse struct { XMLName xml.Name `xml:"fraudManagementResponse"` RiskControl *SOAPRiskControl `xml:""` RiskAnalysis *SOAPRiskAnalysis `xml:""` RiskAssessment string `xml:"riskAssessment"` }
type SOAPGetPaymentDetails ¶
type SOAPGetPaymentDetails struct { XMLName xml.Name `xml:"v5:getPaymentDetails"` QueryRequest *SOAPQueryRequest `xml:""` ExtendedResponseRequest *SOAPExtendedResponseRequest `xml:""` }
func NewSOAPGetPaymentDetails ¶
func NewSOAPGetPaymentDetails() *SOAPGetPaymentDetails
func NewSOAPGetPaymentDetailsWithNsu ¶
func NewSOAPGetPaymentDetailsWithNsu() *SOAPGetPaymentDetails
type SOAPGetPaymentDetailsResponse ¶
type SOAPGetPaymentDetailsResponse struct { XMLName xml.Name `xml:"getPaymentDetailsResponse"` GetPaymentDetailsResult *SOAPGetPaymentDetailsResult `xml:""` }
func NewSOAPGetPaymentDetailsResponse ¶
func NewSOAPGetPaymentDetailsResponse() *SOAPGetPaymentDetailsResponse
type SOAPGetPaymentDetailsResult ¶
type SOAPGetPaymentDetailsResult struct { XMLName xml.Name `xml:"getPaymentDetailsResult"` CommonResponse *SOAPCommonResponse `xml:""` PaymentResponse *SOAPPaymentResponse `xml:""` OrderResponse *SOAPOrderResponse `xml:""` CardResponse *SOAPCardResponse `xml:""` AuthorizationResponse *SOAPAuthorizationResponse `xml:""` CaptureResponse *SOAPCaptureResponse `xml:""` CustomerResponse *SOAPCustomerResponse `xml:""` MarkResponse *SOAPMarkResponse `xml:""` ThreeDSResponse *SOAPThreeDSResponse `xml:""` ExtraResponse *SOAPExtraResponse `xml:""` FraudManagementResponse *SOAPFraudManagementResponse `xml:""` }
type SOAPGetSubscriptionDetails ¶
type SOAPGetSubscriptionDetails struct { XMLName xml.Name `xml:"v5:getSubscriptionDetails"` QueryRequest *SOAPSubscriptionQueryRequest `xml:""` }
func NewSOAPGetSubscriptionDetails ¶
func NewSOAPGetSubscriptionDetails() *SOAPGetSubscriptionDetails
type SOAPGetSubscriptionDetailsResponse ¶
type SOAPGetSubscriptionDetailsResponse struct { XMLName xml.Name `xml:"getSubscriptionDetailsResponse"` GetSubscriptionDetailsResult *SOAPGetSubscriptionDetailsResult `xml:""` }
func NewSOAPGetSubscriptionDetailsResponse ¶
func NewSOAPGetSubscriptionDetailsResponse() *SOAPGetSubscriptionDetailsResponse
type SOAPGetSubscriptionDetailsResult ¶
type SOAPGetSubscriptionDetailsResult struct { XMLName xml.Name `xml:"getSubscriptionDetailsResult"` CommonResponse *SOAPCommonResponse `xml:""` OrderResponse *SOAPOrderResponse `xml:""` SubscriptionResponse *SOAPSubscriptionResponse `xml:""` }
type SOAPGetTokenDetails ¶
type SOAPGetTokenDetails struct { XMLName xml.Name `xml:"v5:getTokenDetails"` QueryRequest *SOAPQueryRequest `xml:"queryRequest"` }
func NewSOAPGetTokenDetails ¶
func NewSOAPGetTokenDetails() *SOAPGetTokenDetails
type SOAPGetTokenDetailsResponse ¶
type SOAPGetTokenDetailsResponse struct { XMLName xml.Name `xml:"getTokenDetailsResponse"` GetTokenDetailsResult *SOAPGetTokenDetailsResult `xml:""` }
func NewSOAPGetTokenDetailsResponse ¶
func NewSOAPGetTokenDetailsResponse() *SOAPGetTokenDetailsResponse
type SOAPGetTokenDetailsResult ¶
type SOAPGetTokenDetailsResult struct { XMLName xml.Name `xml:"getTokenDetailsResult"` CommonResponse *SOAPCommonResponse `xml:""` CardResponse *SOAPCardResponse `xml:""` CustomerResponse *SOAPCustomerResponse `xml:""` AuthorizationResponse *SOAPAuthorizationResponse `xml:""` TokenResponse *SOAPTokenResponse `xml:""` }
type SOAPHeader ¶
type SOAPHeader struct { XMLName xml.Name `xml:"soap:Header"` XmlNSSoap string `xml:"xmlns:soapHeader,attr"` ShopId string `xml:"soapHeader:shopId"` RequestId string `xml:"soapHeader:requestId"` Timestamp string `xml:"soapHeader:timestamp"` Mode string `xml:"soapHeader:mode"` AuthToken string `xml:"soapHeader:authToken"` }
func NewSOAPHeader ¶
func NewSOAPHeader() *SOAPHeader
type SOAPMarkResponse ¶
type SOAPOrderRequest ¶
type SOAPOrderRequest struct { XMLName xml.Name `xml:"orderRequest"` OrderId string `xml:"orderId"` // objecto customizado chave valor.. ExtInfo []*SOAPExtraInfo `xml:"extInfo"` }
type SOAPOrderResponse ¶
type SOAPOrderResponse struct { XMLName xml.Name `xml:"orderResponse"` OrderId string `xml:"orderId"` ExtInfo []*SOAPExtraInfo `xml:"extInfo"` }
type SOAPPaymentRequest ¶
type SOAPPaymentRequest struct { XMLName xml.Name `xml:"paymentRequest"` Amount string `xml:"amount,omitempty"` Currency string `xml:"currency,omitempty"` /* Data da captura solicitada apresentada no formato ISO 8601 definido pelo W3C. Exemplo: 2016-07-16T19:20:00Z. Este parâmetro é utilizado para efetuar um pagamento a prazo. Se o número de dias entre a data de captura e a data do dia vigente for superior ao tempo de validade da autorização, uma autorização de 1 BRL será realizada o mesmo dia da transação. Permite verificar a validade do cartão. A autorização para o valor total será efetuada: processo padrão: o dia da data de captura no banco desejada, processo com autorização antecipada: em função do meio de pagamento selecionado, a D- quantidade de dias correspondente ao tempo de validade de uma autorização antes da data de captura no banco desejada. Se você quiser receber a notificação de resultado desta solicitação de autorização, você deve configurar a regra de notificação URL de notificação em autorização por Batch no Back Office (Configuração > Regras de notificações). Observação : Se o prazo anterior à captura for superior a 365 dias na solicitação de pagamento, ele será automaticamente redefinido a 365 dias. */ ExpectedCaptureDate string `xml:"expectedCaptureDate,omitempty"` PaymentOptionCode int `xml:"paymentOptionCode,omitempty"` // numero de parcelas ManualValidation string `xml:"manualValidation,omitempty"` // 0 = automatico, 1 manual }
type SOAPPaymentResponse ¶
type SOAPPaymentResponse struct { XMLName xml.Name `xml:"paymentResponse"` TransactionId string `xml:"transactionId"` TransactionUuid string `xml:"transactionUuid"` Amount string `xml:"amount"` Currency string `xml:"currency"` ExpectedCaptureDate string `xml:"expectedCaptureDate"` PaymentType string `xml:"paymentType"` // SINGLE PaymentError string `xml:"paymentError"` EffectiveAmount string `xml:"effectiveAmount"` EffectiveCurrency string `xml:"effectiveCurrency"` OperationType string `xml:"operationType"` // 0 debito, 1 reembolso CreationDate string `xml:"creationDate"` ExternalTransactionId string `xml:"externalTransactionId"` SequenceNumber string `xml:"sequenceNumber"` }
type SOAPQueryRequest ¶
type SOAPReactiveToken ¶
type SOAPReactiveToken struct { XMLName xml.Name `xml:"v5:reactivateToken"` QueryRequest *SOAPQueryRequest `xml:"queryRequest"` }
func NewSOAPReactiveToken ¶
func NewSOAPReactiveToken() *SOAPReactiveToken
type SOAPReactiveTokenResponse ¶
type SOAPReactiveTokenResponse struct { XMLName xml.Name `xml:"reactiveTokenResponse"` ReactiveTokenResult *SOAPReactiveTokenResult `xml:""` }
func NewSOAPReactiveTokenResponse ¶
func NewSOAPReactiveTokenResponse() *SOAPReactiveTokenResponse
type SOAPReactiveTokenResult ¶
type SOAPReactiveTokenResult struct { XMLName xml.Name `xml:"reactiveTokenResult"` CommonResponse *SOAPCommonResponse `xml:"commonResponse"` AuthorizationResponse *SOAPAuthorizationResponse `xml:"authorizationResponse"` }
type SOAPRefundPayment ¶
type SOAPRefundPayment struct { XMLName xml.Name `xml:"v5:refundPayment"` CommonRequest *SOAPCommonRequest `xml:""` PaymentRequest *SOAPPaymentRequest `xml:""` QueryRequest *SOAPQueryRequest `xml:""` }
func NewSOAPRefundPayment ¶
func NewSOAPRefundPayment() *SOAPRefundPayment
type SOAPRefundPaymentResponse ¶
type SOAPRefundPaymentResponse struct { XMLName xml.Name `xml:"refundPaymentResponse"` RefundPaymentResult *SOAPRefundPaymentResult `xml:""` }
func NewSOAPRefundPaymentResponse ¶
func NewSOAPRefundPaymentResponse() *SOAPRefundPaymentResponse
type SOAPRefundPaymentResult ¶
type SOAPRefundPaymentResult struct { XMLName xml.Name `xml:"refundPaymentResult"` CommonResponse *SOAPCommonResponse `xml:""` PaymentResponse *SOAPPaymentResponse `xml:""` OrderResponse *SOAPOrderResponse `xml:""` CardResponse *SOAPCardResponse `xml:""` AuthorizationResponse *SOAPAuthorizationResponse `xml:""` CaptureResponse *SOAPCaptureResponse `xml:""` CustomerResponse *SOAPCustomerResponse `xml:""` MarkResponse *SOAPMarkResponse `xml:""` ExtraResponse *SOAPExtraResponse `xml:""` ThreeDSResponse *SOAPThreeDSResponse `xml:",omitempty"` FraudManagementResponse *SOAPFraudManagementResponse `xml:",omitempty"` }
type SOAPResponseBody ¶
type SOAPResponseBody struct { XMLName xml.Name `xml:"Body"` Return *SOAPReturn `xml:",omitempty"` CreatePaymentResponse *SOAPCreatePaymentResponse `xml:",omitempty"` CancelPaymentResponse *SOAPCancelPaymentResponse `xml:",omitempty"` UpdatePaymentResponse *SOAPUpdatePaymentResponse `xml:",omitempty"` DuplicatePaymentResponse *SOAPDuplicatePaymentResponse `xml:",omitempty"` CapturePaymentResponse *SOAPCapturePaymentResponse `xml:",omitempty"` ValidatePaymentResponse *SOAPValidatePaymentResponse `xml:",omitempty"` RefundPaymentResponse *SOAPRefundPaymentResponse `xml:",omitempty"` CreateTokenResponse *SOAPCreateTokenResponse `xml:",omitempty"` UpdateTokenResponse *SOAPUpdateTokenResponse `xml:",omitempty"` CancelTokenResponse *SOAPCancelTokenResponse `xml:",omitempty"` ReactiveTokenResponse *SOAPReactiveTokenResponse `xml:",omitempty"` GetTokenDetailsResponse *SOAPGetTokenDetailsResponse `xml:",omitempty"` FindPaymentsResponse *SOAPFindPaymentsResponse `xml:",omitempty"` GetPaymentDetailsResponse *SOAPGetPaymentDetailsResponse `xml:",omitempty"` CreateSubscriptionResponse *SOAPCreateSubscriptionResponse `xml:",omitempty"` GetSubscriptionDetailsResponse *SOAPGetSubscriptionDetailsResponse `xml:",omitempty"` CancelSubscriptionResponse *SOAPCancelSubscriptionResponse `xml:",omitempty"` UpdateSubscriptionResponse *SOAPUpdateSubscriptionResponse `xml:",omitempty"` }
func (*SOAPResponseBody) GetCommonResponse ¶
func (this *SOAPResponseBody) GetCommonResponse() *SOAPCommonResponse
type SOAPResponseEnvelop ¶
type SOAPResponseEnvelop struct { XMLName xml.Name `xml:"Envelope"` //XmlNSSoap string `xml:"xmlns:soap,attr"` Header *SOAPResponseHeader `xml:""` Body *SOAPResponseBody `xml:""` }
func NewSOAPResponseEnvelop ¶
func NewSOAPResponseEnvelop() *SOAPResponseEnvelop
type SOAPResponseHeader ¶
type SOAPResponseHeader struct { XMLName xml.Name `xml:"Header"` ///XmlNSSoap string `xml:"xmlns:env,attr"` ShopId string `xml:"shopId"` RequestId string `xml:"requestId"` Timestamp string `xml:"timestamp"` Mode string `xml:"mode"` AuthToken string `xml:"authToken"` }
func NewSOAPResponseHeader ¶
func NewSOAPResponseHeader() *SOAPResponseHeader
type SOAPReturn ¶
type SOAPReturn struct { XMLName xml.Name `xml:"return"` CommonResponse *SOAPCommonResponse `xml:""` }
type SOAPRiskAnalysis ¶
type SOAPRiskControl ¶
type SOAPSettlementRequest ¶
type SOAPShippingDetails ¶
type SOAPShippingDetails struct { XMLName xml.Name `xml:"shippingDetails"` Type string `xml:"type"` // PRIVATE or COMPANY Title string `xml:"title"` FirstName string `xml:"firstName"` LastName string `xml:"lastName"` PhoneNumber string `xml:"phoneNumber"` Email string `xml:"email"` StreetNumber string `xml:"streetNumber"` Address string `xml:"address"` Address2 string `xml:"address2"` District string `xml:"district"` ZipCode string `xml:"zipCode"` City string `xml:"city"` State string `xml:"state"` Country string `xml:"country"` Language string `xml:"language"` CellPhoneNumber string `xml:"cellPhoneNumber"` DeliveryCompanyName string `xml:"deliveryCompanyName"` ShippingSpeed string `xml:"shippingSpeed"` ShippingMethod string `xml:"shippingMethod"` LegalName string `xml:"legalName"` IdentityCode string `xml:"identityCode"` }
type SOAPSubscriptionRequest ¶
type SOAPSubscriptionRequest struct { XMLName xml.Name `xml:"subscriptionRequest"` EffectDate string `xml:"effectDate"` // 2016-07-16T19:20Z Amount string `xml:"amount"` Currency string `xml:"currency"` InitialAmount string `xml:"initialAmount"` InitialAmountNumber string `xml:"initialAmountNumber"` Rrule string `xml:"rrule"` SubscriptionId string `xml:"subscriptionId"` Description string `xml:"description"` }
type SOAPSubscriptionResponse ¶
type SOAPSubscriptionResponse struct { XMLName xml.Name `xml:"subscriptionResponse"` SubscriptionId string `xml:"subscriptionId"` EffectDate string `xml:"effectDate"` // 2016-07-16T19:20Z InitialAmountNumber int64 `xml:"initialAmountNumber"` Rrule string `xml:"rrule"` Description string `xml:"description"` PastPaymentsNumber int64 `xml:"pastPaymentNumber"` TotalPaymentsNumber int64 `xml:"totalPaymentNumber"` CancelDate string `xml:"cancelDate"` }
type SOAPTechRequest ¶
type SOAPThreeDSRequest ¶
type SOAPThreeDSResponse ¶
type SOAPThreeDSResponse struct { XMLName xml.Name `xml:"threeDSResponse"` AuthenticationRequestData SOAPAuthenticationRequestData `xml:""` AuthenticationResultData SOAPAuthenticationResultData `xml:""` }
type SOAPTokenResponse ¶
type SOAPTransactionItem ¶
type SOAPTransactionItem struct { XMLName xml.Name `xml:"transactionItem"` TransactionUuid string `xml:"transactionUuid"` TransactionStatusLabel string `xml:"transactionStatusLabel"` Amount string `xml:"amount"` Currency string `xml:"currency"` ExpectedCaptureDate string `xml:"expectedCaptureDate"` }
type SOAPUpdatePayment ¶
type SOAPUpdatePayment struct { XMLName xml.Name `xml:"v5:updatePayment"` CommonRequest *SOAPCommonRequest `xml:""` QueryRequest *SOAPQueryRequest `xml:""` PaymentRequest *SOAPPaymentRequest `xml:""` }
func NewSOAPUpdatePayment ¶
func NewSOAPUpdatePayment() *SOAPUpdatePayment
type SOAPUpdatePaymentResponse ¶
type SOAPUpdatePaymentResponse struct { XMLName xml.Name `xml:"updatePaymentResponse"` UpdatePaymentResult *SOAPUpdatePaymentResult `xml:""` }
func NewSOAPUpdatePaymentResponse ¶
func NewSOAPUpdatePaymentResponse() *SOAPUpdatePaymentResponse
type SOAPUpdatePaymentResult ¶
type SOAPUpdatePaymentResult struct { XMLName xml.Name `xml:"updatePaymentResult"` CommonResponse *SOAPCommonResponse `xml:""` PaymentResponse *SOAPPaymentResponse `xml:""` OrderResponse *SOAPOrderResponse `xml:""` CardResponse *SOAPCardResponse `xml:""` AuthorizationResponse *SOAPAuthorizationResponse `xml:""` CaptureResponse *SOAPCaptureResponse `xml:""` CustomerResponse *SOAPCustomerResponse `xml:""` MarkResponse *SOAPMarkResponse `xml:""` ExtraResponse *SOAPExtraResponse `xml:""` ThreeDSResponse *SOAPThreeDSResponse `xml:",omitempty"` FraudManagementResponse *SOAPFraudManagementResponse `xml:",omitempty"` }
type SOAPUpdateSubscription ¶
type SOAPUpdateSubscription struct { XMLName xml.Name `xml:"v5:updateSubscription"` CommonRequest *SOAPCommonRequest `xml:"commonRequest"` QueryRequest *SOAPSubscriptionQueryRequest `xml:""` SubscriptionRequest *SOAPSubscriptionRequest `xml:"subscriptionRequest"` }
func NewSOAPUpdateSubscription ¶
func NewSOAPUpdateSubscription() *SOAPUpdateSubscription
type SOAPUpdateSubscriptionResponse ¶
type SOAPUpdateSubscriptionResponse struct { XMLName xml.Name `xml:"updateSubscriptionResponse"` UpdateSubscriptionResult *SOAPUpdateSubscriptionResult `xml:""` }
func NewSOAPUpdateSubscriptionResponse ¶
func NewSOAPUpdateSubscriptionResponse() *SOAPUpdateSubscriptionResponse
type SOAPUpdateSubscriptionResult ¶
type SOAPUpdateSubscriptionResult struct { XMLName xml.Name `xml:"updateSubscriptionResult"` CommonResponse *SOAPCommonResponse `xml:""` }
type SOAPUpdateToken ¶
type SOAPUpdateToken struct { XMLName xml.Name `xml:"v5:updateToken"` CommonRequest *SOAPCommonRequest `xml:"commonRequest"` QueryRequest *SOAPQueryRequest `xml:"queryRequest"` CardRequest *SOAPCardRequest `xml:"cardRequest"` CustomerRequest *SOAPCustomerRequest `xml:"customerRequest"` }
func NewSOAPUpdateToken ¶
func NewSOAPUpdateToken() *SOAPUpdateToken
type SOAPUpdateTokenResponse ¶
type SOAPUpdateTokenResponse struct { XMLName xml.Name `xml:"updateTokenResponse"` UpdateTokenResult *SOAPUpdateTokenResult `xml:""` }
func NewSOAPUpdateTokenResponse ¶
func NewSOAPUpdateTokenResponse() *SOAPUpdateTokenResponse
type SOAPUpdateTokenResult ¶
type SOAPUpdateTokenResult struct { XMLName xml.Name `xml:"updateTokenResult"` CommonResponse *SOAPCommonResponse `xml:"commonResponse"` AuthorizationResponse *SOAPAuthorizationResponse `xml:"authorizationResponse"` }
type SOAPValidatePayment ¶
type SOAPValidatePayment struct { XMLName xml.Name `xml:"v5:validatePayment"` CommonRequest *SOAPCommonRequest `xml:""` QueryRequest *SOAPQueryRequest `xml:""` }
func NewSOAPValidatePayment ¶
func NewSOAPValidatePayment() *SOAPValidatePayment
type SOAPValidatePaymentResponse ¶
type SOAPValidatePaymentResponse struct { XMLName xml.Name `xml:"validatePaymentResponse"` ValidatePaymentResult *SOAPValidatePaymentResult `xml:""` }
func NewSOAPValidatePaymentResponse ¶
func NewSOAPValidatePaymentResponse() *SOAPValidatePaymentResponse
type SOAPValidatePaymentResult ¶
type SOAPValidatePaymentResult struct { XMLName xml.Name `xml:"validatePaymentResult"` CommonResponse *SOAPCommonResponse `xml:"commonResponse"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.