Documentation ¶
Index ¶
- Constants
- func RandString(n int) string
- type APITest
- type Address
- type Approval
- type BasketItem
- type BinNumber
- type Bkm
- type BkmInitialize
- type BouncedBankTransferList
- type Buyer
- type Cancel
- type Card
- type CardInformation
- type CardList
- type CheckoutForm
- type CheckoutFormInitialize
- type CheckoutFormInitializePreAuth
- type CheckoutFormInitializeResource
- type CheckoutFormResponse
- type CreateApprovalRequest
- type CreateBkmInitializeRequest
- type CreateCancelRequest
- type CreateCardRequest
- type CreateCheckoutFormInitializeRequest
- type CreateCrossBookingRequest
- type CreateDisapprovalRequest
- type CreatePaymentPostAuthRequest
- type CreatePaymentRequest
- type CreatePeccoInitializeRequest
- type CreatePeccoPaymentRequest
- type CreateRefundRequest
- type CreateSubMerchantRequest
- type CreateThreedsPaymentRequest
- type CrossBookingFromSubMerchant
- type CrossBookingToSubMerchant
- type DeleteCardRequest
- type Disapproval
- type Errors
- type InstallmentInfo
- type Options
- type Payment
- type PaymentCard
- type PaymentPostAuth
- type PaymentPreAuth
- type PayoutCompletedTransactionList
- type PeccoInitialize
- type PeccoPayment
- type PkiBuilder
- type PricingPlan
- type PricingPlanResponse
- type PricingPlanResponseData
- type Refund
- type RefundChargedFromMerchant
- type RefundResponse
- type Request
- type Resource
- type RetrieveBinNumberRequest
- type RetrieveBkmRequest
- type RetrieveCardListRequest
- type RetrieveCheckoutFormRequest
- type RetrieveInstallmentInfoRequest
- type RetrievePaymentRequest
- type RetrieveSubMerchantRequest
- type RetrieveTransactionListRequest
- type SubMerchant
- func (subMerchant SubMerchant) Create(request CreateSubMerchantRequest, options Options) *SubMerchantResponse
- func (subMerchant SubMerchant) Retrieve(request RetrieveSubMerchantRequest, options Options) *SubMerchantResponse
- func (subMerchant SubMerchant) Update(request UpdateSubMerchantRequest, options Options) *SubMerchantResponse
- type SubMerchantResponse
- type Subscription
- type SubscriptionAddress
- type SubscriptionCancel
- type SubscriptionCancelResponse
- type SubscriptionCheckoutFormResponse
- type SubscriptionCheckoutFormResponseData
- type SubscriptionCheckoutFormResult
- type SubscriptionCustomer
- type SubscriptionCustomerResponse
- type SubscriptionCustomerResponseData
- type SubscriptionProduct
- type SubscriptionProductResponse
- type SubscriptionProductResponseData
- type SubscriptionResponse
- type SubscriptionUpdateCardInformation
- type SubscriptionUpdateCardInformationResponse
- type SubscriptionUpgrade
- type SubscriptionUpgradeResponse
- type ThreedsInitialize
- type ThreedsInitializePreAuth
- type ThreedsPayment
- type UpdateSubMerchantRequest
Constants ¶
View Source
const ( SubscriptionInitialStatusActive = "ACTIVE" SubscriptionInitialStatusPending = "PENDING" )
View Source
const ( PricingPlanIntervalDaily = "DAILY" PricingPlanIntervalWeekly = "WEEKLY" PricingPlanIntervalMonthly = "MONTHLY" PricingPlanIntervalYearly = "YEARLY" PricingPlanTypeRecurring = "RECURRING" )
Variables ¶
This section is empty.
Functions ¶
func RandString ¶
Types ¶
type BasketItem ¶
type BasketItem struct { ID string `json:"id,omitempty"` Price string `json:"price,omitempty"` Name string `json:"name,omitempty"` Category1 string `json:"category1,omitempty"` Category2 string `json:"category2,omitempty"` ItemType string `json:"itemType,omitempty"` SubMerchantKey string `json:"subMerchantKey,omitempty"` SubMerchantPrice string `json:"subMerchantPrice,omitempty"` }
type BkmInitialize ¶
type BkmInitialize struct{}
func (BkmInitialize) Create ¶
func (bkmInitialize BkmInitialize) Create(request CreateBkmInitializeRequest, options Options) string
type BouncedBankTransferList ¶
type BouncedBankTransferList struct{}
func (BouncedBankTransferList) Retrieve ¶
func (bouncedBankTransferList BouncedBankTransferList) Retrieve(request RetrieveTransactionListRequest, options Options) string
type Buyer ¶
type Buyer struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Surname string `json:"surname,omitempty"` IdentityNumber string `json:"identityNumber,omitempty"` Email string `json:"email,omitempty"` GsmNumber string `json:"gsmNumber,omitempty"` RegistrationDate string `json:"registrationDate,omitempty"` LastLoginDate string `json:"lastLoginDate,omitempty"` RegistrationAddress string `json:"registrationAddress,omitempty"` City string `json:"city,omitempty"` Country string `json:"country,omitempty"` ZipCode string `json:"zipCode,omitempty"` IP string `json:"ip,omitempty"` }
type CardInformation ¶
type CheckoutForm ¶
type CheckoutForm struct{}
func (CheckoutForm) Retrieve ¶
func (checkoutForm CheckoutForm) Retrieve(request RetrieveCheckoutFormRequest, options Options) *CheckoutFormResponse
type CheckoutFormInitialize ¶
type CheckoutFormInitialize struct{}
func (CheckoutFormInitialize) Create ¶
func (checkoutFormInitialize CheckoutFormInitialize) Create( request CreateCheckoutFormInitializeRequest, options Options, ) *CheckoutFormInitializeResource
type CheckoutFormInitializePreAuth ¶
type CheckoutFormInitializePreAuth struct{}
func (CheckoutFormInitializePreAuth) Create ¶
func (checkoutFormInitializePreAuth CheckoutFormInitializePreAuth) Create(request CreateCheckoutFormInitializeRequest, options Options) string
type CheckoutFormResponse ¶
type CheckoutFormResponse struct { Status string `json:"status"` Locale string `json:"locale"` SystemTime int64 `json:"systemTime"` Price float64 `json:"price"` PaidPrice float64 `json:"paidPrice"` Installment int `json:"installment"` PaymentID string `json:"paymentId"` FraudStatus int `json:"fraudStatus"` MerchantCommissionRate float64 `json:"merchantCommissionRate"` MerchantCommissionRateAmount float64 `json:"merchantCommissionRateAmount"` IyziCommissionRateAmount float64 `json:"iyziCommissionRateAmount"` IyziCommissionFee float64 `json:"iyziCommissionFee"` CardType string `json:"cardType"` CardAssociation string `json:"cardAssociation"` CardFamily string `json:"cardFamily"` BinNumber string `json:"binNumber"` LastFourDigits string `json:"lastFourDigits"` BasketID string `json:"basketId"` Currency string `json:"currency"` ItemTransactions []struct { ItemID string `json:"itemId"` PaymentTransactionID string `json:"paymentTransactionId"` TransactionStatus int `json:"transactionStatus"` Price float64 `json:"price"` PaidPrice float64 `json:"paidPrice"` MerchantCommissionRate float64 `json:"merchantCommissionRate"` MerchantCommissionRateAmount float64 `json:"merchantCommissionRateAmount"` IyziCommissionRateAmount float64 `json:"iyziCommissionRateAmount"` IyziCommissionFee float64 `json:"iyziCommissionFee"` BlockageRate float64 `json:"blockageRate"` BlockageRateAmountMerchant float64 `json:"blockageRateAmountMerchant"` BlockageRateAmountSubMerchant float64 `json:"blockageRateAmountSubMerchant"` BlockageResolvedDate string `json:"blockageResolvedDate"` SubMerchantKey string `json:"subMerchantKey"` SubMerchantPrice float64 `json:"subMerchantPrice"` SubMerchantPayoutRate float64 `json:"subMerchantPayoutRate"` SubMerchantPayoutAmount float64 `json:"subMerchantPayoutAmount"` MerchantPayoutAmount float64 `json:"merchantPayoutAmount"` ConvertedPayout struct { PaidPrice float64 `json:"paidPrice"` IyziCommissionRateAmount float64 `json:"iyziCommissionRateAmount"` IyziCommissionFee float64 `json:"iyziCommissionFee"` BlockageRateAmountMerchant float64 `json:"blockageRateAmountMerchant"` BlockageRateAmountSubMerchant float64 `json:"blockageRateAmountSubMerchant"` SubMerchantPayoutAmount float64 `json:"subMerchantPayoutAmount"` MerchantPayoutAmount float64 `json:"merchantPayoutAmount"` IyziConversionRate float64 `json:"iyziConversionRate"` IyziConversionRateAmount float64 `json:"iyziConversionRateAmount"` Currency string `json:"currency"` } `json:"convertedPayout"` } `json:"itemTransactions"` AuthCode string `json:"authCode"` Phase string `json:"phase"` MdStatus int `json:"mdStatus"` HostReference string `json:"hostReference"` Token string `json:"token"` CallbackURL string `json:"callbackUrl"` PaymentStatus string `json:"paymentStatus"` }
type CreateApprovalRequest ¶
type CreateBkmInitializeRequest ¶
type CreateBkmInitializeRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Price string `json:"price,omitempty"` BasketID string `json:"basketId,omitempty"` PaymentGroup string `json:"paymentGroup,omitempty"` Buyer Buyer `json:"buyer,omitempty"` ShippingAddress Address `json:"billingAddress,omitempty"` BillingAddress Address `json:"shippingAddress,omitempty"` BasketItems []BasketItem `json:"basketItems,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` PaymentSource string `json:"paymentSource,omitempty"` EnabledInstallments []string `json:"enabledInstallments,omitempty"` }
type CreateCancelRequest ¶
type CreateCardRequest ¶
type CreateCardRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` ExternalID string `json:"externalId,omitempty"` Email string `json:"email,omitempty"` CardUserKey string `json:"cardUserKey,omitempty"` Card CardInformation `json:"card,omitempty"` }
type CreateCheckoutFormInitializeRequest ¶
type CreateCheckoutFormInitializeRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Price string `json:"price,omitempty"` BasketID string `json:"basketId,omitempty"` PaymentGroup string `json:"paymentGroup,omitempty"` Buyer Buyer `json:"buyer,omitempty"` ShippingAddress Address `json:"billingAddress,omitempty"` BillingAddress Address `json:"shippingAddress,omitempty"` BasketItems []BasketItem `json:"basketItems,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` PaymentSource string `json:"paymentSource,omitempty"` Currency string `json:"currency,omitempty"` PosOrderID string `json:"posOrderId,omitempty"` PaidPrice string `json:"paidPrice,omitempty"` ForceThreeDS string `json:"forceThreeDS,omitempty"` CardUserKey string `json:"cardUserKey,omitempty"` EnabledInstallments []string `json:"enabledInstallments,omitempty"` }
type CreateCrossBookingRequest ¶
type CreateCrossBookingRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` SubmerchantKey string `json:"submerchantkey,omitempty"` Price string `json:"price,omitempty"` Reason string `json:"reason,omitempty"` Currency string `json:"currency,omitempty"` }
type CreatePaymentPostAuthRequest ¶
type CreatePaymentPostAuthRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` PaymentID string `json:"paymentId,omitempty"` IP string `json:"ip,omitempty"` PaidPrice string `json:"paidPrice,omitempty"` Currency string `json:"currency,omitempty"` }
type CreatePaymentRequest ¶
type CreatePaymentRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Price string `json:"price,omitempty"` PaidPrice string `json:"paidPrice,omitempty"` BasketID string `json:"basketId,omitempty"` PaymentGroup string `json:"paymentGroup,omitempty"` PaymentCard PaymentCard `json:"paymentCard,omitempty"` Buyer Buyer `json:"buyer,omitempty"` ShippingAddress Address `json:"billingAddress,omitempty"` BillingAddress Address `json:"shippingAddress,omitempty"` BasketItems []BasketItem `json:"basketItems,omitempty"` PaymentSource string `json:"paymentSource,omitempty"` Currency string `json:"currency,omitempty"` PosOrderID string `json:"posOrderId,omitempty"` ConnectorName string `json:"connectorName,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` }
type CreatePeccoInitializeRequest ¶
type CreatePeccoInitializeRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Price string `json:"price,omitempty"` BasketID string `json:"basketId,omitempty"` PaymentGroup string `json:"paymentGroup,omitempty"` Buyer Buyer `json:"buyer,omitempty"` ShippingAddress Address `json:"billingAddress,omitempty"` BillingAddress Address `json:"shippingAddress,omitempty"` BasketItems []BasketItem `json:"basketItems,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` PaymentSource string `json:"paymentSource,omitempty"` PaidPrice string `json:"paidPrice,omitempty"` }
type CreateRefundRequest ¶
type CreateRefundRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` PaymentTransactionID string `json:"paymentTransactionId,omitempty"` Price string `json:"price,omitempty"` IP string `json:"ip,omitempty"` Currency string `json:"currency,omitempty"` }
type CreateSubMerchantRequest ¶
type CreateSubMerchantRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Name string `json:"name,omitempty"` Email string `json:"email,omitempty"` GsmNumber string `json:"gsmNumber,omitempty"` Address string `json:"address,omitempty"` Iban string `json:"iban,omitempty"` TaxOffice string `json:"taxOffice,omitempty"` ContactName string `json:"contactName,omitempty"` ContactSurname string `json:"contactSurname,omitempty"` LegalCompanyTitle string `json:"legalCompanyTitle,omitempty"` SwiftCode string `json:"swiftCode,omitempty"` Currency string `json:"currency,omitempty"` SubMerchantExternalID string `json:"subMerchantExternalId,omitempty"` IdentityNumber string `json:"identityNumber,omitempty"` TaxNumber string `json:"taxNumber,omitempty"` SubMerchantType string `json:"subMerchantType,omitempty"` }
type CrossBookingFromSubMerchant ¶
type CrossBookingFromSubMerchant struct{}
func (CrossBookingFromSubMerchant) Create ¶
func (crossBookingFromSubMerchant CrossBookingFromSubMerchant) Create(request CreateCrossBookingRequest, options Options) string
type CrossBookingToSubMerchant ¶
type CrossBookingToSubMerchant struct{}
func (CrossBookingToSubMerchant) Create ¶
func (crossBookingToSubMerchant CrossBookingToSubMerchant) Create(request CreateCrossBookingRequest, options Options) string
type DeleteCardRequest ¶
type Disapproval ¶
type Disapproval struct{}
func (Disapproval) Create ¶
func (approval Disapproval) Create(request CreateDisapprovalRequest, options Options) string
type InstallmentInfo ¶
type InstallmentInfo struct{}
func (InstallmentInfo) Retrieve ¶
func (installmentInfo InstallmentInfo) Retrieve(request RetrieveInstallmentInfoRequest, options Options) string
type Payment ¶
type Payment struct{}
type PaymentCard ¶
type PaymentCard struct { CardHolderName string `json:"cardHolderName,omitempty"` CardNumber string `json:"cardNumber,omitempty"` ExpireYear string `json:"expireYear,omitempty"` ExpireMonth string `json:"expireMonth,omitempty"` Cvc string `json:"cvc,omitempty"` RegisterCard string `json:"registerCard,omitempty"` CardAlias string `json:"cardAlias,omitempty"` CardToken string `json:"cardToken,omitempty"` CardUserKey string `json:"cardUserKey,omitempty"` }
type PaymentPostAuth ¶
type PaymentPostAuth struct{}
func (PaymentPostAuth) Create ¶
func (paymentPostAuth PaymentPostAuth) Create(request CreatePaymentPostAuthRequest, options Options) string
type PaymentPreAuth ¶
type PaymentPreAuth struct{}
func (PaymentPreAuth) Create ¶
func (paymentPreAuth PaymentPreAuth) Create(request CreatePaymentRequest, options Options) string
func (PaymentPreAuth) Retrieve ¶
func (paymentPreAuth PaymentPreAuth) Retrieve(request RetrievePaymentRequest, options Options) string
type PayoutCompletedTransactionList ¶
type PayoutCompletedTransactionList struct{}
func (PayoutCompletedTransactionList) Retrieve ¶
func (payoutCompletedTransactionList PayoutCompletedTransactionList) Retrieve(request RetrieveTransactionListRequest, options Options) string
type PeccoInitialize ¶
type PeccoInitialize struct{}
func (PeccoInitialize) Create ¶
func (peccoInitialize PeccoInitialize) Create(request CreatePeccoInitializeRequest, options Options) string
type PeccoPayment ¶
type PeccoPayment struct{}
func (PeccoPayment) Create ¶
func (peccoPayment PeccoPayment) Create(request CreatePeccoPaymentRequest, options Options) string
type PkiBuilder ¶
type PkiBuilder struct {
// contains filtered or unexported fields
}
type PricingPlan ¶
type PricingPlan struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` ProductReferenceCode string `json:"productReferenceCode,omitempty"` Name string `json:"name,omitempty"` Price float64 `json:"price,omitempty"` CurrencyCode string `json:"currencyCode,omitempty"` PaymentInterval string `json:"paymentInterval,omitempty"` PaymentIntervalCount string `json:"paymentIntervalCount,omitempty"` TrialPeriodDays string `json:"trialPeriodDays,omitempty"` PlanPaymentType string `json:"planPaymentType,omitempty"` RecurrenceCount string `json:"recurrenceCount,omitempty"` }
func (*PricingPlan) Create ¶
func (p *PricingPlan) Create(options *Options) (*PricingPlanResponse, error)
type PricingPlanResponse ¶
type PricingPlanResponse struct { Errors Status string `json:"status"` // success / failure SystemTime int64 `json:"systemTime"` Data *PricingPlanResponseData `json:"data"` }
type PricingPlanResponseData ¶
type Refund ¶
type Refund struct{}
func (Refund) Create ¶
func (refund Refund) Create(request CreateRefundRequest, options Options) *RefundResponse
type RefundChargedFromMerchant ¶
type RefundChargedFromMerchant struct{}
func (RefundChargedFromMerchant) Create ¶
func (refund RefundChargedFromMerchant) Create(request CreateRefundRequest, options Options) string
type RefundResponse ¶
type RetrieveBkmRequest ¶
type RetrieveCardListRequest ¶
type RetrievePaymentRequest ¶
type SubMerchant ¶
type SubMerchant struct{}
func (SubMerchant) Create ¶
func (subMerchant SubMerchant) Create(request CreateSubMerchantRequest, options Options) *SubMerchantResponse
func (SubMerchant) Retrieve ¶
func (subMerchant SubMerchant) Retrieve(request RetrieveSubMerchantRequest, options Options) *SubMerchantResponse
func (SubMerchant) Update ¶
func (subMerchant SubMerchant) Update(request UpdateSubMerchantRequest, options Options) *SubMerchantResponse
type SubMerchantResponse ¶
type SubMerchantResponse struct { Resource Name string `json:"name"` Email string `json:"email"` GsmNumber string `json:"gsmNumber"` Address string `json:"address"` Iban string `json:"iban"` SwiftCode string `json:"swiftCode"` Currency string `json:"currency"` TaxOffice string `json:"taxOffice"` ContactName string `json:"contactName"` ContactSurname string `json:"contactSurname"` LegalCompanyTitle string `json:"legalCompanyTitle"` SubMerchantExternalID string `json:"subMerchantExternalId"` IdentityNumber string `json:"identityNumber"` TaxNumber string `json:"taxNumber"` SubMerchantType string `json:"subMerchantType"` SubMerchantKey string `json:"subMerchantKey"` }
type Subscription ¶
type Subscription struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` CallbackURL string `json:"callbackUrl,omitempty"` PricingPlanReferenceCode string `json:"pricingPlanReferenceCode,omitempty"` SubscriptionInitialStatus string `json:"subscriptionInitialStatus,omitempty"` // PENDING or ACTIVE SubscriptionCustomer *SubscriptionCustomer `json:"customer,omitempty"` }
func (*Subscription) Create ¶
func (p *Subscription) Create(options *Options) (*SubscriptionResponse, error)
type SubscriptionAddress ¶
type SubscriptionCancel ¶
type SubscriptionCancel struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` SubscriptionReferenceCode string `json:"subscriptionReferenceCode,omitempty"` }
func (*SubscriptionCancel) Cancel ¶
func (p *SubscriptionCancel) Cancel(options *Options) (*SubscriptionCancelResponse, error)
type SubscriptionCheckoutFormResponse ¶
type SubscriptionCheckoutFormResponse struct { Errors Status string `json:"status"` // success / failure SystemTime int64 `json:"systemTime"` Data *SubscriptionCheckoutFormResponseData `json:"data"` }
type SubscriptionCheckoutFormResponseData ¶
type SubscriptionCheckoutFormResponseData struct { ReferenceCode string `json:"referenceCode"` CustomerReferenceCode string `json:"customerReferenceCode"` SubscriptionStatus string `json:"subscriptionStatus"` // ACTIVE or PENDING TrialDays int16 `json:"trialDays"` TrialStartDate int64 `json:"trialStartDate"` TrialEndDate int64 `json:"trialEndDate"` CreatedDate int64 `json:"createdDate"` StartDate int64 `json:"startDate"` }
type SubscriptionCheckoutFormResult ¶
type SubscriptionCheckoutFormResult struct {
Token string `json:"token,omitempty"`
}
func (*SubscriptionCheckoutFormResult) Get ¶
func (p *SubscriptionCheckoutFormResult) Get(options *Options) (*SubscriptionCheckoutFormResponse, error)
type SubscriptionCustomer ¶
type SubscriptionCustomer struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Name string `json:"name,omitempty"` Surname string `json:"surname,omitempty"` IdentityNumber string `json:"identityNumber,omitempty"` Email string `json:"email,omitempty"` GSMNumber string `json:"gsmNumber,omitempty"` BillingAddress *SubscriptionAddress `json:"billingAddress,omitempty"` ShippingAddress *SubscriptionAddress `json:"shippingAddress,omitempty"` }
func (*SubscriptionCustomer) Create ¶
func (p *SubscriptionCustomer) Create(options *Options) (*SubscriptionCustomerResponse, error)
type SubscriptionCustomerResponse ¶
type SubscriptionCustomerResponse struct { Status string `json:"status"` // success / failure SystemTime int64 `json:"systemTime"` Data *SubscriptionCustomerResponseData `json:"data"` }
type SubscriptionProduct ¶
type SubscriptionProduct struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` }
func (*SubscriptionProduct) Create ¶
func (p *SubscriptionProduct) Create(options *Options) (*SubscriptionProductResponse, error)
type SubscriptionProductResponse ¶
type SubscriptionProductResponse struct { Errors Status string `json:"status"` // success / failure SystemTime int64 `json:"systemTime"` Data *SubscriptionProductResponseData `json:"data"` }
type SubscriptionProductResponseData ¶
type SubscriptionProductResponseData struct {
ReferenceCode string `json:"referenceCode"`
}
type SubscriptionResponse ¶
type SubscriptionUpdateCardInformation ¶
type SubscriptionUpdateCardInformation struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` SubscriptionReferenceCode string `json:"subscriptionReferenceCode,omitempty"` CustomerReferenceCode string `json:"customerReferenceCode,omitempty"` CallBackURL string `json:"callbackUrl,omitempty"` }
func (*SubscriptionUpdateCardInformation) UpdateCustomerCardInformation ¶
func (p *SubscriptionUpdateCardInformation) UpdateCustomerCardInformation(options *Options) (*SubscriptionUpdateCardInformationResponse, error)
func (*SubscriptionUpdateCardInformation) UpdateSubscriptionCardInformation ¶
func (p *SubscriptionUpdateCardInformation) UpdateSubscriptionCardInformation(options *Options) (*SubscriptionUpdateCardInformationResponse, error)
type SubscriptionUpgrade ¶
type SubscriptionUpgrade struct { SubscriptionReferenceCode string `json:"subscriptionReferenceCode,omitempty"` NewPricingPlanReferenceCode string `json:"newPricingPlanReferenceCode,omitempty"` UpgradePeriod string `json:"upgradePeriod,omitempty"` UseTrial bool `json:"useTrial,omitempty"` ResetRecurrenceCount bool `json:"resetRecurrenceCount,omitempty"` }
func (*SubscriptionUpgrade) Upgrade ¶
func (p *SubscriptionUpgrade) Upgrade(options *Options) (*SubscriptionUpgradeResponse, error)
type SubscriptionUpgradeResponse ¶
type SubscriptionUpgradeResponse struct { Errors Status string `json:"status"` // success / failure SystemTime int64 `json:"systemTime"` Data *SubscriptionCheckoutFormResponseData `json:"data"` }
type ThreedsInitialize ¶
type ThreedsInitialize struct{}
func (ThreedsInitialize) Create ¶
func (threedsInitialize ThreedsInitialize) Create(request CreatePaymentRequest, options Options) string
type ThreedsInitializePreAuth ¶
type ThreedsInitializePreAuth struct{}
func (ThreedsInitializePreAuth) Create ¶
func (threedsInitializePreAuth ThreedsInitializePreAuth) Create(request CreatePaymentRequest, options Options) string
type ThreedsPayment ¶
type ThreedsPayment struct{}
func (ThreedsPayment) Create ¶
func (threedsPayment ThreedsPayment) Create(request CreateThreedsPaymentRequest, options Options) string
func (ThreedsPayment) Retrieve ¶
func (threedsPayment ThreedsPayment) Retrieve(request RetrievePaymentRequest, options Options) string
type UpdateSubMerchantRequest ¶
type UpdateSubMerchantRequest struct { Locale string `json:"locale,omitempty"` ConversationID string `json:"conversationId,omitempty"` Name string `json:"name,omitempty"` Email string `json:"email,omitempty"` GsmNumber string `json:"gsmNumber,omitempty"` Address string `json:"address,omitempty"` Iban string `json:"iban,omitempty"` TaxOffice string `json:"taxOffice,omitempty"` ContactName string `json:"contactName,omitempty"` ContactSurname string `json:"contactSurname,omitempty"` LegalCompanyTitle string `json:"legalCompanyTitle,omitempty"` SwiftCode string `json:"swiftCode,omitempty"` Currency string `json:"currency,omitempty"` SubMerchantKey string `json:"subMerchantKey,omitempty"` IdentityNumber string `json:"identityNumber,omitempty"` TaxNumber string `json:"taxNumber,omitempty"` }
Source Files ¶
- adress.go
- apitest.go
- approval.go
- basket_item.go
- bin_number.go
- bkm.go
- bkm_initialize.go
- bounced_bank_transfer_list.go
- buyer.go
- cancel.go
- card.go
- card_information.go
- card_list.go
- checkout_form.go
- checkout_form_initialize.go
- checkout_form_initialize_pre_auth.go
- create_approval_request.go
- create_bkm_initialize_request.go
- create_cancel_request.go
- create_card_request.go
- create_chekout_form_initialize_request.go
- create_cross_booking_request.go
- create_disapproval_request.go
- create_payment_post_auth_request.go
- create_payment_request.go
- create_pecco_initialize_request.go
- create_pecco_payment_request.go
- create_refund_request.go
- create_sub_merchant_request.go
- create_threeds_payment_request.go
- cross_booking_from_sub_merchant.go
- cross_booking_to_sub_merchant.go
- delete_card_request.go
- disapproval.go
- installment_info.go
- options.go
- payment.go
- payment_card.go
- payment_post_auth.go
- payment_pre_auth.go
- payout_completed_transaction_list.go
- pecco_initialize.go
- pecco_payment.go
- pki_builder.go
- refund.go
- refund_charged_from_merchant.go
- responses.go
- retrieve_bin_number_request.go
- retrieve_bkm_request.go
- retrieve_card_list_request.go
- retrieve_checkout_form_request.go
- retrieve_installment_info_request.go
- retrieve_payment_request.go
- retrieve_sub_merchant_request.go
- retrieve_transaction_list_request.go
- sub_merchant.go
- subscription.go
- subscription_customer.go
- subscription_pricing_plan.go
- subscription_product.go
- threeds_initialize.go
- threeds_initialize_pre_auth.go
- threeds_payment.go
- update_sub_merchant_request.go
- utils_api_v1.go
- utils_api_v2.go
Click to show internal directories.
Click to hide internal directories.