Versions in this module Expand all Collapse all v3 v3.0.26 Oct 1, 2020 Changes in this version + const APIBaseLive + const APIBaseSandBox + const AddrOverrideFromCall + const AddrOverrideFromFile + const AllowedPaymentImmediatePay + const AllowedPaymentInstantFundingSource + const AllowedPaymentUnrestricted + const AncorTypeAccount + const AncorTypeApplication + const ConsentShareData + const EventMerchantOnboardingCompleted + const EventMerchantPartnerConsentRevoked + const EventPaymentCaptureCompleted + const EventPaymentCaptureDenied + const EventPaymentCaptureRefunded + const FeatureDelayFunds + const FeatureDirectPayment + const FeatureDisputeReadBuyer + const FeatureFuturePayment + const FeaturePartnerFee + const FeaturePayment + const FeatureReadSellerDispute + const FeatureRefund + const FeatureUpdateCustomerDispute + const FeatureUpdateSellerDispute + const IntegrationMethodPayPal + const IntegrationTypeThirdParty + const ItemCategoryDigitalGood + const ItemCategoryPhysicalGood + const LandingPageTypeBilling + const LandingPageTypeLogin + const LinkRelActionURL + const LinkRelSelf + const NoShippingBuyerAccount + const NoShippingDisplay + const NoShippingHide + const OperationAPIIntegration + const OrderIntentAuthorize + const OrderIntentCapture + const OrderStatusApproved + const OrderStatusCompleted + const OrderStatusCreated + const OrderStatusSaved + const OrderStatusVoided + const PaypalRecipientWallet + const ProductCategorySoftware + const ProductCategorySoftwareComputerAndDataProcessingServices + const ProductCategorySoftwareDigitalGames + const ProductCategorySoftwareGameSoftware + const ProductCategorySoftwareGames + const ProductCategorySoftwareGeneral + const ProductCategorySoftwareGraphicAndCommercialDesign + const ProductCategorySoftwareOemSoftware + const ProductCategorySoftwareOnlineGaming + const ProductCategorySoftwareOnlineGamingCurrency + const ProductCategorySoftwareOnlineServices + const ProductCategorySoftwareOther + const ProductCategorySoftwareServices + const ProductExpressCheckout + const ProductTypeDigital + const ProductTypePhysical + const ProductTypeService + const RequestNewTokenBeforeExpiresIn + const VenmoRecipientWallet + type Address struct + City string + CountryCode string + Line1 string + Line2 string + Phone string + PostalCode string + State string + type AgreementDetails struct + CyclesCompleted int + CyclesRemaining int + FailedPaymentCount int + FinalPaymentDate time.Time + LastPaymentAmount AmountPayout + LastPaymentDate time.Time + NextBillingDate time.Time + OutstandingBalance AmountPayout + type Amount struct + Currency string + Details Details + Total string + type AmountPayout struct + Currency string + Value string + type AmountWithBreakdown struct + FeeAmount Money + GrossAmount Money + NetAmount Money + ShippingAmount Money + TaxAmount Money + type ApplicationContext struct + BrandName string + CancelURL string + Locale string + ReturnURL string + ShippingPreference ShippingPreference + UserAction UserAction + type Authorization struct + Amount *PurchaseUnitAmount + CreateTime *time.Time + CustomID string + ExpirationTime *time.Time + ID string + InvoiceID string + Links []Link + SellerProtection *SellerProtection + Status string + StatusDetails *CaptureStatusDetails + UpdateTime *time.Time + type AuthorizeOrderRequest struct + ApplicationContext ApplicationContext + PaymentSource *PaymentSource + type AuthorizeOrderResponse struct + CreateTime *time.Time + ID string + Intent string + Payer *PayerWithNameAndPhone + PurchaseUnits []PurchaseUnitRequest + Status string + UpdateTime *time.Time + type BatchHeader struct + Amount *AmountPayout + BatchStatus string + Fees *AmountPayout + PayoutBatchID string + SenderBatchHeader *SenderBatchHeader + TimeCompleted *time.Time + TimeCreated *time.Time + type BillingAgreement struct + Description string + Name string + OverrideMerchantPreferences *MerchantPreferences + Payer Payer + Plan BillingPlan + ShippingAddress *ShippingAddress + StartDate JSONTime + type BillingCycle struct + Frequency Frequency + PricingScheme PricingScheme + Sequence int + TenureType TenureType + TotalCycles int + type BillingInfo struct + CycleExecutions []CycleExecutions + FailedPaymentsCount int + LastPayment LastPayment + NextBillingTime time.Time + OutstandingBalance AmountPayout + type BillingPlan struct + Description string + ID string + MerchantPreferences *MerchantPreferences + Name string + PaymentDefinitions []PaymentDefinition + Type string + type BillingPlanListParams struct + Status string + type BillingPlanListResp struct + Plans []BillingPlan + type BillingPlanStatus string + const BillingPlanStatusActive + type Capture struct + Amount *Amount + CreateTime *time.Time + ID string + IsFinalCapture bool + Links []Link + ParentPayment string + State string + UpdateTime *time.Time + type CaptureAmount struct + Amount *PurchaseUnitAmount + CustomID string + ID string + type CaptureOrderRequest struct + PaymentSource *PaymentSource + type CaptureOrderResponse struct + ID string + Payer *PayerWithNameAndPhone + PurchaseUnits []CapturedPurchaseUnit + Status string + type CaptureReqeust struct + Amount Money + CaptureType CaptureType + Note string + type CaptureSellerBreakdown struct + GrossAmount PurchaseUnitAmount + NetAmount PurchaseUnitAmount + PayPalFee PurchaseUnitAmount + TotalRefundedAmount *PurchaseUnitAmount + type CaptureStatusDetails struct + Reason string + type CaptureType string + const CaptureTypeOutstandingBalance + type CapturedPayments struct + Captures []CaptureAmount + type CapturedPurchaseItem struct + Description string + Name string + Quantity string + SKU string + type CapturedPurchaseUnit struct + Items []CapturedPurchaseItem + Payments *CapturedPayments + ReferenceID string + Shipping CapturedPurchaseUnitShipping + type CapturedPurchaseUnitShipping struct + Address ShippingDetailAddressPortable + type CardBillingAddress struct + AddressLine1 string + AddressLine2 string + AdminArea1 string + AdminArea2 string + CountryCode string + PostalCode string + type ChargeModel struct + Amount AmountPayout + Type string + type Client struct + APIBase string + Client *http.Client + ClientID string + Log io.Writer + Secret string + Token *TokenResponse + func NewClient(clientID string, secret string, APIBase string) (*Client, error) + func (c *Client) ActivatePlan(planID string) error + func (c *Client) ActivateSubscription(subscriptionId, activateReason string) error + func (c *Client) ActivateSubscriptionPlan(planId string) error + func (c *Client) AuthorizeOrder(orderID string, authorizeOrderRequest AuthorizeOrderRequest) (*Authorization, error) + func (c *Client) CancelPayoutItem(payoutItemID string) (*PayoutItemResponse, error) + func (c *Client) CancelSubscription(subscriptionId, cancelReason string) error + func (c *Client) CaptureAuthorization(authID string, paymentCaptureRequest *PaymentCaptureRequest) (*PaymentCaptureResponse, error) + func (c *Client) CaptureAuthorizationWithPaypalRequestId(authID string, paymentCaptureRequest *PaymentCaptureRequest, requestID string) (*PaymentCaptureResponse, error) + func (c *Client) CaptureOrder(orderID string, captureOrderRequest CaptureOrderRequest) (*CaptureOrderResponse, error) + func (c *Client) CaptureOrderWithPaypalRequestId(orderID string, captureOrderRequest CaptureOrderRequest, requestID string) (*CaptureOrderResponse, error) + func (c *Client) CaptureSubscription(subscriptionId string, request CaptureReqeust) (*SubscriptionCaptureResponse, error) + func (c *Client) CreateBillingAgreement(a BillingAgreement) (*CreateAgreementResp, error) + func (c *Client) CreateBillingPlan(plan BillingPlan) (*CreateBillingResp, error) + func (c *Client) CreateOrder(intent string, purchaseUnits []PurchaseUnitRequest, payer *CreateOrderPayer, ...) (*Order, error) + func (c *Client) CreateProduct(product Product) (*CreateProductResponse, error) + func (c *Client) CreateSinglePayout(p Payout) (*PayoutResponse, error) + func (c *Client) CreateSubscription(newSubscription SubscriptionBase) (*SubscriptionDetailResp, error) + func (c *Client) CreateSubscriptionPlan(newPlan SubscriptionPlan) (*CreateSubscriptionPlanResponse, error) + func (c *Client) CreateWebProfile(wp WebProfile) (*WebProfile, error) + func (c *Client) CreateWebhook(createWebhookRequest *CreateWebhookRequest) (*Webhook, error) + func (c *Client) DeactivateSubscriptionPlans(planId string) error + func (c *Client) DeleteCreditCard(id string) error + func (c *Client) DeleteWebProfile(profileID string) error + func (c *Client) DeleteWebhook(webhookID string) error + func (c *Client) ExecuteApprovedAgreement(token string) (*ExecuteAgreementResponse, error) + func (c *Client) GetAccessToken() (*TokenResponse, error) + func (c *Client) GetAuthorization(authID string) (*Authorization, error) + func (c *Client) GetCreditCard(id string) (*CreditCard, error) + func (c *Client) GetCreditCards(ccf *CreditCardsFilter) (*CreditCards, error) + func (c *Client) GetOrder(orderID string) (*Order, error) + func (c *Client) GetPayout(payoutBatchID string) (*PayoutResponse, error) + func (c *Client) GetPayoutItem(payoutItemID string) (*PayoutItemResponse, error) + func (c *Client) GetProduct(productId string) (*Product, error) + func (c *Client) GetRefund(refundID string) (*Refund, error) + func (c *Client) GetSale(saleID string) (*Sale, error) + func (c *Client) GetSubscriptionDetails(subscriptionID string) (*SubscriptionDetailResp, error) + func (c *Client) GetSubscriptionPlan(planId string) (*SubscriptionPlan, error) + func (c *Client) GetSubscriptionTransactions(requestParams SubscriptionTransactionsParams) (*SubscriptionTransactionsResponse, error) + func (c *Client) GetUserInfo(schema string) (*UserInfo, error) + func (c *Client) GetWebProfile(profileID string) (*WebProfile, error) + func (c *Client) GetWebProfiles() ([]WebProfile, error) + func (c *Client) GetWebhook(webhookID string) (*Webhook, error) + func (c *Client) GrantNewAccessTokenFromAuthCode(code, redirectURI string) (*TokenResponse, error) + func (c *Client) GrantNewAccessTokenFromRefreshToken(refreshToken string) (*TokenResponse, error) + func (c *Client) ListBillingPlans(bplp BillingPlanListParams) (*BillingPlanListResp, error) + func (c *Client) ListProducts(params *ProductListParameters) (*ListProductsResponse, error) + func (c *Client) ListSubscriptionPlans(params *SubscriptionPlanListParameters) (*ListSubscriptionPlansResponse, error) + func (c *Client) ListTransactions(req *TransactionSearchRequest) (*TransactionSearchResponse, error) + func (c *Client) ListWebhooks(anchorType string) (*ListWebhookResponse, error) + func (c *Client) NewRequest(method, url string, payload interface{}) (*http.Request, error) + func (c *Client) PatchCreditCard(id string, ccf []CreditCardField) (*CreditCard, error) + func (c *Client) ReauthorizeAuthorization(authID string, a *Amount) (*Authorization, error) + func (c *Client) RefundCapture(captureID string, refundCaptureRequest RefundCaptureRequest) (*RefundResponse, error) + func (c *Client) RefundCaptureWithPaypalRequestId(captureID string, refundCaptureRequest RefundCaptureRequest, requestID string) (*RefundResponse, error) + func (c *Client) RefundSale(saleID string, a *Amount) (*Refund, error) + func (c *Client) Send(req *http.Request, v interface{}) error + func (c *Client) SendWithAuth(req *http.Request, v interface{}) error + func (c *Client) SendWithBasicAuth(req *http.Request, v interface{}) error + func (c *Client) SetAccessToken(token string) + func (c *Client) SetHTTPClient(client *http.Client) + func (c *Client) SetLog(log io.Writer) + func (c *Client) SetReturnRepresentation() + func (c *Client) SetWebProfile(wp WebProfile) error + func (c *Client) StoreCreditCard(cc CreditCard) (*CreditCard, error) + func (c *Client) SuspendSubscription(subscriptionId, reason string) error + func (c *Client) UpdateBillingPlan(planId string, pathValues map[string]map[string]interface{}) error + func (c *Client) UpdateOrder(orderID string, purchaseUnits []PurchaseUnitRequest) (*Order, error) + func (c *Client) UpdateProduct(product Product) error + func (c *Client) UpdateSubscription(updatedSubscription Subscription) error + func (c *Client) UpdateSubscriptionPlan(updatedPlan SubscriptionPlan) error + func (c *Client) UpdateSubscriptionPlanPricing(planId string, pricingSchemes []PricingSchemeUpdate) error + func (c *Client) UpdateWebhook(webhookID string, fields []WebhookField) (*Webhook, error) + func (c *Client) VerifyWebhookSignature(httpReq *http.Request, webhookID string) (*VerifyWebhookResponse, error) + func (c *Client) VoidAuthorization(authID string) (*Authorization, error) + type Consent struct + Granted bool + Type string + type CreateAgreementResp struct + Description string + Links []Link + Name string + Plan BillingPlan + StartTime time.Time + type CreateBillingResp struct + CreateTime time.Time + ID string + Links []Link + MerchantPreferences MerchantPreferences + PaymentDefinitions []PaymentDefinition + State string + UpdateTime time.Time + type CreateOrderPayer struct + Address *ShippingDetailAddressPortable + BirthDate string + EmailAddress string + Name *CreateOrderPayerName + PayerID string + Phone *PhoneWithType + TaxInfo *TaxInfo + type CreateOrderPayerName struct + GivenName string + Surname string + type CreateProductResponse struct + type CreateSubscriptionPlanResponse struct + type CreateWebhookRequest struct + EventTypes []WebhookEventType + URL string + type CreditCard struct + BillingAddress *Address + CVV2 string + ExpireMonth string + ExpireYear string + ExternalCustomerID string + FirstName string + ID string + LastName string + Number string + PayerID string + State string + Type string + ValidUntil string + type CreditCardField struct + Operation string + Path string + Value string + type CreditCardToken struct + CreditCardID string + ExpireMonth string + ExpireYear string + Last4 string + PayerID string + type CreditCards struct + Items []CreditCard + type CreditCardsFilter struct + Page int + PageSize int + type Currency struct + Currency string + Value string + type CycleExecutions struct + CyclesCompleted int + CyclesRemaining int + Sequence int + TenureType string + TotalCycles int + type Details struct + GiftWrap string + HandlingFee string + Insurance string + Shipping string + ShippingDiscount string + Subtotal string + Tax string + type ErrorResponse struct + DebugID string + Details []ErrorResponseDetail + InformationLink string + Message string + Name string + Response *http.Response + func (r *ErrorResponse) Error() string + type ErrorResponseDetail struct + Field string + Issue string + Links []Link + type ExecuteAgreementResponse struct + AgreementDetails AgreementDetails + Description string + ID string + Links []Link + Payer Payer + Plan BillingPlan + ShippingAddress ShippingAddress + StartDate time.Time + State string + type ExecuteResponse struct + ID string + Links []Link + Payer PaymentPayer + State string + Transactions []Transaction + type Filter struct + func (s *Filter) AddTextField(field string) *TextField + func (s *Filter) AddTimeField(field string) *TimeField + func (s *Filter) String() string + type FlowConfig struct + BankTXNPendingURL string + LandingPageType string + UserAction string + type Frequency struct + IntervalCount int + IntervalUnit IntervalUnit + type FundingInstrument struct + CreditCard *CreditCard + CreditCardToken *CreditCardToken + type InputFields struct + AddressOverride uint + AllowNote bool + NoShipping uint + type IntegrationDetails struct + RestAPIIntegration *RestAPIIntegration + type IntervalUnit string + const IntervalUnitDay + const IntervalUnitMonth + const IntervalUnitWeek + const IntervalUnitYear + type Item struct + Category string + Description string + Name string + Quantity string + SKU string + Tax *Money + UnitAmount *Money + type ItemList struct + Items []Item + ShippingAddress *ShippingAddress + type JSONTime time.Time + func (t *JSONTime) UnmarshalJSON(b []byte) error + func (t JSONTime) MarshalJSON() ([]byte, error) + type LastPayment struct + Amount Money + Time time.Time + type Link struct + Description string + Enctype string + Href string + Method string + Rel string + type ListParams struct + Page string + PageSize string + TotalRequired string + type ListProductsResponse struct + Products []Product + type ListSubscriptionPlansResponse struct + Plans []SubscriptionPlan + type ListWebhookResponse struct + Webhooks []Webhook + type MerchantPreferences struct + AutoBillAmount string + CancelURL string + InitialFailAmountAction string + MaxFailAttempts string + ReturnURL string + SetupFee *AmountPayout + type Money struct + Currency string + Value string + type Name struct + FullName string + GivenName string + MiddleName string + Prefix string + Suffix string + Surname string + type Operation struct + APIIntegrationPreference *IntegrationDetails + Operation string + type Order struct + CreateTime *time.Time + ID string + Intent string + Links []Link + Payer *PayerWithNameAndPhone + PurchaseUnits []PurchaseUnit + Status string + UpdateTime *time.Time + type PartnerConfigOverride struct + ActionRenewalURL string + PartnerLogoURL string + ReturnURL string + ReturnURLDescription string + ShowAddCreditCard *bool + type Patch struct + Operation string + Path string + Value interface{} + type Payee struct + Email string + type PayeeForOrders struct + EmailAddress string + MerchantID string + type Payer struct + FundingInstruments []FundingInstrument + PayerInfo *PayerInfo + PaymentMethod string + Status string + type PayerInfo struct + CountryCode string + Email string + FirstName string + LastName string + PayerID string + Phone string + ShippingAddress *ShippingAddress + TaxID string + TaxIDType string + type PayerWithNameAndPhone struct + EmailAddress string + Name *CreateOrderPayerName + PayerID string + Phone *PhoneWithType + type PaymentCaptureRequest struct + Amount *Money + FinalCapture bool + InvoiceID string + NoteToPayer string + SoftDescriptor string + type PaymentCaptureResponse struct + Amount *Money + DisbursementMode string + FinalCapture bool + ID string + InvoiceID string + Links []Link + Status string + StatusDetails *CaptureStatusDetails + type PaymentDefinition struct + Amount AmountPayout + ChargeModels []ChargeModel + Cycles string + Frequency string + FrequencyInterval string + ID string + Name string + Type string + type PaymentInstruction struct + DisbursementMode string + PlatformFees []PlatformFee + type PaymentOptions struct + AllowedPaymentMethod string + type PaymentPatch struct + Operation string + Path string + Value interface{} + type PaymentPayer struct + PayerInfo *PayerInfo + PaymentMethod string + Status string + type PaymentPreferences struct + AutoBillOutstanding bool + PaymentFailureThreshold int + SetupFee *Money + SetupFeeFailureAction SetupFeeFailureAction + type PaymentResponse struct + ID string + Intent string + Links []Link + Payer Payer + State string + Transactions []Transaction + type PaymentSource struct + Card *PaymentSourceCard + Token *PaymentSourceToken + type PaymentSourceCard struct + BillingAddress *CardBillingAddress + CardType string + Expiry string + ID string + LastDigits string + Name string + Number string + SecurityCode string + type PaymentSourceToken struct + ID string + Type string + type Payout struct + Items []PayoutItem + SenderBatchHeader *SenderBatchHeader + type PayoutItem struct + Amount *AmountPayout + Note string + Receiver string + RecipientType string + RecipientWallet string + SenderItemID string + type PayoutItemResponse struct + Error ErrorResponse + Links []Link + PayoutBatchID string + PayoutItem *PayoutItem + PayoutItemFee *AmountPayout + PayoutItemID string + TimeProcessed *time.Time + TransactionID string + TransactionStatus string + type PayoutResponse struct + BatchHeader *BatchHeader + Items []PayoutItemResponse + Links []Link + type PhoneWithType struct + PhoneNumber *PhoneWithTypeNumber + PhoneType string + type PhoneWithTypeNumber struct + NationalNumber string + type PlatformFee struct + Amount *Money + Payee *PayeeForOrders + type Presentation struct + BrandName string + LocaleCode string + LogoImage string + type PricingScheme struct + CreateTime time.Time + FixedPrice Money + UpdateTime time.Time + Version int + type PricingSchemeUpdate struct + BillingCycleSequence int + PricingScheme PricingScheme + type PricingSchemeUpdateRequest struct + Schemes []PricingSchemeUpdate + type Product struct + Category ProductCategory + Description string + HomeUrl string + ID string + ImageUrl string + Name string + Type ProductType + func (self *Product) GetUpdatePatch() []Patch + type ProductCategory string + type ProductListParameters struct + type ProductType string + type PurchaseUnit struct + Amount *PurchaseUnitAmount + ReferenceID string + type PurchaseUnitAmount struct + Breakdown *PurchaseUnitAmountBreakdown + Currency string + Value string + type PurchaseUnitAmountBreakdown struct + Discount *Money + Handling *Money + Insurance *Money + ItemTotal *Money + Shipping *Money + ShippingDiscount *Money + TaxTotal *Money + type PurchaseUnitRequest struct + Amount *PurchaseUnitAmount + CustomID string + Description string + InvoiceID string + Items []Item + Payee *PayeeForOrders + ReferenceID string + Shipping *ShippingDetail + SoftDescriptor string + type RedirectURLs struct + CancelURL string + ReturnURL string + type ReferralRequest struct + LegalConsents []Consent + Operations []Operation + PartnerConfigOverride *PartnerConfigOverride + Products []string + TrackingID string + type Refund struct + Amount *Amount + CaptureID string + CreateTime *time.Time + ID string + ParentPayment string + State string + UpdateTime *time.Time + type RefundCaptureRequest struct + Amount *Money + InvoiceID string + NoteToPayer string + type RefundResponse struct + Amount *PurchaseUnitAmount + ID string + Status string + type Related struct + Authorization *Authorization + Capture *Capture + Order *Order + Refund *Refund + Sale *Sale + type Resource struct + Amount *PurchaseUnitAmount + CreateTime string + ExpirationTime string + FinalCapture bool + ID string + Links []Link + MerchantID string + NoteToPayer string + PartnerClientID string + SellerPayableBreakdown *CaptureSellerBreakdown + SellerProtection *SellerProtection + Status string + StatusDetails *CaptureStatusDetails + UpdateTime string + type RestAPIIntegration struct + IntegrationMethod string + IntegrationType string + ThirdPartyDetails ThirdPartyDetails + type Sale struct + Amount *Amount + ClearingTime string + CreateTime *time.Time + Description string + ID string + Links []Link + ParentPayment string + PaymentMode string + PendingReason string + ProtectionEligibility string + ProtectionEligibilityType string + ReasonCode string + State string + TransactionFee *Currency + UpdateTime *time.Time + type SearchCartInfo struct + ItemDetails []SearchItemDetails + PayPalInvoiceID string + TaxInclusive *bool + type SearchCheckoutOption struct + CheckoutOptionName string + CheckoutOptionValue string + type SearchItemDetails struct + AdjustmentAmount *Money + BasicShippingAmount *Money + CheckoutOptions []SearchCheckoutOption + DiscountAmount *Money + ExtraShippingAmount *Money + GiftWrapAmount *Money + HandlingAmount *Money + InsuranceAmount *Money + InvoiceNumber string + ItemAmount Money + ItemCode string + ItemDescription string + ItemName string + ItemOptions string + ItemQuantity string + ItemUnitPrice Money + TaxAmounts []SearchTaxAmount + TaxPercentage string + TotalItemAmount Money + type SearchPayerInfo struct + AccountID string + Address *Address + AddressStatus string + CountryCode string + EmailAddress string + PayerName SearchPayerName + PayerStatus string + PhoneNumber *PhoneWithTypeNumber + type SearchPayerName struct + GivenName string + Surname string + type SearchShippingInfo struct + Address Address + Method string + Name string + SecondaryShippingAddress *Address + type SearchTaxAmount struct + TaxAmount Money + type SearchTransactionDetails struct + CartInfo *SearchCartInfo + PayerInfo *SearchPayerInfo + ShippingInfo *SearchShippingInfo + TransactionInfo SearchTransactionInfo + type SearchTransactionInfo struct + AnnualPercentageRate string + AvailableBalance *Money + BankReferenceID string + CreditPromotionalFee *Money + CreditTerm string + CreditTransactionalFee *Money + CustomField string + EndingBalance *Money + FeeAmount *Money + InsuranceAmount *Money + InvoiceID string + OtherAmount *Money + PayPalAccountID string + PayPalReferenceID string + PayPalReferenceIDType string + PaymentMethodType string + PaymentTrackingID string + ProtectionEligibility string + ShippingAmount *Money + ShippingDiscountAmount *Money + ShippingTaxAmount *Money + TipAmount *Money + TransactionAmount Money + TransactionEventCode string + TransactionID string + TransactionInitiationDate JSONTime + TransactionNote string + TransactionStatus string + TransactionSubject string + TransactionUpdatedDate JSONTime + type SellerProtection struct + DisputeCategories []string + Status string + type SenderBatchHeader struct + EmailMessage string + EmailSubject string + SenderBatchID string + type SetupFeeFailureAction string + const SetupFeeFailureActionCancel + const SetupFeeFailureActionContinue + type SharedListResponse struct + Links []Link + TotalItems int + TotalPages int + type SharedResponse struct + CreateTime string + Links []Link + UpdateTime string + type ShippingAddress struct + City string + CountryCode string + Line1 string + Line2 string + Phone string + PostalCode string + RecipientName string + State string + Type string + type ShippingAmount struct + type ShippingDetail struct + Address *ShippingDetailAddressPortable + Name *Name + type ShippingDetailAddressPortable struct + AddressLine1 string + AddressLine2 string + AdminArea1 string + AdminArea2 string + CountryCode string + PostalCode string + type ShippingPreference string + const ShippingPreferenceGetFromFile + const ShippingPreferenceNoShipping + const ShippingPreferenceSetProvidedAddress + type Subscriber struct + EmailAddress string + Name CreateOrderPayerName + ShippingAddress ShippingDetail + type Subscription struct + func (self *Subscription) GetUpdatePatch() []Patch + type SubscriptionBase struct + ApplicationContext *ApplicationContext + AutoRenewal bool + PlanID string + Quantity string + ShippingAmount *Money + StartTime *JSONTime + Subscriber *Subscriber + type SubscriptionCaptureResponse struct + AmountWithBreakdown AmountWithBreakdown + Id string + PayerEmail string + PayerName Name + Status SubscriptionTransactionStatus + Time time.Time + type SubscriptionDetailResp struct + BillingInfo BillingInfo + type SubscriptionDetails struct + ID string + StatusUpdateTime time.Time + SubscriptionStatus SubscriptionStatus + SubscriptionStatusChangeNote string + type SubscriptionPlan struct + BillingCycles []BillingCycle + Description string + ID string + Name string + PaymentPreferences *PaymentPreferences + ProductId string + QuantitySupported bool + Status SubscriptionPlanStatus + Taxes *Taxes + func (self *SubscriptionPlan) GetUpdatePatch() []Patch + type SubscriptionPlanListParameters struct + PlanIds string + ProductId string + type SubscriptionPlanStatus string + const SubscriptionPlanStatusActive + const SubscriptionPlanStatusCreated + const SubscriptionPlanStatusInactive + type SubscriptionStatus string + const SubscriptionStatusActive + const SubscriptionStatusApprovalPending + const SubscriptionStatusApproved + const SubscriptionStatusCancelled + const SubscriptionStatusExpired + const SubscriptionStatusSuspended + type SubscriptionTransactionStatus string + const SubscriptionCaptureStatusCompleted + const SubscriptionCaptureStatusDeclined + const SubscriptionCaptureStatusPartiallyRefunded + const SubscriptionCaptureStatusPending + const SubscriptionCaptureStatusRefunded + type SubscriptionTransactionsParams struct + EndTime time.Time + StartTime time.Time + SubscriptionId string + type SubscriptionTransactionsResponse struct + Transactions []SubscriptionCaptureResponse + type TaxInfo struct + TaxID string + TaxIDType string + type Taxes struct + Inclusive bool + Percentage string + type TenureType string + const TenureTypeRegular + const TenureTypeTrial + type TextField struct + Is string + func (d TextField) String() string + type ThirdPartyDetails struct + Features []string + type TimeField struct + Is time.Time + func (d TimeField) String() string + type TokenResponse struct + ExpiresIn expirationTime + RefreshToken string + Token string + Type string + type Transaction struct + Amount *Amount + Custom string + Description string + InvoiceNumber string + ItemList *ItemList + NotifyURL string + OrderURL string + Payee *Payee + PaymentOptions *PaymentOptions + RelatedResources []Related + SoftDescriptor string + type TransactionSearchRequest struct + BalanceAffectingRecordsOnly *string + EndDate time.Time + Fields *string + Page *int + PageSize *int + PaymentInstrumentType *string + StartDate time.Time + StoreID *string + TerminalID *string + TransactionAmount *string + TransactionCurrency *string + TransactionID *string + TransactionStatus *string + TransactionType *string + type TransactionSearchResponse struct + AccountNumber string + EndDate JSONTime + LastRefreshDatetime JSONTime + Page int + StartDate JSONTime + TransactionDetails []SearchTransactionDetails + type UserAction string + const UserActionContinue + const UserActionSubscribeNow + type UserInfo struct + AccountType string + Address *Address + AgeRange string + BirthDate string + Email string + FamilyName string + Gender string + GivenName string + ID string + Locale string + Name string + PayerID string + Phone string + Verified bool + VerifiedAccount bool + ZoneInfo string + type VerifyWebhookResponse struct + VerificationStatus string + type WebProfile struct + FlowConfig FlowConfig + ID string + InputFields InputFields + Name string + Presentation Presentation + type Webhook struct + EventTypes []WebhookEventType + ID string + Links []Link + URL string + type WebhookEvent struct + CreateTime time.Time + EventType string + EventVersion string + ID string + Links []Link + Resource Resource + ResourceType string + ResourceVersion string + Summary string + type WebhookEventType struct + Description string + Name string + type WebhookField struct + Operation string + Path string + Value interface{} Other modules containing this package github.com/jmz331/paypal