Versions in this module Expand all Collapse all v0 v0.3.0 Jul 28, 2020 v0.2.0 Jan 23, 2020 Changes in this version type AdjustmentType + var AdjustmentTypeCharge AdjustmentType = "Charge" v0.1.0 Nov 26, 2019 Changes in this version + const ContextKeyZuoraEntityIds + const ContextKeyZuoraTrackID + const ContextKeyZuoraVersion + type API struct + ObjectModel ObjectModel + V1 V1 + func NewAPI(httpClient Doer, authHeaderProvider AuthHeaderProvider, baseURL string) *API + func NewPCEAPI(httpClient Doer, authHeaderProvider AuthHeaderProvider, baseURL string) *API + type Account struct + AccountNumber *string + AllowInvoiceEdit *bool + AutoPay *bool + Balance *float64 + Batch *string + BcdSettingOption string + BillCycleDay int + BillToID *string + CommunicationProfileID *string + CreatedByID *string + CreatedDate *string + CreditBalance *float64 + CrmID *string + Currency string + CustomerServiceRepName *string + DefaultPaymentMethodID *string + ID *string + InvoiceDeliveryPrefsEmail *bool + InvoiceDeliveryPrefsPrint *bool + InvoiceTemplateID *string + LastInvoiceDate *string + Mrr *float64 + Name string + Notes *string + ParentID *string + PaymentGateway *string + PaymentTerm *string + PurchaseOrderNumber *string + SalesRepName *string + SequenceSetID *string + SoldToID *string + Status string + TaxCompanyCode *string + TaxExemptCertificateID *string + TaxExemptCertificateType *string + TaxExemptDescription *string + TaxExemptEffectiveDate *string + TaxExemptEntityUseCode *string + TaxExemptExpirationDate *string + TaxExemptIssuingJurisdiction *string + TaxExemptStatus *string + TotalDebitMemoBalance *float64 + TotalInvoiceBalance *float64 + UnappliedBalance float64 + UnappliedCreditMemoAmount *float64 + UpdatedByID *string + UpdatedDate *string + VATId *string + type AccountUpdate struct + AdditionalEmailAddresses []string + AutoPay *bool + Batch *string + BillToContact *Contact + CommunicationProfileID *string + CreditMemoTemplateID *string + CrmID *string + DebitMemoTemplateID *string + InvoiceDeliveryPrefsEmail *bool + InvoiceDeliveryPrefsPrint *bool + InvoiceTemplateID *string + Name string + Notes *string + ParentID *string + PaymentGateway *string + SalesRepName *string + SequenceSetID *string + SoldToContact *Contact + Tagging *string + TaxInfo *AccountUpdateTaxInfo + type AccountUpdateResponse struct + ID string + Success bool + type AccountUpdateTaxInfo struct + CompanyCode *string + ExemptCertificateID *string + ExemptCertificateType *string + ExemptDescription *string + ExemptEffectiveDate *string + ExemptEntityUseCode *string + ExemptExpirationDate *string + ExemptIssuingJurisdiction *string + ExemptStatus *string + VATId *string + type AdjustmentSourceType string + var AdjustmentTypeInvoiceDetail AdjustmentSourceType = "InvoiceDetail" + var AdjustmentTypeTax AdjustmentSourceType = "Tax" + type AdjustmentType string + var AdjustmentTypeCredit AdjustmentType = "Credit" + var AdjustmentTypeDebit AdjustmentType = "Debit" + type AuthHeaderProvider interface + AuthHeaders func(ctx context.Context) (string, error) + type BasicAuthHeader struct + func NewBasicAuthHeader(clientID, clientSecret string) *BasicAuthHeader + func (t *BasicAuthHeader) AuthHeaders(ctx context.Context) (string, error) + type ChargeUpdateDetail struct + BillingPeriodAlignment *string + Description *string + IncludedUnits *float64 + OveragePrice *float64 + Price *float64 + PriceChangeOption *string + PriceIncreasePercentage *float64 + Quantity *float64 + RatePlanChargeID string + Tiers []Tier + TriggerDate *string + TriggerEvent *string + type Config struct + BaseURL string + ClientID string + ClientSecret string + HTTPClient *http.Client + type ConfigOption func(*Config) + type Contact struct + AccountID string + Address1 *string + Address2 *string + City *string + Country *string + County *string + CreatedByID *string + CreatedDate *string + Description *string + Fax *string + FirstName string + HomePhone *string + ID *string + LastName string + MobilePhone *string + NickName *string + OtherPhone *string + OtherPhoneType *string + PersonalEmail *string + PostalCode *string + State *string + TaxRegion *string + UpdatedByID *string + UpdatedDate *string + WorkEmail *string + WorkPhone *string + type ContextKey string + func (c ContextKey) String() string + type Doer interface + Do func(request *http.Request) (*http.Response, error) + type GatewayOption struct + Name string + Value string + type GatewayOptionData struct + GatewayOption []GatewayOption + type Invoice struct + AccountID string + AdjustmentAmount float64 + Amount *float64 + AmountWithoutTax *float64 + AutoPay *bool + Balance *float64 + BillRunID *string + BillToContactSnapshotID *string + Body string + Comments *string + CreatedByID *string + CreatedDate *string + CreditBalanceAdjustmentAmount float64 + DueDate *string + ID *string + IncludesOneTime *bool + IncludesRecurring *bool + IncludesUsage *bool + InvoiceDate *string + InvoiceNumber *string + LastEmailSentDate *string + PaymentAmount float64 + PostedBy *string + PostedDate *string + RefundAmount float64 + RegenerateInvoicePDF *bool + Reversed *bool + SoldToContactSnapshotID *string + Source *string + SourceID *string + Status *string + TargetDate *string + TaxAmount float64 + TaxExemptAmount float64 + TaxMessage *string + TaxStatus *string + TransferredToAccounting *string + UpdatedByID *string + UpdatedDate *string + type InvoiceFile struct + ID string + PdfFileURL string + VersionNumber int64 + type InvoiceFilesResponse struct + InvoiceFiles []InvoiceFile + type InvoiceItem struct + AppliedToItemID interface{} + Balance float64 + ChargeAmount float64 + ChargeDescription string + ChargeID string + ChargeName string + ID string + ProductName string + Quantity float64 + ServiceEndDate string + ServiceStartDate string + SubscriptionID string + SubscriptionName string + TaxAmount float64 + TaxationItems TaxationItem + UnitOfMeasure string + type InvoiceItemAdjustment struct + AccountID string + CancelledByID string + CancelledDate string + CreatedByID string + CreatedDate string + CustomerName string + CustomerNumber string + ID string + InvoiceItemName string + ServiceEndDate string + ServiceStartDate string + Status string + TransferredToAccounting string + UpdatedByID string + UpdatedDate string + type InvoiceItemAdjustmentCreatePayload struct + AccountingCode string + AdjustmentDate string + AdjustmentNumber string + Amount float64 + Comment string + DeferredRevenueAccount string + InvoiceID string + InvoiceNumber string + ReasonCode string + RecognizedRevenueAccount string + ReferenceID string + SourceID string + SourceType AdjustmentSourceType + Type AdjustmentType + type InvoiceItemZoql struct + AccountingCode string + AppliedToChargeNumber string + AppliedToInvoiceItemID string + Balance float64 + ChargeAmount float64 + ChargeDate string + ChargeDescription string + ChargeID string + ChargeName string + ChargeNumber string + ChargeType string + CreatedByID string + CreatedDate string + ID string + InvoiceID string + ProcessingType string + ProductDescription string + ProductID string + ProductName string + Quantity float64 + RatePlanChargeID string + RevRecCode string + RevRecStartDate string + RevRecTriggerCondition string + SKU string + ServiceEndDate string + ServiceStartDate string + SubscriptionID string + SubscriptionNumber string + TaxAmount float64 + TaxCode string + TaxExemptAmount float64 + TaxMode string + UOM string + UnitPrice float64 + UpdatedByID string + UpdatedDate string + type InvoiceItemsResponse struct + InvoiceItems []InvoiceItem + type InvoicePayment struct + Amount float64 + CreatedByID string + CreatedDate string + ID string + InvoiceID string + PaymentID string + RefundAmount float64 + UpdatedByID string + UpdatedDate string + type MemoryTokenStore struct + func (m *MemoryTokenStore) Token() (bool, *Token) + func (m *MemoryTokenStore) Update(token *Token) + type OAuthHeader struct + func NewOAuthHeader(doer Doer, tokenStorer TokenStorer, clientID, clientSecret, baseURL string) *OAuthHeader + func (t *OAuthHeader) AuthHeaders(ctx context.Context) (string, error) + type ObjecName string + type ObjectModel struct + Account ObjecName + AccountingCode ObjecName + AccountingPeriod ObjecName + Amendment ObjecName + BillingRun ObjecName + Contact ObjecName + ContactSnapshot ObjecName + CreditBalanceAdjustment ObjecName + CreditMemo ObjecName + CreditMemoApplication ObjecName + CreditMemoApplicationItem ObjecName + CreditMemoItem ObjecName + CreditMemoPart ObjecName + CreditMemoPartItem ObjecName + CreditTaxationItem ObjecName + DebitMemo ObjecName + DebitMemoItem ObjecName + DebitTaxationItem ObjecName + DiscountAppliedMetrics ObjecName + FXCustomRate ObjecName + Invoice ObjecName + InvoiceAdjustment ObjecName + InvoiceItem ObjecName + InvoiceItemAdjustment ObjecName + InvoicePayment ObjecName + JournalEntry ObjecName + JournalEntryItem ObjecName + JournalRun ObjecName + Order ObjecName + OrderAction ObjecName + OrderElp ObjecName + OrderItem ObjecName + OrderMrr ObjecName + OrderQuantity ObjecName + OrderTcb ObjecName + OrderTcv ObjecName + Payment ObjecName + PaymentApplication ObjecName + PaymentApplicationItem ObjecName + PaymentGatewayReconciliationEventLog ObjecName + PaymentMethod ObjecName + PaymentMethodSnapshot ObjecName + PaymentMethodTransactionLog ObjecName + PaymentPart ObjecName + PaymentPartItem ObjecName + PaymentReconciliationJob ObjecName + PaymentReconciliationLog ObjecName + PaymentRun ObjecName + PaymentTransactionLog ObjecName + ProcessedUsage ObjecName + Product ObjecName + ProductRatePlan ObjecName + ProductRatePlanCharge ObjecName + ProductRatePlanChargeTier ObjecName + RatePlan ObjecName + RatePlanCharge ObjecName + RatePlanChargeTier ObjecName + Refund ObjecName + RefundApplication ObjecName + RefundApplicationItem ObjecName + RefundInvoicePayment ObjecName + RefundPart ObjecName + RefundPartItem ObjecName + RefundTransactionLog ObjecName + RevenueChargeSummary ObjecName + RevenueChargeSummaryItem ObjecName + RevenueEvent ObjecName + RevenueEventCreditMemoItem ObjecName + RevenueEventDebitMemoItem ObjecName + RevenueEventInvoiceItem ObjecName + RevenueEventInvoiceItemAdjustment ObjecName + RevenueEventItem ObjecName + RevenueEventItemCreditMemoItem ObjecName + RevenueEventItemDebitMemoItem ObjecName + RevenueEventItemInvoiceItem ObjecName + RevenueEventItemInvoiceItemAdjustment ObjecName + RevenueEventType ObjecName + RevenueSchedule ObjecName + RevenueScheduleCreditMemoItem ObjecName + RevenueScheduleDebitMemoItem ObjecName + RevenueScheduleInvoiceItem ObjecName + RevenueScheduleInvoiceItemAdjustment ObjecName + RevenueScheduleItem ObjecName + RevenueScheduleItemCreditMemoItem ObjecName + RevenueScheduleItemDebitMemoItem ObjecName + RevenueScheduleItemInvoiceItem ObjecName + RevenueScheduleItemInvoiceItemAdjustment ObjecName + Subscription ObjecName + TaxableItemSnapshot ObjecName + TaxationItem ObjecName + Tenant ObjecName + UpdaterBatch ObjecName + UpdaterDetail ObjecName + Usage ObjecName + type Payment struct + AccountID *string + AccountingCode *string + Amount float64 + AppliedAmount float64 + AppliedCreditBalanceAmount float64 + AppliedInvoiceAmount *float64 + AuthTransactionID *string + BankIdentificationNumber *string + CancelledOn *string + Comment *string + CreatedByID *string + CreatedDate *string + Currency *string + EffectiveDate string + Gateway *string + GatewayOrderID *string + GatewayResponse string + GatewayResponseCode string + GatewayState string + ID *string + InvoiceID *string + InvoiceNumber *string + MarkedForSubmissionOn *string + PaymentMethodID *string + PaymentMethodSnapshotID *string + PaymentNumber string + ReferenceID *string + ReferencedPaymentID *string + RefundAmount *float64 + SecondPaymentReferenceID *string + SettledOn *string + SoftDescriptor *string + SoftDescriptorPhone *string + Source *string + SourceName *string + Status string + SubmittedOn *string + TransferredToAccounting *string + Type string + UnappliedAmount float64 + UpdatedByID *string + UpdatedDate *string + type PaymentMethod struct + AccountID *string + AchAbaCode *string + AchAccountName *string + AchAccountNumberMask *string + AchAccountType *string + AchAddress1 *string + AchAddress2 *string + AchBankName *string + AchCity *string + AchCountry *string + AchPostalCode *string + AchState *string + Active *bool + BankBranchCode *string + BankCheckDigit *string + BankCity *string + BankCode *string + BankIdentificationNumber *string + BankName *string + BankPostalCode *string + BankStreetName *string + BankStreetNumber *string + BankTransferAccountName *string + BankTransferAccountNumberMask *string + BankTransferAccountType *string + BankTransferType *string + BusinessIdentificationCode *string + City *string + CompanyName *string + Country *string + CreatedByID *string + CreatedDate *string + CreditCardAddress1 *string + CreditCardAddress2 *string + CreditCardCity *string + CreditCardCountry *string + CreditCardExpirationMonth *int + CreditCardExpirationYear *int + CreditCardHolderName *string + CreditCardMaskNumber *string + CreditCardNumber *string + CreditCardPostalCode *string + CreditCardSecurityCode *string + CreditCardState *string + CreditCardType *string + DeviceSessionID *string + Email *string + ExistingMandate *string + FirstName *string + IBAN *string + ID *string + IPAddress *string + IdentityNumber *string + IsCompany bool + LastFailedSaleTransactionDate *string + LastName *string + LastTransactionDateTime *string + LastTransactionStatus *string + MandateCreationDate *string + MandateID *string + MandateReceived *string + MandateUpdateDate *string + MaxConsecutivePaymentFailures *int + MitConsentAgreementRef *string + MitConsentAgreementSrc *string + MitNetworkTransactionID *string + MitProfileAction *string + MitProfileAgreedOn *string + MitProfileType *string + Name *string + NumConsecutiveFailures *int + PaymentMethodStatus *string + PaymentRetryWindow *int + PaypalBaid *string + PaypalEmail *string + PaypalPreapprovalKey *string + PaypalType *string + Phone *string + PostalCode *string + SecondTokenID *string + SkipValidation *bool + State *string + StreetName *string + StreetNumber *string + TokenID *string + TotalNumberOfErrorPayments int + TotalNumberOfProcessedPayments int + Type string + UpdatedByID *string + UpdatedDate *string + UseDefaultRetryRule bool + type Product struct + AllowFeatureChanges *bool + Category *string + CreatedByID *string + CreatedDate *string + Description *string + EffectiveEndDate string + EffectiveStartDate string + ID *string + Name string + SKU *string + UpdatedByID *string + UpdatedDate *string + type ProductRatePlan struct + ActiveCurrencies *string + CreatedByID *string + CreatedDate *string + Description *string + EffectiveEndDate *string + EffectiveStartDate *string + ID *string + Name string + ProductID *string + UpdatedByID *string + UpdatedDate *string + type ProductRatePlanCharge struct + AccountingCode *string + ApplyDiscountTo *string + BillCycleDay *int + BillCycleType *string + BillingPeriod *string + BillingPeriodAlignment *string + BillingTiming *string + ChargeModel *string + ChargeType *string + CreatedByID *string + CreatedDate *string + DefaultQuantity *float64 + DeferredRevenueAccount *string + Description *string + DiscountClass *string + DiscountLevel *string + EndDateCondition *string + ID *string + IncludedUnits *float64 + LegacyRevenueReporting *bool + ListPriceBase *string + MaxQuantity *float64 + MinQuantity *float64 + Name string + NumberOfPeriod *int + OverageCalculationOption *string + OverageUnusedUnitsCreditOption *string + PriceChangeOption *string + PriceIncreasePercentage *float64 + ProductRatePlanID *string + RatingGroup *string + RecognizedRevenueAccount *string + RevRecCode *string + RevRecTriggerCondition *string + RevenueRecognitionRuleName *string + SmoothingModel *string + SpecificBillingPeriod *int + TaxCode *string + TaxMode *string + Taxable *bool + TriggerEvent *string + UOM *string + UpToPeriods *int + UpToPeriodsType *string + UpdatedByID *string + UpdatedDate *string + UsageRecordRatingOption *string + UseDiscountSpecificAccountingCode *bool + UseTenantDefaultForPriceChange *bool + WeeklyBillCycleDay *string + type ProductRatePlanChargeTier struct + Active *bool + CreatedByID *string + CreatedDate *string + Currency *string + DiscountAmount *float64 + DiscountPercentage *float64 + ID *string + IncludedUnits *float64 + IsOveragePrice bool + OveragePrice *float64 + ProductRatePlanChargeID string + UpdatedByID *string + UpdatedDate *string + type Querier interface + Build func() string + type RatePlan struct + AmendmentID *string + AmendmentSubscriptionRatePlanID *string + AmendmentType *string + CreatedByID *string + CreatedDate *string + ID *string + Name string + ProductRatePlanID *string + SubscriptionID *string + UpdatedByID *string + UpdatedDate *string + type RatePlanCharge struct + AccountingCode *string + ApplyDiscountTo *string + BillCycleDay *int + BillCycleType *string + BillingPeriod *string + BillingPeriodAlignment *string + BillingTiming *string + ChargeModel *string + ChargeNumber string + ChargeType string + ChargedThroughDate *string + CreatedByID *string + CreatedDate *string + DMRC *float64 + DTCV *float64 + Description *string + DiscountAmount *float64 + DiscountClass *string + DiscountLevel *string + DiscountPercentage *float64 + EffectiveEndDate *string + EffectiveStartDate *string + EndDateCondition *string + ID *string + IncludedUnits *float64 + IsLastSegment *bool + ListPriceBase *string + MRR *float64 + Name string + NumberOfPeriods *int + OriginalID *string + OverageCalculationOption *string + OveragePrice *float64 + OverageUnusedUnitsCreditOption *string + Price *float64 + PriceChangeOption *string + PriceIncreasePercentage *float64 + ProcessedThroughDate *string + ProductRatePlanChargeID string + Quantity *float64 + RatePlanID *string + RatingGroup *string + RevRecCode *string + RevRecTriggerCondition *string + RevenueRecognitionRuleName *string + RolloverBalance *float64 + Segment int + SpecificBillingPeriod *int + SpecificEndDate *string + TCV *float64 + TriggerDate *string + TriggerEvent string + UOM string + UnusedUnitsCreditRates *float64 + UpToPeriods *int + UpToPeriodsType *string + UpdatedByID *string + UpdatedDate *string + UsageRecordRatingOption *string + UseDiscountSpecificAccountingCode *bool + Version *int + WeeklyBillCycleDay *string + type Refund struct + AccountID string + AccountingCode string + Amount float64 + CancelledOn string + Comment string + CreatedByID string + CreatedDate string + Gateway string + GatewayResponse string + GatewayResponseCode string + GatewayState string + ID string + MarkedForSubmissionOn string + MethodType string + PaymentID string + PaymentMethodID string + PaymentMethodSnapshotID string + ReasonCode string + ReferenceID string + RefundDate string + RefundNumber string + RefundTransactionTime string + SecondRefundReferenceID string + SettledOn string + SoftDescriptor string + SoftDescriptorPhone string + SourceType string + Status string + SubmittedOn string + TransferredToAccounting string + Type string + UpdatedByID string + UpdatedDate string + type RefundCreatePayload struct + AccountID string + Amount float64 + Comment string + GatewayOptionData *GatewayOptionData + MethodType string + PaymentID string + PaymentMethodID string + ReasonCode RefundReasonCode + RefundDate string + RefundInvoicePaymentData *RefundInvoicePaymentData + SoftDescriptor string + SoftDescriptorPhone string + SourceType string + Type RefundType + type RefundCreateResonse struct + ID string + type RefundInvoicePayment struct + CreatedByID string + CreatedDate string + ID string + InvoiceID string + InvoicePaymentID string + RefundAmount float64 + RefundID string + UpdatedByID string + UpdatedDate string + type RefundInvoicePaymentData struct + RefundInvoicePayment []RefundInvoicePayment + type RefundReasonCode string + var RefundReasonCodeChargeback RefundReasonCode = "Chargeback" + var RefundReasonCodeCustomerSatisfaction RefundReasonCode = "Customer Satisfaction" + var RefundReasonCodePaymentReversal RefundReasonCode = "Payment Reversal" + type RefundType string + var ElectronigRefundType RefundType = "Electronic" + var ExternalRefundType RefundType = "External" + type Response struct + Success bool + type Subscription struct + AccountID string + AncestorAccountID *string + AutoRenew *bool + CancelledDate *string + ContractAcceptanceDate *string + ContractEffectiveDate *string + CpqBundleJSONIDQT *string + CreatedByID *string + CreatedDate *string + CreatorAccountID *string + CreatorInvoiceOwnerID *string + CurrentTerm *int + CurrentTermPeriodType *string + ID *string + InitialTerm *int + InitialTermPeriodType *string + InvoiceOwnerID string + IsInvoiceSeparate *bool + Name *string + Notes *string + OpportunityCloseDateQT *string + OpportunityNameQT *string + OriginalCreatedDate *string + OriginalID *string + PreviousSubscriptionID *string + QuoteBusinessTypeQT *string + QuoteNumberQT *string + QuoteTypeQT *string + RenewalSetting string + RenewalTerm *int + RenewalTermPeriodType *string + ServiceActivationDate *string + Status *string + SubscriptionEndDate *string + SubscriptionStartDate *string + TermEndDate *string + TermStartDate *string + TermType *string + UpdatedByID *string + UpdatedDate *string + Version *int + type SubscriptionAddChargeOverride struct + ApplyDiscountTo *string + BillCycleDay *string + BillCycleType *string + BillingPeriod *string + BillingPeriodAlignment *string + BillingTiming *string + Description *string + DiscountAmount *string + DiscountLevel *string + DiscountPercentage *float64 + EndDateCondition *string + IncludedUnits *float64 + ListPriceBase *string + NumberOfPeriod *int + OveragePrice *float64 + OverageUnusedUnitsCreditOption *string + Price *float64 + PriceChangeOption *string + PriceIncreasePercentage *float64 + ProductRatePlanChargeID string + Quantity *float64 + RatingGroup *string + SpecificBillingPeriod *int + SpecificEndDate *string + Tiers []Tier + TriggerDate *string + TriggerEvent *string + UnusedUnitCreditRates *float64 + UpToPeriods *int + UpToPeriodsType *string + type SubscriptionAddRatePlan struct + ContractEffectiveDate string + CustomerAcceptanceDate *string + ProductRatePlanID string + ServiceActivationDate *string + type SubscriptionCancellation struct + ApplyCreditBalance *bool + CancellationEffectiveDate *string + CancellationPolicy string + Collect *bool + DocumentDate *string + Invoice *bool + InvoiceCollect bool + InvoiceTargetDate *string + RunBilling *bool + TargetDate *string + type SubscriptionCancellationResponse struct + CancelledDate string + CreditMemoID string + InvoiceID string + PaidAmount string + PaymentID string + SubscriptionID string + Success bool + TotalDeltaMrr *float64 + TotalDeltaTcv *float64 + type SubscriptionRemoveRatePlan struct + ContractEffectiveDate string + CustomerAcceptanceDate *string + RatePlanID string + ServiceActivationDate *string + type SubscriptionUpdate struct + ApplyCreditBalance *bool + AutoRenew *bool + Collect *bool + CurrentTerm *int + CurrentTermPeriodType *string + DocumentDate *string + IncludeExistingDraftDocItems *bool + IncludeExistingDraftInvoiceItems *bool + Invoice *bool + InvoiceCollect *bool + InvoiceSeparately *bool + InvoiceTargetDate *string + Notes *string + Preview *bool + PreviewType *string + RenewalSetting *string + RenewalTerm *int + RenewalTermPeriodType *string + RunBilling *bool + TargetDate *string + TermStartDate *string + TermType *string + type SubscriptionUpdateRatePlan struct + ContractEffectiveDate string + CustomerAcceptanceDate *string + RatePlanID string + ServiceActivationDate *string + SpecificUpdateDate *string + type TaxationItem struct + Data []struct{ ... } + type Tier struct + EndingUnit *float64 + Price float64 + PriceFormat *string + StartingUnit *float64 + Tier int + type Token struct + AccessToken string + ExpiresIn int + Jti string + Scope string + TokenType string + type TokenStorer interface + Token func() (bool, *Token) + Update func(*Token) + type Usage struct + AccountID *string + AccountNumber *string + AncestorAccountID *string + ChargeID *string + ChargeNumber *string + CreatedByID *string + CreatedDate *string + Description *string + EndDateTime *string + ID *string + ImportID *string + InvoiceID *string + InvoiceNumber *string + Quantity *float64 + RbeStatus *string + SourceName *string + SourceType *string + StartDateTime *string + SubmissionDateTime *string + SubscriptionID *string + SubscriptionNumber *string + UOM *string + UpdatedByID *string + UpdatedDate *string + type V1 struct + AccountsService *accountsService + ActionsService *actionsService + CatalogService *catalogService + DescribeService *describeService + Invoices *invoices + PaymentMethods *paymentMethods + RefundService *refundService + SubscriptionsService *subscriptionsService