Documentation
¶
Index ¶
- type AccountHolderType
- type AccountReceivablesHandling
- type AccountType
- type Action
- type ApiVersion
- type ApplyOn
- type AutoCollection
- type AvalaraSaleType
- type BillingAlignmentMode
- type BillingDateMode
- type BillingDayOfWeekMode
- type CardType
- type ChangeOption
- type Channel
- type ChargeModel
- type ChargeOn
- type ChargeOnEvent
- type ChargeOnOption
- type ChargesHandling
- type ContractTermCancelOption
- type CreditOptionForCurrentTermCharges
- type CreditType
- type CustomerType
- type DedupeOption
- type DispositionType
- type DunningType
- type Duration
- type DurationType
- type EcheckType
- type EinvoicingMethod
- type EndScheduleOn
- type EntityCode
- type EntityType
- type EventType
- type ExportType
- type FreePeriodUnit
- type FriendOfferType
- type Gateway
- type HierarchyOperationType
- type InvoiceDunningHandling
- type ItemType
- type Layout
- type NotifyReferralSystem
- type OfflinePaymentMethod
- type OnEvent
- type Operation
- type OperationType
- type PauseOption
- type PaymentMethod
- type PaymentMethodType
- type PeriodUnit
- type PriceType
- type PricingModel
- type ProductCatalogVersion
- type ReferralSystem
- type ReferrerRewardType
- type RefundableCreditsHandling
- type ReportBy
- type ResumeOption
- type Role
- type ScheduleType
- type Source
- type Status
- type TaxExemptReason
- type TaxJurisType
- type TaxOverrideReason
- type Taxability
- type TaxjarExemptionCategory
- type TrialEndAction
- type Type
- type UnbilledChargesHandling
- type UnbilledChargesOption
- type UnpaidInvoicesHandling
- type ValidationStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountHolderType ¶
type AccountHolderType string
const ( AccountHolderTypeIndividual AccountHolderType = "individual" AccountHolderTypeCompany AccountHolderType = "company" )
type AccountReceivablesHandling ¶
type AccountReceivablesHandling string
const ( AccountReceivablesHandlingNoAction AccountReceivablesHandling = "no_action" AccountReceivablesHandlingSchedulePaymentCollection AccountReceivablesHandling = "schedule_payment_collection" AccountReceivablesHandlingWriteOff AccountReceivablesHandling = "write_off" )
type AccountType ¶
type AccountType string
const ( AccountTypeChecking AccountType = "checking" AccountTypeSavings AccountType = "savings" AccountTypeBusinessChecking AccountType = "business_checking" AccountTypeCurrent AccountType = "current" )
type ApiVersion ¶
type ApiVersion string
const ( ApiVersionV1 ApiVersion = "v1" ApiVersionV2 ApiVersion = "v2" )
type AutoCollection ¶
type AutoCollection string
const ( AutoCollectionOn AutoCollection = "on" AutoCollectionOff AutoCollection = "off" )
type AvalaraSaleType ¶
type AvalaraSaleType string
const ( AvalaraSaleTypeWholesale AvalaraSaleType = "wholesale" AvalaraSaleTypeRetail AvalaraSaleType = "retail" AvalaraSaleTypeConsumed AvalaraSaleType = "consumed" AvalaraSaleTypeVendorUse AvalaraSaleType = "vendor_use" )
type BillingAlignmentMode ¶
type BillingAlignmentMode string
const ( BillingAlignmentModeImmediate BillingAlignmentMode = "immediate" BillingAlignmentModeDelayed BillingAlignmentMode = "delayed" )
type BillingDateMode ¶
type BillingDateMode string
const ( BillingDateModeUsingDefaults BillingDateMode = "using_defaults" BillingDateModeManuallySet BillingDateMode = "manually_set" )
type BillingDayOfWeekMode ¶
type BillingDayOfWeekMode string
const ( BillingDayOfWeekModeUsingDefaults BillingDayOfWeekMode = "using_defaults" BillingDayOfWeekModeManuallySet BillingDayOfWeekMode = "manually_set" )
type CardType ¶
type CardType string
const ( CardTypeVisa CardType = "visa" CardTypeMastercard CardType = "mastercard" CardTypeAmericanExpress CardType = "american_express" CardTypeDiscover CardType = "discover" CardTypeJcb CardType = "jcb" CardTypeDinersClub CardType = "diners_club" CardTypeBancontact CardType = "bancontact" CardTypeOther CardType = "other" CardTypeNotApplicable CardType = "not_applicable" )
type ChangeOption ¶
type ChangeOption string
const ( ChangeOptionImmediately ChangeOption = "immediately" ChangeOptionEndOfTerm ChangeOption = "end_of_term" ChangeOptionSpecificDate ChangeOption = "specific_date" )
type ChargeModel ¶
type ChargeModel string
const ( ChargeModelFullCharge ChargeModel = "full_charge" ChargeModelProrate ChargeModel = "prorate" )
type ChargeOnEvent ¶
type ChargeOnEvent string
const ( ChargeOnEventSubscriptionCreation ChargeOnEvent = "subscription_creation" ChargeOnEventSubscriptionTrialStart ChargeOnEvent = "subscription_trial_start" ChargeOnEventPlanActivation ChargeOnEvent = "plan_activation" ChargeOnEventSubscriptionActivation ChargeOnEvent = "subscription_activation" ChargeOnEventContractTermination ChargeOnEvent = "contract_termination" ChargeOnEventOnDemand ChargeOnEvent = "on_demand" )
type ChargeOnOption ¶
type ChargeOnOption string
const ( ChargeOnOptionImmediately ChargeOnOption = "immediately" ChargeOnOptionOnEvent ChargeOnOption = "on_event" )
type ChargesHandling ¶
type ChargesHandling string
const ( ChargesHandlingInvoiceImmediately ChargesHandling = "invoice_immediately" ChargesHandlingAddToUnbilledCharges ChargesHandling = "add_to_unbilled_charges" )
type ContractTermCancelOption ¶
type ContractTermCancelOption string
const ( ContractTermCancelOptionTerminateImmediately ContractTermCancelOption = "terminate_immediately" ContractTermCancelOptionEndOfContractTerm ContractTermCancelOption = "end_of_contract_term" )
type CreditOptionForCurrentTermCharges ¶
type CreditOptionForCurrentTermCharges string
const ( CreditOptionForCurrentTermChargesNone CreditOptionForCurrentTermCharges = "none" CreditOptionForCurrentTermChargesProrate CreditOptionForCurrentTermCharges = "prorate" CreditOptionForCurrentTermChargesFull CreditOptionForCurrentTermCharges = "full" )
type CreditType ¶
type CreditType string
const ( CreditTypeLoyaltyCredits CreditType = "loyalty_credits" CreditTypeReferralRewards CreditType = "referral_rewards" CreditTypeGeneral CreditType = "general" )
type CustomerType ¶
type CustomerType string
const ( CustomerTypeResidential CustomerType = "residential" CustomerTypeBusiness CustomerType = "business" CustomerTypeSeniorCitizen CustomerType = "senior_citizen" CustomerTypeIndustrial CustomerType = "industrial" )
type DedupeOption ¶
type DedupeOption string
const ( DedupeOptionSkip DedupeOption = "skip" DedupeOptionUpdateExisting DedupeOption = "update_existing" )
type DispositionType ¶
type DispositionType string
const ( DispositionTypeAttachment DispositionType = "attachment" DispositionTypeInline DispositionType = "inline" )
type DunningType ¶
type DunningType string
const ( DunningTypeAutoCollect DunningType = "auto_collect" DunningTypeOffline DunningType = "offline" DunningTypeDirectDebit DunningType = "direct_debit" )
type DurationType ¶
type DurationType string
const ( DurationTypeOneTime DurationType = "one_time" DurationTypeForever DurationType = "forever" DurationTypeLimitedPeriod DurationType = "limited_period" )
type EcheckType ¶
type EcheckType string
const ( EcheckTypeWeb EcheckType = "web" EcheckTypePpd EcheckType = "ppd" EcheckTypeCcd EcheckType = "ccd" )
type EinvoicingMethod ¶ added in v3.3.0
type EinvoicingMethod string
const ( EinvoicingMethodAutomatic EinvoicingMethod = "automatic" EinvoicingMethodManual EinvoicingMethod = "manual" EinvoicingMethodSiteDefault EinvoicingMethod = "site_default" )
type EndScheduleOn ¶
type EndScheduleOn string
const ( EndScheduleOnAfterNumberOfIntervals EndScheduleOn = "after_number_of_intervals" EndScheduleOnSpecificDate EndScheduleOn = "specific_date" EndScheduleOnSubscriptionEnd EndScheduleOn = "subscription_end" )
type EntityCode ¶
type EntityCode string
const ( EntityCodeA EntityCode = "a" EntityCodeB EntityCode = "b" EntityCodeC EntityCode = "c" EntityCodeD EntityCode = "d" EntityCodeE EntityCode = "e" EntityCodeF EntityCode = "f" EntityCodeG EntityCode = "g" EntityCodeH EntityCode = "h" EntityCodeI EntityCode = "i" EntityCodeJ EntityCode = "j" EntityCodeK EntityCode = "k" EntityCodeL EntityCode = "l" EntityCodeM EntityCode = "m" EntityCodeN EntityCode = "n" EntityCodeP EntityCode = "p" EntityCodeQ EntityCode = "q" EntityCodeR EntityCode = "r" EntityCodeMed1 EntityCode = "med1" EntityCodeMed2 EntityCode = "med2" )
type EntityType ¶
type EntityType string
const ( EntityTypeCustomer EntityType = "customer" EntityTypeSubscription EntityType = "subscription" EntityTypeInvoice EntityType = "invoice" EntityTypeQuote EntityType = "quote" EntityTypeCreditNote EntityType = "credit_note" EntityTypeTransaction EntityType = "transaction" EntityTypePlan EntityType = "plan" EntityTypeAddon EntityType = "addon" EntityTypeCoupon EntityType = "coupon" EntityTypeOrder EntityType = "order" EntityTypeBusinessEntity EntityType = "business_entity" EntityTypeItemFamily EntityType = "item_family" EntityTypeItem EntityType = "item" EntityTypeItemPrice EntityType = "item_price" )
type EventType ¶
type EventType string
const ( EventTypePlanCreated EventType = "plan_created" EventTypePlanUpdated EventType = "plan_updated" EventTypePlanDeleted EventType = "plan_deleted" EventTypeAddonCreated EventType = "addon_created" EventTypeAddonUpdated EventType = "addon_updated" EventTypeAddonDeleted EventType = "addon_deleted" EventTypeCouponCreated EventType = "coupon_created" EventTypeCouponUpdated EventType = "coupon_updated" EventTypeCouponDeleted EventType = "coupon_deleted" EventTypeCouponSetCreated EventType = "coupon_set_created" EventTypeCouponSetUpdated EventType = "coupon_set_updated" EventTypeCouponSetDeleted EventType = "coupon_set_deleted" EventTypeCouponCodesAdded EventType = "coupon_codes_added" EventTypeCouponCodesDeleted EventType = "coupon_codes_deleted" EventTypeCouponCodesUpdated EventType = "coupon_codes_updated" EventTypeCustomerCreated EventType = "customer_created" EventTypeCustomerChanged EventType = "customer_changed" EventTypeCustomerDeleted EventType = "customer_deleted" EventTypeCustomerMovedOut EventType = "customer_moved_out" EventTypeCustomerMovedIn EventType = "customer_moved_in" EventTypePromotionalCreditsAdded EventType = "promotional_credits_added" EventTypePromotionalCreditsDeducted EventType = "promotional_credits_deducted" EventTypeSubscriptionCreated EventType = "subscription_created" EventTypeSubscriptionCreatedWithBackdating EventType = "subscription_created_with_backdating" EventTypeSubscriptionStarted EventType = "subscription_started" EventTypeSubscriptionTrialEndReminder EventType = "subscription_trial_end_reminder" EventTypeSubscriptionActivated EventType = "subscription_activated" EventTypeSubscriptionActivatedWithBackdating EventType = "subscription_activated_with_backdating" EventTypeSubscriptionChanged EventType = "subscription_changed" EventTypeSubscriptionTrialExtended EventType = "subscription_trial_extended" EventTypeMrrUpdated EventType = "mrr_updated" EventTypeSubscriptionChangedWithBackdating EventType = "subscription_changed_with_backdating" EventTypeSubscriptionCancellationScheduled EventType = "subscription_cancellation_scheduled" EventTypeSubscriptionCancellationReminder EventType = "subscription_cancellation_reminder" EventTypeSubscriptionCancelled EventType = "subscription_cancelled" EventTypeSubscriptionCanceledWithBackdating EventType = "subscription_canceled_with_backdating" EventTypeSubscriptionReactivated EventType = "subscription_reactivated" EventTypeSubscriptionReactivatedWithBackdating EventType = "subscription_reactivated_with_backdating" EventTypeSubscriptionRenewed EventType = "subscription_renewed" EventTypeSubscriptionScheduledCancellationRemoved EventType = "subscription_scheduled_cancellation_removed" EventTypeSubscriptionChangesScheduled EventType = "subscription_changes_scheduled" EventTypeSubscriptionScheduledChangesRemoved EventType = "subscription_scheduled_changes_removed" EventTypeSubscriptionShippingAddressUpdated EventType = "subscription_shipping_address_updated" EventTypeSubscriptionDeleted EventType = "subscription_deleted" EventTypeSubscriptionPaused EventType = "subscription_paused" EventTypeSubscriptionPauseScheduled EventType = "subscription_pause_scheduled" EventTypeSubscriptionScheduledPauseRemoved EventType = "subscription_scheduled_pause_removed" EventTypeSubscriptionResumed EventType = "subscription_resumed" EventTypeSubscriptionResumptionScheduled EventType = "subscription_resumption_scheduled" EventTypeSubscriptionScheduledResumptionRemoved EventType = "subscription_scheduled_resumption_removed" EventTypeSubscriptionAdvanceInvoiceScheduleAdded EventType = "subscription_advance_invoice_schedule_added" EventTypeSubscriptionAdvanceInvoiceScheduleUpdated EventType = "subscription_advance_invoice_schedule_updated" EventTypeSubscriptionAdvanceInvoiceScheduleRemoved EventType = "subscription_advance_invoice_schedule_removed" EventTypePendingInvoiceCreated EventType = "pending_invoice_created" EventTypePendingInvoiceUpdated EventType = "pending_invoice_updated" EventTypeInvoiceGenerated EventType = "invoice_generated" EventTypeInvoiceGeneratedWithBackdating EventType = "invoice_generated_with_backdating" EventTypeInvoiceUpdated EventType = "invoice_updated" EventTypeInvoiceDeleted EventType = "invoice_deleted" EventTypeCreditNoteCreated EventType = "credit_note_created" EventTypeCreditNoteCreatedWithBackdating EventType = "credit_note_created_with_backdating" EventTypeCreditNoteUpdated EventType = "credit_note_updated" EventTypeCreditNoteDeleted EventType = "credit_note_deleted" EventTypeSubscriptionRenewalReminder EventType = "subscription_renewal_reminder" EventTypeAddUsagesReminder EventType = "add_usages_reminder" EventTypeTransactionCreated EventType = "transaction_created" EventTypeTransactionUpdated EventType = "transaction_updated" EventTypeTransactionDeleted EventType = "transaction_deleted" EventTypePaymentSucceeded EventType = "payment_succeeded" EventTypePaymentFailed EventType = "payment_failed" EventTypePaymentRefunded EventType = "payment_refunded" EventTypePaymentInitiated EventType = "payment_initiated" EventTypeRefundInitiated EventType = "refund_initiated" EventTypeNetdPaymentDueReminder EventType = "netd_payment_due_reminder" EventTypeAuthorizationSucceeded EventType = "authorization_succeeded" EventTypeAuthorizationVoided EventType = "authorization_voided" EventTypeCardAdded EventType = "card_added" EventTypeCardUpdated EventType = "card_updated" EventTypeCardExpiryReminder EventType = "card_expiry_reminder" EventTypeCardExpired EventType = "card_expired" EventTypeCardDeleted EventType = "card_deleted" EventTypePaymentSourceAdded EventType = "payment_source_added" EventTypePaymentSourceUpdated EventType = "payment_source_updated" EventTypePaymentSourceDeleted EventType = "payment_source_deleted" EventTypePaymentSourceExpiring EventType = "payment_source_expiring" EventTypePaymentSourceExpired EventType = "payment_source_expired" EventTypeVirtualBankAccountAdded EventType = "virtual_bank_account_added" EventTypeVirtualBankAccountUpdated EventType = "virtual_bank_account_updated" EventTypeVirtualBankAccountDeleted EventType = "virtual_bank_account_deleted" EventTypeTokenCreated EventType = "token_created" EventTypeTokenConsumed EventType = "token_consumed" EventTypeTokenExpired EventType = "token_expired" EventTypeUnbilledChargesCreated EventType = "unbilled_charges_created" EventTypeUnbilledChargesVoided EventType = "unbilled_charges_voided" EventTypeUnbilledChargesDeleted EventType = "unbilled_charges_deleted" EventTypeUnbilledChargesInvoiced EventType = "unbilled_charges_invoiced" EventTypeOrderCreated EventType = "order_created" EventTypeOrderUpdated EventType = "order_updated" EventTypeOrderCancelled EventType = "order_cancelled" EventTypeOrderDelivered EventType = "order_delivered" EventTypeOrderReturned EventType = "order_returned" EventTypeOrderReadyToProcess EventType = "order_ready_to_process" EventTypeOrderReadyToShip EventType = "order_ready_to_ship" EventTypeOrderDeleted EventType = "order_deleted" EventTypeOrderResent EventType = "order_resent" EventTypeQuoteCreated EventType = "quote_created" EventTypeQuoteUpdated EventType = "quote_updated" EventTypeQuoteDeleted EventType = "quote_deleted" EventTypeTaxWithheldRecorded EventType = "tax_withheld_recorded" EventTypeTaxWithheldDeleted EventType = "tax_withheld_deleted" EventTypeTaxWithheldRefunded EventType = "tax_withheld_refunded" EventTypeGiftScheduled EventType = "gift_scheduled" EventTypeGiftUnclaimed EventType = "gift_unclaimed" EventTypeGiftClaimed EventType = "gift_claimed" EventTypeGiftExpired EventType = "gift_expired" EventTypeGiftCancelled EventType = "gift_cancelled" EventTypeGiftUpdated EventType = "gift_updated" EventTypeHierarchyCreated EventType = "hierarchy_created" EventTypeHierarchyDeleted EventType = "hierarchy_deleted" EventTypePaymentIntentCreated EventType = "payment_intent_created" EventTypePaymentIntentUpdated EventType = "payment_intent_updated" EventTypeContractTermCreated EventType = "contract_term_created" EventTypeContractTermRenewed EventType = "contract_term_renewed" EventTypeContractTermTerminated EventType = "contract_term_terminated" EventTypeContractTermCompleted EventType = "contract_term_completed" EventTypeContractTermCancelled EventType = "contract_term_cancelled" EventTypeItemFamilyCreated EventType = "item_family_created" EventTypeItemFamilyUpdated EventType = "item_family_updated" EventTypeItemFamilyDeleted EventType = "item_family_deleted" EventTypeItemCreated EventType = "item_created" EventTypeItemUpdated EventType = "item_updated" EventTypeItemDeleted EventType = "item_deleted" EventTypeItemPriceCreated EventType = "item_price_created" EventTypeItemPriceUpdated EventType = "item_price_updated" EventTypeItemPriceDeleted EventType = "item_price_deleted" EventTypeAttachedItemCreated EventType = "attached_item_created" EventTypeAttachedItemUpdated EventType = "attached_item_updated" EventTypeAttachedItemDeleted EventType = "attached_item_deleted" EventTypeDifferentialPriceCreated EventType = "differential_price_created" EventTypeDifferentialPriceUpdated EventType = "differential_price_updated" EventTypeDifferentialPriceDeleted EventType = "differential_price_deleted" EventTypeFeatureCreated EventType = "feature_created" EventTypeFeatureUpdated EventType = "feature_updated" EventTypeFeatureDeleted EventType = "feature_deleted" EventTypeFeatureActivated EventType = "feature_activated" EventTypeFeatureReactivated EventType = "feature_reactivated" EventTypeFeatureArchived EventType = "feature_archived" EventTypeItemEntitlementsUpdated EventType = "item_entitlements_updated" EventTypeEntitlementOverridesUpdated EventType = "entitlement_overrides_updated" EventTypeEntitlementOverridesRemoved EventType = "entitlement_overrides_removed" EventTypeItemEntitlementsRemoved EventType = "item_entitlements_removed" EventTypeEntitlementOverridesAutoRemoved EventType = "entitlement_overrides_auto_removed" EventTypeSubscriptionEntitlementsCreated EventType = "subscription_entitlements_created" EventTypeBusinessEntityCreated EventType = "business_entity_created" EventTypeBusinessEntityUpdated EventType = "business_entity_updated" EventTypeBusinessEntityDeleted EventType = "business_entity_deleted" EventTypePurchaseCreated EventType = "purchase_created" )
type ExportType ¶ added in v3.4.0
type ExportType string
const ( ExportTypeData ExportType = "data" ExportTypeImportFriendlyData ExportType = "import_friendly_data" )
type FreePeriodUnit ¶
type FreePeriodUnit string
const ( FreePeriodUnitDay FreePeriodUnit = "day" FreePeriodUnitWeek FreePeriodUnit = "week" FreePeriodUnitMonth FreePeriodUnit = "month" FreePeriodUnitYear FreePeriodUnit = "year" )
type FriendOfferType ¶
type FriendOfferType string
const ( FriendOfferTypeNone FriendOfferType = "none" FriendOfferTypeCoupon FriendOfferType = "coupon" FriendOfferTypeCouponCode FriendOfferType = "coupon_code" )
type Gateway ¶
type Gateway string
const ( GatewayChargebee Gateway = "chargebee" GatewayChargebeePayments Gateway = "chargebee_payments" GatewayStripe Gateway = "stripe" GatewayWepay Gateway = "wepay" GatewayBraintree Gateway = "braintree" GatewayAuthorizeNet Gateway = "authorize_net" GatewayPaypalPro Gateway = "paypal_pro" GatewayPin Gateway = "pin" GatewayEway Gateway = "eway" GatewayEwayRapid Gateway = "eway_rapid" GatewayWorldpay Gateway = "worldpay" GatewayBalancedPayments Gateway = "balanced_payments" GatewayBeanstream Gateway = "beanstream" GatewayBluepay Gateway = "bluepay" GatewayElavon Gateway = "elavon" GatewayFirstDataGlobal Gateway = "first_data_global" GatewayHdfc Gateway = "hdfc" GatewayMigs Gateway = "migs" GatewayNmi Gateway = "nmi" GatewayOgone Gateway = "ogone" GatewayPaymill Gateway = "paymill" GatewayPaypalPayflowPro Gateway = "paypal_payflow_pro" GatewaySagePay Gateway = "sage_pay" GatewayTco Gateway = "tco" GatewayWirecard Gateway = "wirecard" GatewayAmazonPayments Gateway = "amazon_payments" GatewayPaypalExpressCheckout Gateway = "paypal_express_checkout" GatewayGocardless Gateway = "gocardless" GatewayAdyen Gateway = "adyen" GatewayOrbital Gateway = "orbital" GatewayMonerisUs Gateway = "moneris_us" GatewayMoneris Gateway = "moneris" GatewayBluesnap Gateway = "bluesnap" GatewayCybersource Gateway = "cybersource" GatewayVantiv Gateway = "vantiv" GatewayCheckoutCom Gateway = "checkout_com" GatewayPaypal Gateway = "paypal" GatewayIngenicoDirect Gateway = "ingenico_direct" GatewayExact Gateway = "exact" GatewayMollie Gateway = "mollie" GatewayQuickbooks Gateway = "quickbooks" GatewayRazorpay Gateway = "razorpay" GatewayGlobalPayments Gateway = "global_payments" GatewayBankOfAmerica Gateway = "bank_of_america" GatewayEcentric Gateway = "ecentric" GatewayNotApplicable Gateway = "not_applicable" )
type HierarchyOperationType ¶
type HierarchyOperationType string
const ( HierarchyOperationTypeCompleteHierarchy HierarchyOperationType = "complete_hierarchy" HierarchyOperationTypeSubordinates HierarchyOperationType = "subordinates" HierarchyOperationTypePathToRoot HierarchyOperationType = "path_to_root" )
type InvoiceDunningHandling ¶
type InvoiceDunningHandling string
const ( InvoiceDunningHandlingContinue InvoiceDunningHandling = "continue" InvoiceDunningHandlingStop InvoiceDunningHandling = "stop" )
type NotifyReferralSystem ¶
type NotifyReferralSystem string
const ( NotifyReferralSystemNone NotifyReferralSystem = "none" NotifyReferralSystemFirstPaidConversion NotifyReferralSystem = "first_paid_conversion" NotifyReferralSystemAllInvoices NotifyReferralSystem = "all_invoices" )
type OfflinePaymentMethod ¶
type OfflinePaymentMethod string
const ( OfflinePaymentMethodNoPreference OfflinePaymentMethod = "no_preference" OfflinePaymentMethodCash OfflinePaymentMethod = "cash" OfflinePaymentMethodCheck OfflinePaymentMethod = "check" OfflinePaymentMethodBankTransfer OfflinePaymentMethod = "bank_transfer" OfflinePaymentMethodAchCredit OfflinePaymentMethod = "ach_credit" OfflinePaymentMethodSepaCredit OfflinePaymentMethod = "sepa_credit" )
type OnEvent ¶
type OnEvent string
const ( OnEventSubscriptionCreation OnEvent = "subscription_creation" OnEventSubscriptionTrialStart OnEvent = "subscription_trial_start" OnEventPlanActivation OnEvent = "plan_activation" OnEventSubscriptionActivation OnEvent = "subscription_activation" OnEventContractTermination OnEvent = "contract_termination" )
type OperationType ¶
type OperationType string
const ( OperationTypeAdd OperationType = "add" OperationTypeRemove OperationType = "remove" )
type PauseOption ¶
type PauseOption string
const ( PauseOptionImmediately PauseOption = "immediately" PauseOptionEndOfTerm PauseOption = "end_of_term" PauseOptionSpecificDate PauseOption = "specific_date" PauseOptionBillingCycles PauseOption = "billing_cycles" )
type PaymentMethod ¶
type PaymentMethod string
const ( PaymentMethodCard PaymentMethod = "card" PaymentMethodCash PaymentMethod = "cash" PaymentMethodCheck PaymentMethod = "check" PaymentMethodChargeback PaymentMethod = "chargeback" PaymentMethodBankTransfer PaymentMethod = "bank_transfer" PaymentMethodAmazonPayments PaymentMethod = "amazon_payments" PaymentMethodPaypalExpressCheckout PaymentMethod = "paypal_express_checkout" PaymentMethodDirectDebit PaymentMethod = "direct_debit" PaymentMethodAlipay PaymentMethod = "alipay" PaymentMethodUnionpay PaymentMethod = "unionpay" PaymentMethodApplePay PaymentMethod = "apple_pay" PaymentMethodWechatPay PaymentMethod = "wechat_pay" PaymentMethodAchCredit PaymentMethod = "ach_credit" PaymentMethodSepaCredit PaymentMethod = "sepa_credit" PaymentMethodIdeal PaymentMethod = "ideal" PaymentMethodGooglePay PaymentMethod = "google_pay" PaymentMethodSofort PaymentMethod = "sofort" PaymentMethodBancontact PaymentMethod = "bancontact" PaymentMethodGiropay PaymentMethod = "giropay" PaymentMethodDotpay PaymentMethod = "dotpay" PaymentMethodOther PaymentMethod = "other" PaymentMethodUpi PaymentMethod = "upi" PaymentMethodNetbankingEmandates PaymentMethod = "netbanking_emandates" PaymentMethodCustom PaymentMethod = "custom" )
type PaymentMethodType ¶
type PaymentMethodType string
const ( PaymentMethodTypeCard PaymentMethodType = "card" PaymentMethodTypePaypalExpressCheckout PaymentMethodType = "paypal_express_checkout" PaymentMethodTypeAmazonPayments PaymentMethodType = "amazon_payments" PaymentMethodTypeDirectDebit PaymentMethodType = "direct_debit" PaymentMethodTypeGeneric PaymentMethodType = "generic" PaymentMethodTypeAlipay PaymentMethodType = "alipay" PaymentMethodTypeUnionpay PaymentMethodType = "unionpay" PaymentMethodTypeApplePay PaymentMethodType = "apple_pay" PaymentMethodTypeWechatPay PaymentMethodType = "wechat_pay" PaymentMethodTypeIdeal PaymentMethodType = "ideal" PaymentMethodTypeGooglePay PaymentMethodType = "google_pay" PaymentMethodTypeSofort PaymentMethodType = "sofort" PaymentMethodTypeBancontact PaymentMethodType = "bancontact" PaymentMethodTypeGiropay PaymentMethodType = "giropay" PaymentMethodTypeDotpay PaymentMethodType = "dotpay" PaymentMethodTypeUpi PaymentMethodType = "upi" PaymentMethodTypeNetbankingEmandates PaymentMethodType = "netbanking_emandates" )
type PeriodUnit ¶
type PeriodUnit string
const ( PeriodUnitDay PeriodUnit = "day" PeriodUnitWeek PeriodUnit = "week" PeriodUnitMonth PeriodUnit = "month" PeriodUnitYear PeriodUnit = "year" )
type PricingModel ¶
type PricingModel string
const ( PricingModelFlatFee PricingModel = "flat_fee" PricingModelPerUnit PricingModel = "per_unit" PricingModelTiered PricingModel = "tiered" PricingModelVolume PricingModel = "volume" PricingModelStairstep PricingModel = "stairstep" )
type ProductCatalogVersion ¶
type ProductCatalogVersion string
const ( ProductCatalogVersionV1 ProductCatalogVersion = "v1" ProductCatalogVersionV2 ProductCatalogVersion = "v2" )
type ReferralSystem ¶
type ReferralSystem string
const ( ReferralSystemReferralCandy ReferralSystem = "referral_candy" ReferralSystemReferralSaasquatch ReferralSystem = "referral_saasquatch" ReferralSystemFriendbuy ReferralSystem = "friendbuy" )
type ReferrerRewardType ¶
type ReferrerRewardType string
const ( ReferrerRewardTypeNone ReferrerRewardType = "none" ReferrerRewardTypeReferralDirectReward ReferrerRewardType = "referral_direct_reward" ReferrerRewardTypeCustomPromotionalCredit ReferrerRewardType = "custom_promotional_credit" ReferrerRewardTypeCustomRevenuePercentBased ReferrerRewardType = "custom_revenue_percent_based" )
type RefundableCreditsHandling ¶
type RefundableCreditsHandling string
const ( RefundableCreditsHandlingNoAction RefundableCreditsHandling = "no_action" RefundableCreditsHandlingScheduleRefund RefundableCreditsHandling = "schedule_refund" )
type ResumeOption ¶
type ResumeOption string
const ( ResumeOptionImmediately ResumeOption = "immediately" ResumeOptionSpecificDate ResumeOption = "specific_date" )
type ScheduleType ¶
type ScheduleType string
const ( ScheduleTypeImmediate ScheduleType = "immediate" ScheduleTypeSpecificDates ScheduleType = "specific_dates" ScheduleTypeFixedIntervals ScheduleType = "fixed_intervals" )
type Source ¶
type Source string
const ( SourceAdminConsole Source = "admin_console" SourceApi Source = "api" SourceScheduledJob Source = "scheduled_job" SourceHostedPage Source = "hosted_page" SourcePortal Source = "portal" SourceSystem Source = "system" SourceNone Source = "none" SourceJsApi Source = "js_api" SourceMigration Source = "migration" SourceBulkOperation Source = "bulk_operation" SourceExternalService Source = "external_service" )
type TaxExemptReason ¶
type TaxExemptReason string
const ( TaxExemptReasonTaxNotConfigured TaxExemptReason = "tax_not_configured" TaxExemptReasonRegionNonTaxable TaxExemptReason = "region_non_taxable" TaxExemptReasonExport TaxExemptReason = "export" TaxExemptReasonCustomerExempt TaxExemptReason = "customer_exempt" TaxExemptReasonProductExempt TaxExemptReason = "product_exempt" TaxExemptReasonZeroRated TaxExemptReason = "zero_rated" TaxExemptReasonReverseCharge TaxExemptReason = "reverse_charge" TaxExemptReasonHighValuePhysicalGoods TaxExemptReason = "high_value_physical_goods" TaxExemptReasonZeroValueItem TaxExemptReason = "zero_value_item" )
type TaxJurisType ¶
type TaxJurisType string
const ( TaxJurisTypeCountry TaxJurisType = "country" TaxJurisTypeFederal TaxJurisType = "federal" TaxJurisTypeState TaxJurisType = "state" TaxJurisTypeCounty TaxJurisType = "county" TaxJurisTypeCity TaxJurisType = "city" TaxJurisTypeSpecial TaxJurisType = "special" TaxJurisTypeUnincorporated TaxJurisType = "unincorporated" TaxJurisTypeOther TaxJurisType = "other" )
type TaxOverrideReason ¶
type TaxOverrideReason string
const ( TaxOverrideReasonIdExempt TaxOverrideReason = "id_exempt" TaxOverrideReasonCustomerExempt TaxOverrideReason = "customer_exempt" TaxOverrideReasonExport TaxOverrideReason = "export" )
type Taxability ¶
type Taxability string
const ( TaxabilityTaxable Taxability = "taxable" TaxabilityExempt Taxability = "exempt" )
type TaxjarExemptionCategory ¶
type TaxjarExemptionCategory string
const ( TaxjarExemptionCategoryWholesale TaxjarExemptionCategory = "wholesale" TaxjarExemptionCategoryGovernment TaxjarExemptionCategory = "government" TaxjarExemptionCategoryOther TaxjarExemptionCategory = "other" )
type TrialEndAction ¶
type TrialEndAction string
const ( TrialEndActionSiteDefault TrialEndAction = "site_default" TrialEndActionPlanDefault TrialEndAction = "plan_default" TrialEndActionActivateSubscription TrialEndAction = "activate_subscription" TrialEndActionCancelSubscription TrialEndAction = "cancel_subscription" )
type Type ¶
type Type string
const ( TypeCard Type = "card" TypePaypalExpressCheckout Type = "paypal_express_checkout" TypeAmazonPayments Type = "amazon_payments" TypeDirectDebit Type = "direct_debit" TypeGeneric Type = "generic" TypeAlipay Type = "alipay" TypeUnionpay Type = "unionpay" TypeApplePay Type = "apple_pay" TypeWechatPay Type = "wechat_pay" TypeIdeal Type = "ideal" TypeGooglePay Type = "google_pay" TypeSofort Type = "sofort" TypeBancontact Type = "bancontact" TypeGiropay Type = "giropay" TypeDotpay Type = "dotpay" TypeUpi Type = "upi" TypeNetbankingEmandates Type = "netbanking_emandates" )
type UnbilledChargesHandling ¶
type UnbilledChargesHandling string
const ( UnbilledChargesHandlingNoAction UnbilledChargesHandling = "no_action" UnbilledChargesHandlingInvoice UnbilledChargesHandling = "invoice" )
type UnbilledChargesOption ¶
type UnbilledChargesOption string
const ( UnbilledChargesOptionInvoice UnbilledChargesOption = "invoice" UnbilledChargesOptionDelete UnbilledChargesOption = "delete" )
type UnpaidInvoicesHandling ¶
type UnpaidInvoicesHandling string
const ( UnpaidInvoicesHandlingNoAction UnpaidInvoicesHandling = "no_action" UnpaidInvoicesHandlingSchedulePaymentCollection UnpaidInvoicesHandling = "schedule_payment_collection" )
type ValidationStatus ¶
type ValidationStatus string
const ( ValidationStatusNotValidated ValidationStatus = "not_validated" ValidationStatusValid ValidationStatus = "valid" ValidationStatusPartiallyValid ValidationStatus = "partially_valid" ValidationStatusInvalid ValidationStatus = "invalid" )
Source Files
¶
- account_holder_type.go
- account_receivables_handling.go
- account_type.go
- action.go
- api_version.go
- apply_on.go
- auto_collection.go
- avalara_sale_type.go
- billing_alignment_mode.go
- billing_date_mode.go
- billing_day_of_week_mode.go
- card_type.go
- change_option.go
- channel.go
- charge_model.go
- charge_on.go
- charge_on_event.go
- charge_on_option.go
- charges_handling.go
- contract_term_cancel_option.go
- credit_option_for_current_term_charges.go
- credit_type.go
- customer_type.go
- dedupe_option.go
- disposition_type.go
- dunning_type.go
- duration.go
- duration_type.go
- echeck_type.go
- einvoicing_method.go
- end_schedule_on.go
- entity_code.go
- entity_type.go
- event_type.go
- export_type.go
- free_period_unit.go
- friend_offer_type.go
- gateway.go
- hierarchy_operation_type.go
- invoice_dunning_handling.go
- item_type.go
- layout.go
- notify_referral_system.go
- offline_payment_method.go
- on_event.go
- operation.go
- operation_type.go
- pause_option.go
- payment_method.go
- payment_method_type.go
- period_unit.go
- price_type.go
- pricing_model.go
- product_catalog_version.go
- referral_system.go
- referrer_reward_type.go
- refundable_credits_handling.go
- report_by.go
- resume_option.go
- role.go
- schedule_type.go
- source.go
- status.go
- tax_exempt_reason.go
- tax_juris_type.go
- tax_override_reason.go
- taxability.go
- taxjar_exemption_category.go
- trial_end_action.go
- type.go
- unbilled_charges_handling.go
- unbilled_charges_option.go
- unpaid_invoices_handling.go
- validation_status.go
Click to show internal directories.
Click to hide internal directories.