bf_ruby2 1.2016.230 → 2.2016.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +710 -710
- data/bf-ruby2.iml +6 -0
- data/bf_ruby2-1.2016.230.gem +0 -0
- data/bf_ruby2.gemspec +1 -1
- data/docs/APIConfigurationPagedMetadata.md +1 -1
- data/docs/APIQuote.md +1 -1
- data/docs/APIQuotePagedMetadata.md +1 -1
- data/docs/APIQuoteResponseQuantity.md +1 -1
- data/docs/Account.md +1 -1
- data/docs/AccountLTVResultPagedMetadata.md +1 -1
- data/docs/AccountPagedMetadata.md +1 -1
- data/docs/AccountPaymentsResultPagedMetadata.md +1 -1
- data/docs/AccountsApi.md +45 -45
- data/docs/AddChargeRequest.md +1 -1
- data/docs/AddChargeToAccountResponse.md +1 -1
- data/docs/AddChargeToAccountResponsePagedMetadata.md +1 -1
- data/docs/AddChargesToAccountAPIRequest.md +1 -1
- data/docs/AddCouponCodeRequest.md +1 -1
- data/docs/AddPaymentMethodRequest.md +1 -1
- data/docs/AddTaxationStrategyRequest.md +1 -1
- data/docs/Address.md +1 -1
- data/docs/AddressPagedMetadata.md +1 -1
- data/docs/AddressesApi.md +7 -7
- data/docs/AggregatingComponent.md +1 -1
- data/docs/Amendment.md +1 -1
- data/docs/AmendmentDiscardAmendment.md +1 -1
- data/docs/AmendmentPagedMetadata.md +1 -1
- data/docs/AmendmentPriceNTimePagedMetadata.md +1 -1
- data/docs/AmendmentsApi.md +25 -25
- data/docs/AnalyticsApi.md +27 -27
- data/docs/AuditEntry.md +1 -1
- data/docs/AuditEntryPagedMetadata.md +1 -1
- data/docs/AuditlogsApi.md +11 -11
- data/docs/AuthCaptureRequest.md +1 -1
- data/docs/AuthorizeNetTokenPagedMetadata.md +1 -1
- data/docs/BFError.md +1 -1
- data/docs/BFPermission.md +1 -1
- data/docs/BFPermissionPagedMetadata.md +1 -1
- data/docs/BankAccountVerificationPagedMetadata.md +1 -1
- data/docs/BatchUpdatePricingComponentValuesRequest.md +1 -1
- data/docs/BillforwardManagedPaymentsResultPagedMetadata.md +1 -1
- data/docs/BillingEntityBase.md +1 -1
- data/docs/BraintreeAuthCaptureRequest.md +1 -1
- data/docs/BraintreeCaptureRequest.md +1 -1
- data/docs/BraintreeTokenPagedMetadata.md +1 -1
- data/docs/CancelSubscriptionRequest.md +1 -1
- data/docs/CancellationAmendment.md +1 -1
- data/docs/CassChurnResultPagedMetadata.md +1 -1
- data/docs/CassPaymentResultPagedMetadata.md +1 -1
- data/docs/CassUpgradeResultPagedMetadata.md +1 -1
- data/docs/ChargesApi.md +19 -19
- data/docs/Client.md +1 -1
- data/docs/ClientPagedMetadata.md +1 -1
- data/docs/ClientsApi.md +11 -11
- data/docs/ComponentChange.md +1 -1
- data/docs/ComponentCost.md +1 -1
- data/docs/CompoundUsage.md +1 -1
- data/docs/CompoundUsageSession.md +1 -1
- data/docs/ConfigurationsApi.md +11 -11
- data/docs/Coupon.md +1 -1
- data/docs/CouponBook.md +1 -1
- data/docs/CouponBookDefinition.md +1 -1
- data/docs/CouponBookDefinitionPagedMetadata.md +1 -1
- data/docs/CouponBookPagedMetadata.md +1 -1
- data/docs/CouponDefinition.md +1 -1
- data/docs/CouponDefinitionPagedMetadata.md +1 -1
- data/docs/CouponDiscount.md +1 -1
- data/docs/CouponDiscountEstimate.md +1 -1
- data/docs/CouponInstance.md +1 -1
- data/docs/CouponInstanceExistingValue.md +1 -1
- data/docs/CouponInstancePagedMetadata.md +1 -1
- data/docs/CouponModifierBase.md +1 -1
- data/docs/CouponModifierBasePagedMetadata.md +1 -1
- data/docs/CouponPagedMetadata.md +1 -1
- data/docs/CouponRule.md +1 -1
- data/docs/CouponRulePagedMetadata.md +1 -1
- data/docs/CouponUniqueCodesRequest.md +1 -1
- data/docs/CouponUniqueCodesResponse.md +1 -1
- data/docs/CouponUniqueCodesResponsePagedMetadata.md +1 -1
- data/docs/CouponWrapperResponse.md +1 -1
- data/docs/CouponbookApi.md +21 -21
- data/docs/CouponbookdefinitionApi.md +15 -15
- data/docs/CoupondefinitionApi.md +13 -13
- data/docs/CouponinstanceApi.md +23 -23
- data/docs/CouponmodifierApi.md +17 -17
- data/docs/CouponruleApi.md +12 -12
- data/docs/CouponsApi.md +19 -19
- data/docs/CreateAccountProfileRequest.md +1 -1
- data/docs/CreateAccountRequest.md +1 -1
- data/docs/CreateAddressRequest.md +1 -1
- data/docs/CreateAggregatingComponentRequest.md +1 -1
- data/docs/CreateAggregatingSubscriptionRequest.md +1 -1
- data/docs/CreateProfileAddressRequest.md +1 -1
- data/docs/CreateSubscriptionBatchRequest.md +1 -1
- data/docs/CreateSubscriptionChargeAmendment.md +1 -1
- data/docs/CreateSubscriptionRequest.md +1 -1
- data/docs/CreditAccountRequest.md +1 -1
- data/docs/CreditNote.md +1 -1
- data/docs/CreditNotePagedMetadata.md +1 -1
- data/docs/CreditSubscriptionRequest.md +1 -1
- data/docs/CreditnotesApi.md +14 -14
- data/docs/CybersourceTokenPagedMetadata.md +1 -1
- data/docs/CybersourcetokensApi.md +13 -13
- data/docs/DataSynchronisationAppConfigurationPagedMetadata.md +1 -1
- data/docs/DataSynchronisationConfiguration.md +1 -1
- data/docs/DataSynchronisationConfigurationPagedMetadata.md +1 -1
- data/docs/DataSynchronizationJobPagedMetadata.md +1 -1
- data/docs/DebtsResultPagedMetadata.md +1 -1
- data/docs/DunningLine.md +1 -1
- data/docs/DunningLinePagedMetadata.md +1 -1
- data/docs/DunninglinesApi.md +15 -15
- data/docs/DynamicMetadata.md +1 -1
- data/docs/Email.md +1 -1
- data/docs/EmailPagedMetadata.md +1 -1
- data/docs/EmailProvider.md +1 -1
- data/docs/EmailProviderPagedMetadata.md +1 -1
- data/docs/EmailSubscription.md +1 -1
- data/docs/EmailSubscriptionPagedMetadata.md +1 -1
- data/docs/EmailprovidersApi.md +10 -10
- data/docs/EmailsApi.md +7 -7
- data/docs/EmailsubscriptionsApi.md +13 -13
- data/docs/EndTrialAmendment.md +1 -1
- data/docs/Event.md +1 -1
- data/docs/EventData.md +1 -1
- data/docs/FileSham.md +1 -1
- data/docs/FixedTerm.md +1 -1
- data/docs/FixedTermDefinitionPagedMetadata.md +1 -1
- data/docs/FixedTermExpiryAmendment.md +1 -1
- data/docs/FixedTermPagedMetadata.md +1 -1
- data/docs/FixedtermdefinitionsApi.md +7 -7
- data/docs/FixedtermsApi.md +4 -4
- data/docs/FlatPricingComponent.md +1 -1
- data/docs/ImportInvoiceLine.md +1 -1
- data/docs/InsertableBillingEntity.md +1 -1
- data/docs/Invoice.md +1 -1
- data/docs/InvoiceChargeRequest.md +1 -1
- data/docs/InvoiceLine.md +1 -1
- data/docs/InvoiceLinePayment.md +1 -1
- data/docs/InvoiceLinePaymentPagedMetadata.md +1 -1
- data/docs/InvoiceNextExecutionAttemptAmendment.md +1 -1
- data/docs/InvoiceOutstandingChargesAmendment.md +1 -1
- data/docs/InvoicePagedMetadata.md +1 -1
- data/docs/InvoicePayment.md +1 -1
- data/docs/InvoiceRecalculationAmendment.md +1 -1
- data/docs/InvoiceRecalculationRequest.md +1 -1
- data/docs/InvoicesApi.md +95 -95
- data/docs/IssueInvoiceAmendment.md +1 -1
- data/docs/MetadataApi.md +11 -11
- data/docs/MetadataKeyValuesPagedMetadata.md +1 -1
- data/docs/MigrationRequest.md +1 -1
- data/docs/ModelAlias.md +1 -1
- data/docs/MutableBillingEntity.md +1 -1
- data/docs/NestedChargeRequest.md +1 -1
- data/docs/Notification.md +1 -1
- data/docs/NotificationPagedMetadata.md +1 -1
- data/docs/NotificationsApi.md +13 -13
- data/docs/Organization.md +1 -1
- data/docs/OrganizationPagedMetadata.md +1 -1
- data/docs/OrganizationsApi.md +17 -17
- data/docs/Password.md +1 -1
- data/docs/PasswordPagedMetadata.md +1 -1
- data/docs/PasswordResetRequest.md +1 -1
- data/docs/PasswordsApi.md +4 -4
- data/docs/PauseRequest.md +1 -1
- data/docs/Payment.md +1 -1
- data/docs/PaymentMethod.md +1 -1
- data/docs/PaymentMethodPagedMetadata.md +1 -1
- data/docs/PaymentMethodSubscriptionLink.md +1 -1
- data/docs/PaymentMethodSubscriptionLinkPagedMetadata.md +1 -1
- data/docs/PaymentPagedMetadata.md +1 -1
- data/docs/PaymentRetryRequest.md +1 -1
- data/docs/PaymentmethodsApi.md +19 -19
- data/docs/PaymentmethodsubscriptionlinksApi.md +6 -6
- data/docs/PaymentsApi.md +19 -19
- data/docs/PendingComponentValueChange.md +1 -1
- data/docs/Period.md +1 -1
- data/docs/PeriodPagedMetadata.md +1 -1
- data/docs/PeriodsApi.md +5 -5
- data/docs/PermissionActionEntityPagedMetadata.md +1 -1
- data/docs/PermissionResourceEntityPagedMetadata.md +1 -1
- data/docs/PermissionsApi.md +14 -14
- data/docs/PriceCalculationPagedMetadata.md +1 -1
- data/docs/PricingComponent.md +1 -1
- data/docs/PricingComponentCouponModifier.md +1 -1
- data/docs/PricingComponentMigrationValue.md +1 -1
- data/docs/PricingComponentPagedMetadata.md +1 -1
- data/docs/PricingComponentQuantityRequest.md +1 -1
- data/docs/PricingComponentTier.md +1 -1
- data/docs/PricingComponentTierPagedMetadata.md +1 -1
- data/docs/PricingComponentValue.md +1 -1
- data/docs/PricingComponentValueChangeAmendment.md +1 -1
- data/docs/PricingComponentValueChangePagedMetadata.md +1 -1
- data/docs/PricingComponentValueMigrationAmendmentMapping.md +1 -1
- data/docs/PricingComponentValuePagedMetadata.md +1 -1
- data/docs/PricingComponentValueRequest.md +1 -1
- data/docs/PricingComponentValueResponsePagedMetadata.md +1 -1
- data/docs/PricingcalculatorApi.md +10 -10
- data/docs/PricingcomponentsApi.md +15 -15
- data/docs/PricingcomponenttiersApi.md +13 -13
- data/docs/PricingcomponentvaluechangesApi.md +14 -14
- data/docs/PricingcomponentvaluesApi.md +13 -13
- data/docs/Product.md +2 -2
- data/docs/ProductCouponModifier.md +1 -1
- data/docs/ProductPagedMetadata.md +1 -1
- data/docs/ProductPaymentsResultPagedMetadata.md +1 -1
- data/docs/ProductRatePlan.md +2 -2
- data/docs/ProductRatePlanMigrationAmendment.md +1 -1
- data/docs/ProductRatePlanPagedMetadata.md +1 -1
- data/docs/ProductRatePlanPaymentsResultPagedMetadata.md +1 -1
- data/docs/ProductrateplansApi.md +34 -34
- data/docs/ProductsApi.md +23 -23
- data/docs/Profile.md +1 -1
- data/docs/ProfilePagedMetadata.md +1 -1
- data/docs/ProfilesApi.md +12 -12
- data/docs/QuoteRequest.md +1 -1
- data/docs/QuoteRequestValue.md +1 -1
- data/docs/QuotesApi.md +4 -4
- data/docs/RecalculateChargeBatchRequest.md +1 -1
- data/docs/RecalculateChargeBatchResponse.md +1 -1
- data/docs/RecalculateChargeBatchResponsePagedMetadata.md +1 -1
- data/docs/RecalculateChargeRequest.md +1 -1
- data/docs/Receipt.md +1 -1
- data/docs/ReceiptPagedMetadata.md +1 -1
- data/docs/ReceiptsApi.md +16 -16
- data/docs/Refund.md +1 -1
- data/docs/RefundPagedMetadata.md +1 -1
- data/docs/RefundsApi.md +19 -19
- data/docs/ResumeRequest.md +1 -1
- data/docs/ResumeSubscriptionAmendment.md +1 -1
- data/docs/RevenueAttribution.md +1 -1
- data/docs/RevenueAttributionPagedMetadata.md +1 -1
- data/docs/ReviveSubscriptionRequest.md +1 -1
- data/docs/Role.md +1 -1
- data/docs/RolePagedMetadata.md +1 -1
- data/docs/RolesApi.md +15 -15
- data/docs/RuleSatisfaction.md +1 -1
- data/docs/SearchApi.md +3 -3
- data/docs/SearchResultPagedMetadata.md +1 -1
- data/docs/ServiceEndAmendment.md +1 -1
- data/docs/SingleRecalculateChargeRequest.md +1 -1
- data/docs/StripeACHTokenPagedMetadata.md +1 -1
- data/docs/StripeAuthCaptureRequest.md +1 -1
- data/docs/StripeObject.md +1 -1
- data/docs/StripeTokenPagedMetadata.md +1 -1
- data/docs/Subscription.md +1 -1
- data/docs/SubscriptionCancellationPagedMetadata.md +1 -1
- data/docs/SubscriptionCharge.md +1 -1
- data/docs/SubscriptionChargePagedMetadata.md +1 -1
- data/docs/SubscriptionLTVResultPagedMetadata.md +1 -1
- data/docs/SubscriptionPagedMetadata.md +1 -1
- data/docs/SubscriptionsApi.md +129 -129
- data/docs/SwaggerTypeList.md +1 -1
- data/docs/SwaggerTypeListInv.md +1 -1
- data/docs/SwaggerTypeListSubs.md +1 -1
- data/docs/SynchAppConfigsApi.md +11 -11
- data/docs/SynchConfigsApi.md +15 -15
- data/docs/SynchJobsApi.md +19 -19
- data/docs/TaxationLinkPagedMetadata.md +1 -1
- data/docs/TaxationStrategyPagedMetadata.md +1 -1
- data/docs/TaxationlinksApi.md +15 -15
- data/docs/TaxationstrategiesApi.md +21 -21
- data/docs/TieredPricingComponent.md +1 -1
- data/docs/TieredVolumePricingComponent.md +1 -1
- data/docs/TimeApi.md +4 -4
- data/docs/TimeRequest.md +1 -1
- data/docs/TimeResponse.md +1 -1
- data/docs/TimeResponsePagedMetadata.md +1 -1
- data/docs/TimeZone.md +1 -1
- data/docs/TimerAmendment.md +1 -1
- data/docs/TokenizationApi.md +20 -20
- data/docs/TokenizationPreAuthPagedMetadata.md +1 -1
- data/docs/TrustCommerceTokenPagedMetadata.md +1 -1
- data/docs/UnitDiscount.md +1 -1
- data/docs/UnitOfMeasure.md +1 -1
- data/docs/UnitOfMeasureCouponModifier.md +1 -1
- data/docs/UnitOfMeasurePagedMetadata.md +1 -1
- data/docs/UnitofmeasureApi.md +11 -11
- data/docs/UpdateAddressRequest.md +1 -1
- data/docs/UpdateComponentValueAmendment.md +1 -1
- data/docs/UpdatePricingComponentValueChangeResult.md +1 -1
- data/docs/UpdatePricingComponentValueRequest.md +1 -1
- data/docs/UpdatePricingComponentValueResponse.md +1 -1
- data/docs/UpdatePricingComponentValueResponsePagedMetadata.md +1 -1
- data/docs/UpdateProfileRequest.md +1 -1
- data/docs/UpdateRoleRequest.md +1 -1
- data/docs/UpdateSubscriptionRequest.md +1 -1
- data/docs/Usage.md +1 -1
- data/docs/UsageApi.md +13 -13
- data/docs/UsagePagedMetadata.md +1 -1
- data/docs/UsagePeriodPagedMetadata.md +1 -1
- data/docs/UsageRoundingStrategyPagedMetadata.md +1 -1
- data/docs/UsageSession.md +1 -1
- data/docs/UsageSessionPagedMetadata.md +1 -1
- data/docs/UsageperiodsApi.md +7 -7
- data/docs/UsageroundingstrategiesApi.md +11 -11
- data/docs/UsagesessionsApi.md +11 -11
- data/docs/User.md +1 -1
- data/docs/UserCreationRequest.md +1 -1
- data/docs/UserCreationResponsePagedMetadata.md +1 -1
- data/docs/UserPagedMetadata.md +1 -1
- data/docs/Username.md +1 -1
- data/docs/UsernamePagedMetadata.md +1 -1
- data/docs/UsernamesApi.md +4 -4
- data/docs/UsersApi.md +28 -28
- data/docs/VaultedgatewaysApi.md +36 -36
- data/docs/WebhookPagedMetadata.md +1 -1
- data/docs/WebhooksApi.md +18 -18
- data/lib/bf_ruby2/api/accounts_api.rb +1 -1
- data/lib/bf_ruby2/api/addresses_api.rb +1 -1
- data/lib/bf_ruby2/api/amendments_api.rb +1 -1
- data/lib/bf_ruby2/api/analytics_api.rb +1 -1
- data/lib/bf_ruby2/api/auditlogs_api.rb +1 -1
- data/lib/bf_ruby2/api/charges_api.rb +1 -1
- data/lib/bf_ruby2/api/clients_api.rb +1 -1
- data/lib/bf_ruby2/api/configurations_api.rb +1 -1
- data/lib/bf_ruby2/api/couponbook_api.rb +1 -1
- data/lib/bf_ruby2/api/couponbookdefinition_api.rb +1 -1
- data/lib/bf_ruby2/api/coupondefinition_api.rb +1 -1
- data/lib/bf_ruby2/api/couponinstance_api.rb +1 -1
- data/lib/bf_ruby2/api/couponmodifier_api.rb +1 -1
- data/lib/bf_ruby2/api/couponrule_api.rb +1 -1
- data/lib/bf_ruby2/api/coupons_api.rb +1 -1
- data/lib/bf_ruby2/api/creditnotes_api.rb +1 -1
- data/lib/bf_ruby2/api/cybersourcetokens_api.rb +1 -1
- data/lib/bf_ruby2/api/dunninglines_api.rb +1 -1
- data/lib/bf_ruby2/api/emailproviders_api.rb +1 -1
- data/lib/bf_ruby2/api/emails_api.rb +1 -1
- data/lib/bf_ruby2/api/emailsubscriptions_api.rb +1 -1
- data/lib/bf_ruby2/api/fixedtermdefinitions_api.rb +1 -1
- data/lib/bf_ruby2/api/fixedterms_api.rb +1 -1
- data/lib/bf_ruby2/api/invoices_api.rb +1 -1
- data/lib/bf_ruby2/api/metadata_api.rb +1 -1
- data/lib/bf_ruby2/api/notifications_api.rb +1 -1
- data/lib/bf_ruby2/api/organizations_api.rb +1 -1
- data/lib/bf_ruby2/api/passwords_api.rb +1 -1
- data/lib/bf_ruby2/api/paymentmethods_api.rb +1 -1
- data/lib/bf_ruby2/api/paymentmethodsubscriptionlinks_api.rb +1 -1
- data/lib/bf_ruby2/api/payments_api.rb +1 -1
- data/lib/bf_ruby2/api/periods_api.rb +1 -1
- data/lib/bf_ruby2/api/permissions_api.rb +1 -1
- data/lib/bf_ruby2/api/pricingcalculator_api.rb +1 -1
- data/lib/bf_ruby2/api/pricingcomponents_api.rb +1 -1
- data/lib/bf_ruby2/api/pricingcomponenttiers_api.rb +1 -1
- data/lib/bf_ruby2/api/pricingcomponentvaluechanges_api.rb +1 -1
- data/lib/bf_ruby2/api/pricingcomponentvalues_api.rb +1 -1
- data/lib/bf_ruby2/api/productrateplans_api.rb +1 -1
- data/lib/bf_ruby2/api/products_api.rb +1 -1
- data/lib/bf_ruby2/api/profiles_api.rb +1 -1
- data/lib/bf_ruby2/api/quotes_api.rb +1 -1
- data/lib/bf_ruby2/api/receipts_api.rb +1 -1
- data/lib/bf_ruby2/api/refunds_api.rb +1 -1
- data/lib/bf_ruby2/api/roles_api.rb +1 -1
- data/lib/bf_ruby2/api/search_api.rb +1 -1
- data/lib/bf_ruby2/api/subscriptions_api.rb +1 -1
- data/lib/bf_ruby2/api/synch_app_configs_api.rb +1 -1
- data/lib/bf_ruby2/api/synch_configs_api.rb +1 -1
- data/lib/bf_ruby2/api/synch_jobs_api.rb +1 -1
- data/lib/bf_ruby2/api/taxationlinks_api.rb +1 -1
- data/lib/bf_ruby2/api/taxationstrategies_api.rb +1 -1
- data/lib/bf_ruby2/api/time_api.rb +1 -1
- data/lib/bf_ruby2/api/tokenization_api.rb +5 -5
- data/lib/bf_ruby2/api/unitofmeasure_api.rb +1 -1
- data/lib/bf_ruby2/api/usage_api.rb +1 -1
- data/lib/bf_ruby2/api/usageperiods_api.rb +1 -1
- data/lib/bf_ruby2/api/usageroundingstrategies_api.rb +1 -1
- data/lib/bf_ruby2/api/usagesessions_api.rb +1 -1
- data/lib/bf_ruby2/api/usernames_api.rb +1 -1
- data/lib/bf_ruby2/api/users_api.rb +1 -1
- data/lib/bf_ruby2/api/vaultedgateways_api.rb +1 -1
- data/lib/bf_ruby2/api/webhooks_api.rb +1 -1
- data/lib/bf_ruby2/api_client.rb +2 -2
- data/lib/bf_ruby2/api_error.rb +1 -1
- data/lib/bf_ruby2/configuration.rb +1 -1
- data/lib/bf_ruby2/models/account.rb +2 -2
- data/lib/bf_ruby2/models/account_ltv_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/account_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/account_payments_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/add_charge_request.rb +2 -2
- data/lib/bf_ruby2/models/add_charge_to_account_response.rb +2 -2
- data/lib/bf_ruby2/models/add_charge_to_account_response_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/add_charges_to_account_api_request.rb +2 -2
- data/lib/bf_ruby2/models/add_coupon_code_request.rb +2 -2
- data/lib/bf_ruby2/models/add_payment_method_request.rb +2 -2
- data/lib/bf_ruby2/models/add_taxation_strategy_request.rb +2 -2
- data/lib/bf_ruby2/models/address.rb +2 -2
- data/lib/bf_ruby2/models/address_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/aggregating_component.rb +2 -2
- data/lib/bf_ruby2/models/amendment.rb +2 -2
- data/lib/bf_ruby2/models/amendment_discard_amendment.rb +2 -2
- data/lib/bf_ruby2/models/amendment_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/amendment_price_n_time_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/api_configuration_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/api_quote.rb +2 -2
- data/lib/bf_ruby2/models/api_quote_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/api_quote_response_quantity.rb +2 -2
- data/lib/bf_ruby2/models/audit_entry.rb +2 -2
- data/lib/bf_ruby2/models/audit_entry_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/auth_capture_request.rb +2 -2
- data/lib/bf_ruby2/models/authorize_net_token_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/bank_account_verification_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/batch_update_pricing_component_values_request.rb +2 -2
- data/lib/bf_ruby2/models/bf_error.rb +2 -2
- data/lib/bf_ruby2/models/bf_permission.rb +2 -2
- data/lib/bf_ruby2/models/bf_permission_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/billforward_managed_payments_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/billing_entity_base.rb +2 -2
- data/lib/bf_ruby2/models/braintree_auth_capture_request.rb +2 -2
- data/lib/bf_ruby2/models/braintree_capture_request.rb +2 -2
- data/lib/bf_ruby2/models/braintree_token_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/cancel_subscription_request.rb +2 -2
- data/lib/bf_ruby2/models/cancellation_amendment.rb +2 -2
- data/lib/bf_ruby2/models/cass_churn_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/cass_payment_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/cass_upgrade_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/client.rb +2 -2
- data/lib/bf_ruby2/models/client_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/component_change.rb +2 -2
- data/lib/bf_ruby2/models/component_cost.rb +2 -2
- data/lib/bf_ruby2/models/compound_usage.rb +2 -2
- data/lib/bf_ruby2/models/compound_usage_session.rb +2 -2
- data/lib/bf_ruby2/models/coupon.rb +2 -2
- data/lib/bf_ruby2/models/coupon_book.rb +2 -2
- data/lib/bf_ruby2/models/coupon_book_definition.rb +2 -2
- data/lib/bf_ruby2/models/coupon_book_definition_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_book_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_definition.rb +2 -2
- data/lib/bf_ruby2/models/coupon_definition_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_discount.rb +2 -2
- data/lib/bf_ruby2/models/coupon_discount_estimate.rb +2 -2
- data/lib/bf_ruby2/models/coupon_instance.rb +2 -2
- data/lib/bf_ruby2/models/coupon_instance_existing_value.rb +2 -2
- data/lib/bf_ruby2/models/coupon_instance_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_modifier_base.rb +2 -2
- data/lib/bf_ruby2/models/coupon_modifier_base_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_rule.rb +2 -2
- data/lib/bf_ruby2/models/coupon_rule_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_unique_codes_request.rb +2 -2
- data/lib/bf_ruby2/models/coupon_unique_codes_response.rb +2 -2
- data/lib/bf_ruby2/models/coupon_unique_codes_response_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/coupon_wrapper_response.rb +2 -2
- data/lib/bf_ruby2/models/create_account_profile_request.rb +2 -2
- data/lib/bf_ruby2/models/create_account_request.rb +2 -2
- data/lib/bf_ruby2/models/create_address_request.rb +2 -2
- data/lib/bf_ruby2/models/create_aggregating_component_request.rb +2 -2
- data/lib/bf_ruby2/models/create_aggregating_subscription_request.rb +2 -2
- data/lib/bf_ruby2/models/create_profile_address_request.rb +2 -2
- data/lib/bf_ruby2/models/create_subscription_batch_request.rb +2 -2
- data/lib/bf_ruby2/models/create_subscription_charge_amendment.rb +2 -2
- data/lib/bf_ruby2/models/create_subscription_request.rb +2 -2
- data/lib/bf_ruby2/models/credit_account_request.rb +2 -2
- data/lib/bf_ruby2/models/credit_note.rb +2 -2
- data/lib/bf_ruby2/models/credit_note_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/credit_subscription_request.rb +2 -2
- data/lib/bf_ruby2/models/cybersource_token_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/data_synchronisation_app_configuration_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/data_synchronisation_configuration.rb +2 -2
- data/lib/bf_ruby2/models/data_synchronisation_configuration_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/data_synchronization_job_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/debts_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/dunning_line.rb +2 -2
- data/lib/bf_ruby2/models/dunning_line_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/dynamic_metadata.rb +2 -2
- data/lib/bf_ruby2/models/email.rb +2 -2
- data/lib/bf_ruby2/models/email_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/email_provider.rb +2 -2
- data/lib/bf_ruby2/models/email_provider_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/email_subscription.rb +2 -2
- data/lib/bf_ruby2/models/email_subscription_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/end_trial_amendment.rb +2 -2
- data/lib/bf_ruby2/models/event.rb +2 -2
- data/lib/bf_ruby2/models/event_data.rb +2 -2
- data/lib/bf_ruby2/models/file_sham.rb +2 -2
- data/lib/bf_ruby2/models/fixed_term.rb +2 -2
- data/lib/bf_ruby2/models/fixed_term_definition_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/fixed_term_expiry_amendment.rb +2 -2
- data/lib/bf_ruby2/models/fixed_term_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/flat_pricing_component.rb +2 -2
- data/lib/bf_ruby2/models/import_invoice_line.rb +2 -2
- data/lib/bf_ruby2/models/insertable_billing_entity.rb +2 -2
- data/lib/bf_ruby2/models/invoice.rb +2 -2
- data/lib/bf_ruby2/models/invoice_charge_request.rb +2 -2
- data/lib/bf_ruby2/models/invoice_line.rb +2 -2
- data/lib/bf_ruby2/models/invoice_line_payment.rb +2 -2
- data/lib/bf_ruby2/models/invoice_line_payment_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/invoice_next_execution_attempt_amendment.rb +2 -2
- data/lib/bf_ruby2/models/invoice_outstanding_charges_amendment.rb +2 -2
- data/lib/bf_ruby2/models/invoice_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/invoice_payment.rb +2 -2
- data/lib/bf_ruby2/models/invoice_recalculation_amendment.rb +2 -2
- data/lib/bf_ruby2/models/invoice_recalculation_request.rb +2 -2
- data/lib/bf_ruby2/models/issue_invoice_amendment.rb +2 -2
- data/lib/bf_ruby2/models/metadata_key_values_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/migration_request.rb +2 -2
- data/lib/bf_ruby2/models/model_alias.rb +2 -2
- data/lib/bf_ruby2/models/mutable_billing_entity.rb +2 -2
- data/lib/bf_ruby2/models/nested_charge_request.rb +2 -2
- data/lib/bf_ruby2/models/notification.rb +2 -2
- data/lib/bf_ruby2/models/notification_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/organization.rb +2 -2
- data/lib/bf_ruby2/models/organization_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/password.rb +2 -2
- data/lib/bf_ruby2/models/password_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/password_reset_request.rb +2 -2
- data/lib/bf_ruby2/models/pause_request.rb +2 -2
- data/lib/bf_ruby2/models/payment.rb +2 -2
- data/lib/bf_ruby2/models/payment_method.rb +2 -2
- data/lib/bf_ruby2/models/payment_method_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/payment_method_subscription_link.rb +2 -2
- data/lib/bf_ruby2/models/payment_method_subscription_link_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/payment_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/payment_retry_request.rb +2 -2
- data/lib/bf_ruby2/models/pending_component_value_change.rb +2 -2
- data/lib/bf_ruby2/models/period.rb +2 -2
- data/lib/bf_ruby2/models/period_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/permission_action_entity_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/permission_resource_entity_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/price_calculation_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_coupon_modifier.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_migration_value.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_quantity_request.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_tier.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_tier_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_value.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_value_change_amendment.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_value_change_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_value_migration_amendment_mapping.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_value_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_value_request.rb +2 -2
- data/lib/bf_ruby2/models/pricing_component_value_response_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/product.rb +3 -3
- data/lib/bf_ruby2/models/product_coupon_modifier.rb +2 -2
- data/lib/bf_ruby2/models/product_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/product_payments_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/product_rate_plan.rb +3 -3
- data/lib/bf_ruby2/models/product_rate_plan_migration_amendment.rb +2 -2
- data/lib/bf_ruby2/models/product_rate_plan_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/product_rate_plan_payments_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/profile.rb +2 -2
- data/lib/bf_ruby2/models/profile_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/quote_request.rb +2 -2
- data/lib/bf_ruby2/models/quote_request_value.rb +2 -2
- data/lib/bf_ruby2/models/recalculate_charge_batch_request.rb +2 -2
- data/lib/bf_ruby2/models/recalculate_charge_batch_response.rb +2 -2
- data/lib/bf_ruby2/models/recalculate_charge_batch_response_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/recalculate_charge_request.rb +2 -2
- data/lib/bf_ruby2/models/receipt.rb +2 -2
- data/lib/bf_ruby2/models/receipt_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/refund.rb +2 -2
- data/lib/bf_ruby2/models/refund_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/resume_request.rb +2 -2
- data/lib/bf_ruby2/models/resume_subscription_amendment.rb +2 -2
- data/lib/bf_ruby2/models/revenue_attribution.rb +2 -2
- data/lib/bf_ruby2/models/revenue_attribution_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/revive_subscription_request.rb +2 -2
- data/lib/bf_ruby2/models/role.rb +2 -2
- data/lib/bf_ruby2/models/role_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/rule_satisfaction.rb +2 -2
- data/lib/bf_ruby2/models/search_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/service_end_amendment.rb +2 -2
- data/lib/bf_ruby2/models/single_recalculate_charge_request.rb +2 -2
- data/lib/bf_ruby2/models/stripe_ach_token_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/stripe_auth_capture_request.rb +2 -2
- data/lib/bf_ruby2/models/stripe_object.rb +2 -2
- data/lib/bf_ruby2/models/stripe_token_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/subscription.rb +2 -2
- data/lib/bf_ruby2/models/subscription_cancellation_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/subscription_charge.rb +2 -2
- data/lib/bf_ruby2/models/subscription_charge_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/subscription_ltv_result_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/subscription_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/swagger_type_list.rb +2 -2
- data/lib/bf_ruby2/models/swagger_type_list_inv.rb +2 -2
- data/lib/bf_ruby2/models/swagger_type_list_subs.rb +2 -2
- data/lib/bf_ruby2/models/taxation_link_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/taxation_strategy_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/tiered_pricing_component.rb +2 -2
- data/lib/bf_ruby2/models/tiered_volume_pricing_component.rb +2 -2
- data/lib/bf_ruby2/models/time_request.rb +2 -2
- data/lib/bf_ruby2/models/time_response.rb +2 -2
- data/lib/bf_ruby2/models/time_response_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/time_zone.rb +2 -2
- data/lib/bf_ruby2/models/timer_amendment.rb +2 -2
- data/lib/bf_ruby2/models/tokenization_pre_auth_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/trust_commerce_token_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/unit_discount.rb +2 -2
- data/lib/bf_ruby2/models/unit_of_measure.rb +2 -2
- data/lib/bf_ruby2/models/unit_of_measure_coupon_modifier.rb +2 -2
- data/lib/bf_ruby2/models/unit_of_measure_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/update_address_request.rb +2 -2
- data/lib/bf_ruby2/models/update_component_value_amendment.rb +2 -2
- data/lib/bf_ruby2/models/update_pricing_component_value_change_result.rb +2 -2
- data/lib/bf_ruby2/models/update_pricing_component_value_request.rb +2 -2
- data/lib/bf_ruby2/models/update_pricing_component_value_response.rb +2 -2
- data/lib/bf_ruby2/models/update_pricing_component_value_response_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/update_profile_request.rb +2 -2
- data/lib/bf_ruby2/models/update_role_request.rb +2 -2
- data/lib/bf_ruby2/models/update_subscription_request.rb +2 -2
- data/lib/bf_ruby2/models/usage.rb +2 -2
- data/lib/bf_ruby2/models/usage_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/usage_period_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/usage_rounding_strategy_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/usage_session.rb +2 -2
- data/lib/bf_ruby2/models/usage_session_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/user.rb +2 -2
- data/lib/bf_ruby2/models/user_creation_request.rb +2 -2
- data/lib/bf_ruby2/models/user_creation_response_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/user_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/username.rb +2 -2
- data/lib/bf_ruby2/models/username_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/models/webhook_paged_metadata.rb +2 -2
- data/lib/bf_ruby2/version.rb +2 -2
- data/lib/bf_ruby2.rb +2 -2
- data/spec/api/accounts_api_spec.rb +3 -3
- data/spec/api/addresses_api_spec.rb +3 -3
- data/spec/api/amendments_api_spec.rb +3 -3
- data/spec/api/analytics_api_spec.rb +3 -3
- data/spec/api/auditlogs_api_spec.rb +3 -3
- data/spec/api/charges_api_spec.rb +3 -3
- data/spec/api/clients_api_spec.rb +3 -3
- data/spec/api/configurations_api_spec.rb +3 -3
- data/spec/api/couponbook_api_spec.rb +3 -3
- data/spec/api/couponbookdefinition_api_spec.rb +3 -3
- data/spec/api/coupondefinition_api_spec.rb +3 -3
- data/spec/api/couponinstance_api_spec.rb +3 -3
- data/spec/api/couponmodifier_api_spec.rb +3 -3
- data/spec/api/couponrule_api_spec.rb +3 -3
- data/spec/api/coupons_api_spec.rb +3 -3
- data/spec/api/creditnotes_api_spec.rb +3 -3
- data/spec/api/cybersourcetokens_api_spec.rb +3 -3
- data/spec/api/dunninglines_api_spec.rb +3 -3
- data/spec/api/emailproviders_api_spec.rb +3 -3
- data/spec/api/emails_api_spec.rb +3 -3
- data/spec/api/emailsubscriptions_api_spec.rb +3 -3
- data/spec/api/fixedtermdefinitions_api_spec.rb +3 -3
- data/spec/api/fixedterms_api_spec.rb +3 -3
- data/spec/api/invoices_api_spec.rb +3 -3
- data/spec/api/metadata_api_spec.rb +3 -3
- data/spec/api/notifications_api_spec.rb +3 -3
- data/spec/api/organizations_api_spec.rb +3 -3
- data/spec/api/passwords_api_spec.rb +3 -3
- data/spec/api/paymentmethods_api_spec.rb +3 -3
- data/spec/api/paymentmethodsubscriptionlinks_api_spec.rb +3 -3
- data/spec/api/payments_api_spec.rb +3 -3
- data/spec/api/periods_api_spec.rb +3 -3
- data/spec/api/permissions_api_spec.rb +3 -3
- data/spec/api/pricingcalculator_api_spec.rb +3 -3
- data/spec/api/pricingcomponents_api_spec.rb +3 -3
- data/spec/api/pricingcomponenttiers_api_spec.rb +3 -3
- data/spec/api/pricingcomponentvaluechanges_api_spec.rb +3 -3
- data/spec/api/pricingcomponentvalues_api_spec.rb +3 -3
- data/spec/api/productrateplans_api_spec.rb +3 -3
- data/spec/api/products_api_spec.rb +3 -3
- data/spec/api/profiles_api_spec.rb +3 -3
- data/spec/api/quotes_api_spec.rb +3 -3
- data/spec/api/receipts_api_spec.rb +3 -3
- data/spec/api/refunds_api_spec.rb +3 -3
- data/spec/api/roles_api_spec.rb +3 -3
- data/spec/api/search_api_spec.rb +3 -3
- data/spec/api/subscriptions_api_spec.rb +3 -3
- data/spec/api/synch_app_configs_api_spec.rb +3 -3
- data/spec/api/synch_configs_api_spec.rb +3 -3
- data/spec/api/synch_jobs_api_spec.rb +3 -3
- data/spec/api/taxationlinks_api_spec.rb +3 -3
- data/spec/api/taxationstrategies_api_spec.rb +3 -3
- data/spec/api/time_api_spec.rb +3 -3
- data/spec/api/tokenization_api_spec.rb +5 -5
- data/spec/api/unitofmeasure_api_spec.rb +3 -3
- data/spec/api/usage_api_spec.rb +3 -3
- data/spec/api/usageperiods_api_spec.rb +3 -3
- data/spec/api/usageroundingstrategies_api_spec.rb +3 -3
- data/spec/api/usagesessions_api_spec.rb +3 -3
- data/spec/api/usernames_api_spec.rb +3 -3
- data/spec/api/users_api_spec.rb +3 -3
- data/spec/api/vaultedgateways_api_spec.rb +3 -3
- data/spec/api/webhooks_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +29 -29
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/account_ltv_result_paged_metadata_spec.rb +3 -3
- data/spec/models/account_paged_metadata_spec.rb +3 -3
- data/spec/models/account_payments_result_paged_metadata_spec.rb +3 -3
- data/spec/models/account_spec.rb +3 -3
- data/spec/models/add_charge_request_spec.rb +3 -3
- data/spec/models/add_charge_to_account_response_paged_metadata_spec.rb +3 -3
- data/spec/models/add_charge_to_account_response_spec.rb +3 -3
- data/spec/models/add_charges_to_account_api_request_spec.rb +3 -3
- data/spec/models/add_coupon_code_request_spec.rb +3 -3
- data/spec/models/add_payment_method_request_spec.rb +3 -3
- data/spec/models/add_taxation_strategy_request_spec.rb +3 -3
- data/spec/models/address_paged_metadata_spec.rb +3 -3
- data/spec/models/address_spec.rb +3 -3
- data/spec/models/aggregating_component_spec.rb +3 -3
- data/spec/models/amendment_discard_amendment_spec.rb +3 -3
- data/spec/models/amendment_paged_metadata_spec.rb +3 -3
- data/spec/models/amendment_price_n_time_paged_metadata_spec.rb +3 -3
- data/spec/models/amendment_spec.rb +3 -3
- data/spec/models/api_configuration_paged_metadata_spec.rb +3 -3
- data/spec/models/api_quote_paged_metadata_spec.rb +3 -3
- data/spec/models/api_quote_response_quantity_spec.rb +3 -3
- data/spec/models/api_quote_spec.rb +3 -3
- data/spec/models/audit_entry_paged_metadata_spec.rb +3 -3
- data/spec/models/audit_entry_spec.rb +3 -3
- data/spec/models/auth_capture_request_spec.rb +3 -3
- data/spec/models/authorize_net_token_paged_metadata_spec.rb +3 -3
- data/spec/models/bank_account_verification_paged_metadata_spec.rb +3 -3
- data/spec/models/batch_update_pricing_component_values_request_spec.rb +3 -3
- data/spec/models/bf_error_spec.rb +3 -3
- data/spec/models/bf_permission_paged_metadata_spec.rb +3 -3
- data/spec/models/bf_permission_spec.rb +3 -3
- data/spec/models/billforward_managed_payments_result_paged_metadata_spec.rb +3 -3
- data/spec/models/billing_entity_base_spec.rb +3 -3
- data/spec/models/braintree_auth_capture_request_spec.rb +3 -3
- data/spec/models/braintree_capture_request_spec.rb +3 -3
- data/spec/models/braintree_token_paged_metadata_spec.rb +3 -3
- data/spec/models/cancel_subscription_request_spec.rb +3 -3
- data/spec/models/cancellation_amendment_spec.rb +3 -3
- data/spec/models/cass_churn_result_paged_metadata_spec.rb +3 -3
- data/spec/models/cass_payment_result_paged_metadata_spec.rb +3 -3
- data/spec/models/cass_upgrade_result_paged_metadata_spec.rb +3 -3
- data/spec/models/client_paged_metadata_spec.rb +3 -3
- data/spec/models/client_spec.rb +3 -3
- data/spec/models/component_change_spec.rb +3 -3
- data/spec/models/component_cost_spec.rb +3 -3
- data/spec/models/compound_usage_session_spec.rb +3 -3
- data/spec/models/compound_usage_spec.rb +3 -3
- data/spec/models/coupon_book_definition_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_book_definition_spec.rb +3 -3
- data/spec/models/coupon_book_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_book_spec.rb +3 -3
- data/spec/models/coupon_definition_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_definition_spec.rb +3 -3
- data/spec/models/coupon_discount_estimate_spec.rb +3 -3
- data/spec/models/coupon_discount_spec.rb +3 -3
- data/spec/models/coupon_instance_existing_value_spec.rb +3 -3
- data/spec/models/coupon_instance_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_instance_spec.rb +3 -3
- data/spec/models/coupon_modifier_base_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_modifier_base_spec.rb +3 -3
- data/spec/models/coupon_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_rule_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_rule_spec.rb +3 -3
- data/spec/models/coupon_spec.rb +3 -3
- data/spec/models/coupon_unique_codes_request_spec.rb +3 -3
- data/spec/models/coupon_unique_codes_response_paged_metadata_spec.rb +3 -3
- data/spec/models/coupon_unique_codes_response_spec.rb +3 -3
- data/spec/models/coupon_wrapper_response_spec.rb +3 -3
- data/spec/models/create_account_profile_request_spec.rb +3 -3
- data/spec/models/create_account_request_spec.rb +3 -3
- data/spec/models/create_address_request_spec.rb +3 -3
- data/spec/models/create_aggregating_component_request_spec.rb +3 -3
- data/spec/models/create_aggregating_subscription_request_spec.rb +3 -3
- data/spec/models/create_profile_address_request_spec.rb +3 -3
- data/spec/models/create_subscription_batch_request_spec.rb +3 -3
- data/spec/models/create_subscription_charge_amendment_spec.rb +3 -3
- data/spec/models/create_subscription_request_spec.rb +3 -3
- data/spec/models/credit_account_request_spec.rb +3 -3
- data/spec/models/credit_note_paged_metadata_spec.rb +3 -3
- data/spec/models/credit_note_spec.rb +3 -3
- data/spec/models/credit_subscription_request_spec.rb +3 -3
- data/spec/models/cybersource_token_paged_metadata_spec.rb +3 -3
- data/spec/models/data_synchronisation_app_configuration_paged_metadata_spec.rb +3 -3
- data/spec/models/data_synchronisation_configuration_paged_metadata_spec.rb +3 -3
- data/spec/models/data_synchronisation_configuration_spec.rb +3 -3
- data/spec/models/data_synchronization_job_paged_metadata_spec.rb +3 -3
- data/spec/models/debts_result_paged_metadata_spec.rb +3 -3
- data/spec/models/dunning_line_paged_metadata_spec.rb +3 -3
- data/spec/models/dunning_line_spec.rb +3 -3
- data/spec/models/dynamic_metadata_spec.rb +3 -3
- data/spec/models/email_paged_metadata_spec.rb +3 -3
- data/spec/models/email_provider_paged_metadata_spec.rb +3 -3
- data/spec/models/email_provider_spec.rb +3 -3
- data/spec/models/email_spec.rb +3 -3
- data/spec/models/email_subscription_paged_metadata_spec.rb +3 -3
- data/spec/models/email_subscription_spec.rb +3 -3
- data/spec/models/end_trial_amendment_spec.rb +3 -3
- data/spec/models/event_data_spec.rb +3 -3
- data/spec/models/event_spec.rb +3 -3
- data/spec/models/file_sham_spec.rb +3 -3
- data/spec/models/fixed_term_definition_paged_metadata_spec.rb +3 -3
- data/spec/models/fixed_term_expiry_amendment_spec.rb +3 -3
- data/spec/models/fixed_term_paged_metadata_spec.rb +3 -3
- data/spec/models/fixed_term_spec.rb +3 -3
- data/spec/models/flat_pricing_component_spec.rb +3 -3
- data/spec/models/import_invoice_line_spec.rb +3 -3
- data/spec/models/insertable_billing_entity_spec.rb +3 -3
- data/spec/models/invoice_charge_request_spec.rb +3 -3
- data/spec/models/invoice_line_payment_paged_metadata_spec.rb +3 -3
- data/spec/models/invoice_line_payment_spec.rb +3 -3
- data/spec/models/invoice_line_spec.rb +3 -3
- data/spec/models/invoice_next_execution_attempt_amendment_spec.rb +3 -3
- data/spec/models/invoice_outstanding_charges_amendment_spec.rb +3 -3
- data/spec/models/invoice_paged_metadata_spec.rb +3 -3
- data/spec/models/invoice_payment_spec.rb +3 -3
- data/spec/models/invoice_recalculation_amendment_spec.rb +3 -3
- data/spec/models/invoice_recalculation_request_spec.rb +3 -3
- data/spec/models/invoice_spec.rb +3 -3
- data/spec/models/issue_invoice_amendment_spec.rb +3 -3
- data/spec/models/metadata_key_values_paged_metadata_spec.rb +3 -3
- data/spec/models/migration_request_spec.rb +3 -3
- data/spec/models/model_alias_spec.rb +3 -3
- data/spec/models/mutable_billing_entity_spec.rb +3 -3
- data/spec/models/nested_charge_request_spec.rb +3 -3
- data/spec/models/notification_paged_metadata_spec.rb +3 -3
- data/spec/models/notification_spec.rb +3 -3
- data/spec/models/organization_paged_metadata_spec.rb +3 -3
- data/spec/models/organization_spec.rb +3 -3
- data/spec/models/password_paged_metadata_spec.rb +3 -3
- data/spec/models/password_reset_request_spec.rb +3 -3
- data/spec/models/password_spec.rb +3 -3
- data/spec/models/pause_request_spec.rb +3 -3
- data/spec/models/payment_method_paged_metadata_spec.rb +3 -3
- data/spec/models/payment_method_spec.rb +3 -3
- data/spec/models/payment_method_subscription_link_paged_metadata_spec.rb +3 -3
- data/spec/models/payment_method_subscription_link_spec.rb +3 -3
- data/spec/models/payment_paged_metadata_spec.rb +3 -3
- data/spec/models/payment_retry_request_spec.rb +3 -3
- data/spec/models/payment_spec.rb +3 -3
- data/spec/models/pending_component_value_change_spec.rb +3 -3
- data/spec/models/period_paged_metadata_spec.rb +3 -3
- data/spec/models/period_spec.rb +3 -3
- data/spec/models/permission_action_entity_paged_metadata_spec.rb +3 -3
- data/spec/models/permission_resource_entity_paged_metadata_spec.rb +3 -3
- data/spec/models/price_calculation_paged_metadata_spec.rb +3 -3
- data/spec/models/pricing_component_coupon_modifier_spec.rb +3 -3
- data/spec/models/pricing_component_migration_value_spec.rb +3 -3
- data/spec/models/pricing_component_paged_metadata_spec.rb +3 -3
- data/spec/models/pricing_component_quantity_request_spec.rb +3 -3
- data/spec/models/pricing_component_spec.rb +3 -3
- data/spec/models/pricing_component_tier_paged_metadata_spec.rb +3 -3
- data/spec/models/pricing_component_tier_spec.rb +3 -3
- data/spec/models/pricing_component_value_change_amendment_spec.rb +3 -3
- data/spec/models/pricing_component_value_change_paged_metadata_spec.rb +3 -3
- data/spec/models/pricing_component_value_migration_amendment_mapping_spec.rb +3 -3
- data/spec/models/pricing_component_value_paged_metadata_spec.rb +3 -3
- data/spec/models/pricing_component_value_request_spec.rb +3 -3
- data/spec/models/pricing_component_value_response_paged_metadata_spec.rb +3 -3
- data/spec/models/pricing_component_value_spec.rb +3 -3
- data/spec/models/product_coupon_modifier_spec.rb +3 -3
- data/spec/models/product_paged_metadata_spec.rb +3 -3
- data/spec/models/product_payments_result_paged_metadata_spec.rb +3 -3
- data/spec/models/product_rate_plan_migration_amendment_spec.rb +3 -3
- data/spec/models/product_rate_plan_paged_metadata_spec.rb +3 -3
- data/spec/models/product_rate_plan_payments_result_paged_metadata_spec.rb +3 -3
- data/spec/models/product_rate_plan_spec.rb +3 -3
- data/spec/models/product_spec.rb +3 -3
- data/spec/models/profile_paged_metadata_spec.rb +3 -3
- data/spec/models/profile_spec.rb +3 -3
- data/spec/models/quote_request_spec.rb +3 -3
- data/spec/models/quote_request_value_spec.rb +3 -3
- data/spec/models/recalculate_charge_batch_request_spec.rb +3 -3
- data/spec/models/recalculate_charge_batch_response_paged_metadata_spec.rb +3 -3
- data/spec/models/recalculate_charge_batch_response_spec.rb +3 -3
- data/spec/models/recalculate_charge_request_spec.rb +3 -3
- data/spec/models/receipt_paged_metadata_spec.rb +3 -3
- data/spec/models/receipt_spec.rb +3 -3
- data/spec/models/refund_paged_metadata_spec.rb +3 -3
- data/spec/models/refund_spec.rb +3 -3
- data/spec/models/resume_request_spec.rb +3 -3
- data/spec/models/resume_subscription_amendment_spec.rb +3 -3
- data/spec/models/revenue_attribution_paged_metadata_spec.rb +3 -3
- data/spec/models/revenue_attribution_spec.rb +3 -3
- data/spec/models/revive_subscription_request_spec.rb +3 -3
- data/spec/models/role_paged_metadata_spec.rb +3 -3
- data/spec/models/role_spec.rb +3 -3
- data/spec/models/rule_satisfaction_spec.rb +3 -3
- data/spec/models/search_result_paged_metadata_spec.rb +3 -3
- data/spec/models/service_end_amendment_spec.rb +3 -3
- data/spec/models/single_recalculate_charge_request_spec.rb +3 -3
- data/spec/models/stripe_ach_token_paged_metadata_spec.rb +3 -3
- data/spec/models/stripe_auth_capture_request_spec.rb +3 -3
- data/spec/models/stripe_object_spec.rb +3 -3
- data/spec/models/stripe_token_paged_metadata_spec.rb +3 -3
- data/spec/models/subscription_cancellation_paged_metadata_spec.rb +3 -3
- data/spec/models/subscription_charge_paged_metadata_spec.rb +3 -3
- data/spec/models/subscription_charge_spec.rb +3 -3
- data/spec/models/subscription_ltv_result_paged_metadata_spec.rb +3 -3
- data/spec/models/subscription_paged_metadata_spec.rb +3 -3
- data/spec/models/subscription_spec.rb +3 -3
- data/spec/models/swagger_type_list_inv_spec.rb +3 -3
- data/spec/models/swagger_type_list_spec.rb +3 -3
- data/spec/models/swagger_type_list_subs_spec.rb +3 -3
- data/spec/models/taxation_link_paged_metadata_spec.rb +3 -3
- data/spec/models/taxation_strategy_paged_metadata_spec.rb +3 -3
- data/spec/models/tiered_pricing_component_spec.rb +3 -3
- data/spec/models/tiered_volume_pricing_component_spec.rb +3 -3
- data/spec/models/time_request_spec.rb +3 -3
- data/spec/models/time_response_paged_metadata_spec.rb +3 -3
- data/spec/models/time_response_spec.rb +3 -3
- data/spec/models/time_zone_spec.rb +3 -3
- data/spec/models/timer_amendment_spec.rb +3 -3
- data/spec/models/tokenization_pre_auth_paged_metadata_spec.rb +3 -3
- data/spec/models/trust_commerce_token_paged_metadata_spec.rb +3 -3
- data/spec/models/unit_discount_spec.rb +3 -3
- data/spec/models/unit_of_measure_coupon_modifier_spec.rb +3 -3
- data/spec/models/unit_of_measure_paged_metadata_spec.rb +3 -3
- data/spec/models/unit_of_measure_spec.rb +3 -3
- data/spec/models/update_address_request_spec.rb +3 -3
- data/spec/models/update_component_value_amendment_spec.rb +3 -3
- data/spec/models/update_pricing_component_value_change_result_spec.rb +3 -3
- data/spec/models/update_pricing_component_value_request_spec.rb +3 -3
- data/spec/models/update_pricing_component_value_response_paged_metadata_spec.rb +3 -3
- data/spec/models/update_pricing_component_value_response_spec.rb +3 -3
- data/spec/models/update_profile_request_spec.rb +3 -3
- data/spec/models/update_role_request_spec.rb +3 -3
- data/spec/models/update_subscription_request_spec.rb +3 -3
- data/spec/models/usage_paged_metadata_spec.rb +3 -3
- data/spec/models/usage_period_paged_metadata_spec.rb +3 -3
- data/spec/models/usage_rounding_strategy_paged_metadata_spec.rb +3 -3
- data/spec/models/usage_session_paged_metadata_spec.rb +3 -3
- data/spec/models/usage_session_spec.rb +3 -3
- data/spec/models/usage_spec.rb +3 -3
- data/spec/models/user_creation_request_spec.rb +3 -3
- data/spec/models/user_creation_response_paged_metadata_spec.rb +3 -3
- data/spec/models/user_paged_metadata_spec.rb +3 -3
- data/spec/models/user_spec.rb +3 -3
- data/spec/models/username_paged_metadata_spec.rb +3 -3
- data/spec/models/username_spec.rb +3 -3
- data/spec/models/webhook_paged_metadata_spec.rb +3 -3
- metadata +4 -2
data/docs/InvoicesApi.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Bfwd::InvoicesApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://localhost:8080/RestAPI*
|
|
4
4
|
|
|
@@ -61,18 +61,18 @@ Creates a charge on the specified invoice.
|
|
|
61
61
|
# load the gem
|
|
62
62
|
require 'bf_ruby2'
|
|
63
63
|
|
|
64
|
-
api_instance =
|
|
64
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
65
65
|
|
|
66
66
|
invoice_id = "invoice_id_example" # String | ID of the invoice.
|
|
67
67
|
|
|
68
|
-
charge =
|
|
68
|
+
charge = Bfwd::AddChargeRequest.new # AddChargeRequest | The charge request
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
begin
|
|
72
72
|
#Creates a charge on the specified invoice.
|
|
73
73
|
result = api_instance.add_charge_to_invoice(invoice_id, charge)
|
|
74
74
|
p result
|
|
75
|
-
rescue
|
|
75
|
+
rescue Bfwd::ApiError => e
|
|
76
76
|
puts "Exception when calling InvoicesApi->add_charge_to_invoice: #{e}"
|
|
77
77
|
end
|
|
78
78
|
```
|
|
@@ -111,16 +111,16 @@ Aggregate Invoices into to one parent Invoice
|
|
|
111
111
|
# load the gem
|
|
112
112
|
require 'bf_ruby2'
|
|
113
113
|
|
|
114
|
-
api_instance =
|
|
114
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
115
115
|
|
|
116
|
-
request =
|
|
116
|
+
request = Bfwd::BillingEntityBase.new # BillingEntityBase |
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
begin
|
|
120
120
|
#Aggregate Invoices into to one parent Invoice
|
|
121
121
|
result = api_instance.aggregate_invoices(request)
|
|
122
122
|
p result
|
|
123
|
-
rescue
|
|
123
|
+
rescue Bfwd::ApiError => e
|
|
124
124
|
puts "Exception when calling InvoicesApi->aggregate_invoices: #{e}"
|
|
125
125
|
end
|
|
126
126
|
```
|
|
@@ -158,18 +158,18 @@ Attempt payment for the outstanding value of an invoice
|
|
|
158
158
|
# load the gem
|
|
159
159
|
require 'bf_ruby2'
|
|
160
160
|
|
|
161
|
-
api_instance =
|
|
161
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
162
162
|
|
|
163
163
|
invoice_id = "invoice_id_example" # String |
|
|
164
164
|
|
|
165
|
-
request =
|
|
165
|
+
request = Bfwd::BillingEntityBase.new # BillingEntityBase |
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
begin
|
|
169
169
|
#Attempt payment for the outstanding value of an invoice
|
|
170
170
|
result = api_instance.execute_invoice(invoice_id, request)
|
|
171
171
|
p result
|
|
172
|
-
rescue
|
|
172
|
+
rescue Bfwd::ApiError => e
|
|
173
173
|
puts "Exception when calling InvoicesApi->execute_invoice: #{e}"
|
|
174
174
|
end
|
|
175
175
|
```
|
|
@@ -208,7 +208,7 @@ Generates InvoiceLinePayments for all existing InvoicePayments.
|
|
|
208
208
|
# load the gem
|
|
209
209
|
require 'bf_ruby2'
|
|
210
210
|
|
|
211
|
-
api_instance =
|
|
211
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
212
212
|
|
|
213
213
|
opts = {
|
|
214
214
|
organizations: ["organizations_example"] # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -218,7 +218,7 @@ begin
|
|
|
218
218
|
#Generates InvoiceLinePayments for all existing InvoicePayments.
|
|
219
219
|
result = api_instance.generate_line_payments_for_all_invoices(opts)
|
|
220
220
|
p result
|
|
221
|
-
rescue
|
|
221
|
+
rescue Bfwd::ApiError => e
|
|
222
222
|
puts "Exception when calling InvoicesApi->generate_line_payments_for_all_invoices: #{e}"
|
|
223
223
|
end
|
|
224
224
|
```
|
|
@@ -256,7 +256,7 @@ Retrieves a collection of all invoices. By default 10 values are returned. Recor
|
|
|
256
256
|
# load the gem
|
|
257
257
|
require 'bf_ruby2'
|
|
258
258
|
|
|
259
|
-
api_instance =
|
|
259
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
260
260
|
|
|
261
261
|
opts = {
|
|
262
262
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -273,7 +273,7 @@ begin
|
|
|
273
273
|
#Retrieves a collection of all invoices. By default 10 values are returned. Records are returned in natural order.
|
|
274
274
|
result = api_instance.get_all_invoices(opts)
|
|
275
275
|
p result
|
|
276
|
-
rescue
|
|
276
|
+
rescue Bfwd::ApiError => e
|
|
277
277
|
puts "Exception when calling InvoicesApi->get_all_invoices: #{e}"
|
|
278
278
|
end
|
|
279
279
|
```
|
|
@@ -318,7 +318,7 @@ Retrieves a collection of all invoices. By default 10 values are returned. Recor
|
|
|
318
318
|
# load the gem
|
|
319
319
|
require 'bf_ruby2'
|
|
320
320
|
|
|
321
|
-
api_instance =
|
|
321
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
322
322
|
|
|
323
323
|
opts = {
|
|
324
324
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -333,7 +333,7 @@ begin
|
|
|
333
333
|
#Retrieves a collection of all invoices. By default 10 values are returned. Records are returned in natural order.
|
|
334
334
|
result = api_instance.get_all_invoices_as_csv(opts)
|
|
335
335
|
p result
|
|
336
|
-
rescue
|
|
336
|
+
rescue Bfwd::ApiError => e
|
|
337
337
|
puts "Exception when calling InvoicesApi->get_all_invoices_as_csv: #{e}"
|
|
338
338
|
end
|
|
339
339
|
```
|
|
@@ -376,7 +376,7 @@ Retrieves (as CSV) all attributions of Invoice costs to Invoice lines, bucketed.
|
|
|
376
376
|
# load the gem
|
|
377
377
|
require 'bf_ruby2'
|
|
378
378
|
|
|
379
|
-
api_instance =
|
|
379
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
380
380
|
|
|
381
381
|
opts = {
|
|
382
382
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -388,7 +388,7 @@ begin
|
|
|
388
388
|
#Retrieves (as CSV) all attributions of Invoice costs to Invoice lines, bucketed.
|
|
389
389
|
result = api_instance.get_bucketed_revenue_attributions_as_csv(opts)
|
|
390
390
|
p result
|
|
391
|
-
rescue
|
|
391
|
+
rescue Bfwd::ApiError => e
|
|
392
392
|
puts "Exception when calling InvoicesApi->get_bucketed_revenue_attributions_as_csv: #{e}"
|
|
393
393
|
end
|
|
394
394
|
```
|
|
@@ -428,7 +428,7 @@ Returns all charges for the specified invoice. By default 10 values are returned
|
|
|
428
428
|
# load the gem
|
|
429
429
|
require 'bf_ruby2'
|
|
430
430
|
|
|
431
|
-
api_instance =
|
|
431
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
432
432
|
|
|
433
433
|
invoice_id = "invoice_id_example" # String |
|
|
434
434
|
|
|
@@ -447,7 +447,7 @@ begin
|
|
|
447
447
|
#Returns all charges for the specified invoice. By default 10 values are returned. Records are returned in natural order.
|
|
448
448
|
result = api_instance.get_charges_on_invoice(invoice_id, opts)
|
|
449
449
|
p result
|
|
450
|
-
rescue
|
|
450
|
+
rescue Bfwd::ApiError => e
|
|
451
451
|
puts "Exception when calling InvoicesApi->get_charges_on_invoice: #{e}"
|
|
452
452
|
end
|
|
453
453
|
```
|
|
@@ -493,7 +493,7 @@ Retrieves credit note-paid from InvoicePayments upon line items, in CSV format.
|
|
|
493
493
|
# load the gem
|
|
494
494
|
require 'bf_ruby2'
|
|
495
495
|
|
|
496
|
-
api_instance =
|
|
496
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
497
497
|
|
|
498
498
|
opts = {
|
|
499
499
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -505,7 +505,7 @@ begin
|
|
|
505
505
|
#Retrieves credit note-paid from InvoicePayments upon line items, in CSV format.
|
|
506
506
|
result = api_instance.get_credit_invoice_line_payments_from_invoices_as_csv(opts)
|
|
507
507
|
p result
|
|
508
|
-
rescue
|
|
508
|
+
rescue Bfwd::ApiError => e
|
|
509
509
|
puts "Exception when calling InvoicesApi->get_credit_invoice_line_payments_from_invoices_as_csv: #{e}"
|
|
510
510
|
end
|
|
511
511
|
```
|
|
@@ -545,7 +545,7 @@ Retrieves credit note-paid from InvoicePayments upon line items, in CSV format.
|
|
|
545
545
|
# load the gem
|
|
546
546
|
require 'bf_ruby2'
|
|
547
547
|
|
|
548
|
-
api_instance =
|
|
548
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
549
549
|
|
|
550
550
|
opts = {
|
|
551
551
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -557,7 +557,7 @@ begin
|
|
|
557
557
|
#Retrieves credit note-paid from InvoicePayments upon line items, in CSV format.
|
|
558
558
|
result = api_instance.get_credit_invoice_line_payments_from_invoices_as_csv_by_payment_received(opts)
|
|
559
559
|
p result
|
|
560
|
-
rescue
|
|
560
|
+
rescue Bfwd::ApiError => e
|
|
561
561
|
puts "Exception when calling InvoicesApi->get_credit_invoice_line_payments_from_invoices_as_csv_by_payment_received: #{e}"
|
|
562
562
|
end
|
|
563
563
|
```
|
|
@@ -597,7 +597,7 @@ Retrieves received revenue from InvoicePayments upon line items, in CSV format.
|
|
|
597
597
|
# load the gem
|
|
598
598
|
require 'bf_ruby2'
|
|
599
599
|
|
|
600
|
-
api_instance =
|
|
600
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
601
601
|
|
|
602
602
|
opts = {
|
|
603
603
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -609,7 +609,7 @@ begin
|
|
|
609
609
|
#Retrieves received revenue from InvoicePayments upon line items, in CSV format.
|
|
610
610
|
result = api_instance.get_debit_invoice_line_payments_from_invoices_as_csv(opts)
|
|
611
611
|
p result
|
|
612
|
-
rescue
|
|
612
|
+
rescue Bfwd::ApiError => e
|
|
613
613
|
puts "Exception when calling InvoicesApi->get_debit_invoice_line_payments_from_invoices_as_csv: #{e}"
|
|
614
614
|
end
|
|
615
615
|
```
|
|
@@ -649,7 +649,7 @@ Retrieves received revenue from InvoicePayments upon line items, in CSV format.
|
|
|
649
649
|
# load the gem
|
|
650
650
|
require 'bf_ruby2'
|
|
651
651
|
|
|
652
|
-
api_instance =
|
|
652
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
653
653
|
|
|
654
654
|
opts = {
|
|
655
655
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -661,7 +661,7 @@ begin
|
|
|
661
661
|
#Retrieves received revenue from InvoicePayments upon line items, in CSV format.
|
|
662
662
|
result = api_instance.get_debit_invoice_line_payments_from_invoices_as_csv_by_payment_received(opts)
|
|
663
663
|
p result
|
|
664
|
-
rescue
|
|
664
|
+
rescue Bfwd::ApiError => e
|
|
665
665
|
puts "Exception when calling InvoicesApi->get_debit_invoice_line_payments_from_invoices_as_csv_by_payment_received: #{e}"
|
|
666
666
|
end
|
|
667
667
|
```
|
|
@@ -701,7 +701,7 @@ Retrieves a single invoice specified by the ID parameter.
|
|
|
701
701
|
# load the gem
|
|
702
702
|
require 'bf_ruby2'
|
|
703
703
|
|
|
704
|
-
api_instance =
|
|
704
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
705
705
|
|
|
706
706
|
id = "id_example" # String | The ID of the invoice.
|
|
707
707
|
|
|
@@ -722,7 +722,7 @@ begin
|
|
|
722
722
|
#Retrieves a single invoice specified by the ID parameter.
|
|
723
723
|
result = api_instance.get_invoice_as_html(id, opts)
|
|
724
724
|
p result
|
|
725
|
-
rescue
|
|
725
|
+
rescue Bfwd::ApiError => e
|
|
726
726
|
puts "Exception when calling InvoicesApi->get_invoice_as_html: #{e}"
|
|
727
727
|
end
|
|
728
728
|
```
|
|
@@ -770,7 +770,7 @@ Retrieves a single invoice specified by the ID parameter.
|
|
|
770
770
|
# load the gem
|
|
771
771
|
require 'bf_ruby2'
|
|
772
772
|
|
|
773
|
-
api_instance =
|
|
773
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
774
774
|
|
|
775
775
|
id = "id_example" # String | The ID of the invoice.
|
|
776
776
|
|
|
@@ -793,7 +793,7 @@ begin
|
|
|
793
793
|
#Retrieves a single invoice specified by the ID parameter.
|
|
794
794
|
result = api_instance.get_invoice_as_pdf(id, opts)
|
|
795
795
|
p result
|
|
796
|
-
rescue
|
|
796
|
+
rescue Bfwd::ApiError => e
|
|
797
797
|
puts "Exception when calling InvoicesApi->get_invoice_as_pdf: #{e}"
|
|
798
798
|
end
|
|
799
799
|
```
|
|
@@ -843,7 +843,7 @@ Retrieves a single invoice specified by the invoice-ID parameter.
|
|
|
843
843
|
# load the gem
|
|
844
844
|
require 'bf_ruby2'
|
|
845
845
|
|
|
846
|
-
api_instance =
|
|
846
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
847
847
|
|
|
848
848
|
invoice_id = "invoice_id_example" # String | The ID of the invoice.
|
|
849
849
|
|
|
@@ -861,7 +861,7 @@ begin
|
|
|
861
861
|
#Retrieves a single invoice specified by the invoice-ID parameter.
|
|
862
862
|
result = api_instance.get_invoice_by_id(invoice_id, opts)
|
|
863
863
|
p result
|
|
864
|
-
rescue
|
|
864
|
+
rescue Bfwd::ApiError => e
|
|
865
865
|
puts "Exception when calling InvoicesApi->get_invoice_by_id: #{e}"
|
|
866
866
|
end
|
|
867
867
|
```
|
|
@@ -906,7 +906,7 @@ Retrieves a single invoice specified by the ID parameter.
|
|
|
906
906
|
# load the gem
|
|
907
907
|
require 'bf_ruby2'
|
|
908
908
|
|
|
909
|
-
api_instance =
|
|
909
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
910
910
|
|
|
911
911
|
id = "id_example" # String | The ID of the invoice.
|
|
912
912
|
|
|
@@ -918,7 +918,7 @@ begin
|
|
|
918
918
|
#Retrieves a single invoice specified by the ID parameter.
|
|
919
919
|
result = api_instance.get_invoice_by_id_as_csv(id, opts)
|
|
920
920
|
p result
|
|
921
|
-
rescue
|
|
921
|
+
rescue Bfwd::ApiError => e
|
|
922
922
|
puts "Exception when calling InvoicesApi->get_invoice_by_id_as_csv: #{e}"
|
|
923
923
|
end
|
|
924
924
|
```
|
|
@@ -957,7 +957,7 @@ Retrieves a collection of invoices specified by the subscription-ID parameter. B
|
|
|
957
957
|
# load the gem
|
|
958
958
|
require 'bf_ruby2'
|
|
959
959
|
|
|
960
|
-
api_instance =
|
|
960
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
961
961
|
|
|
962
962
|
subscription_id = "subscription_id_example" # String | ID of the subscription.
|
|
963
963
|
|
|
@@ -975,7 +975,7 @@ begin
|
|
|
975
975
|
#Retrieves a collection of invoices specified by the subscription-ID parameter. By default 10 values are returned. Records are returned in natural order.
|
|
976
976
|
result = api_instance.get_invoice_by_subscription_id(subscription_id, opts)
|
|
977
977
|
p result
|
|
978
|
-
rescue
|
|
978
|
+
rescue Bfwd::ApiError => e
|
|
979
979
|
puts "Exception when calling InvoicesApi->get_invoice_by_subscription_id: #{e}"
|
|
980
980
|
end
|
|
981
981
|
```
|
|
@@ -1020,7 +1020,7 @@ Retrieves a collection of invoices specified by the subscription-version-ID para
|
|
|
1020
1020
|
# load the gem
|
|
1021
1021
|
require 'bf_ruby2'
|
|
1022
1022
|
|
|
1023
|
-
api_instance =
|
|
1023
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1024
1024
|
|
|
1025
1025
|
subscription_version_id = "subscription_version_id_example" # String | Version ID of the subscription.
|
|
1026
1026
|
|
|
@@ -1038,7 +1038,7 @@ begin
|
|
|
1038
1038
|
#Retrieves a collection of invoices specified by the subscription-version-ID parameter. By default 10 values are returned. Records are returned in natural order.
|
|
1039
1039
|
result = api_instance.get_invoice_by_subscription_version_id(subscription_version_id, opts)
|
|
1040
1040
|
p result
|
|
1041
|
-
rescue
|
|
1041
|
+
rescue Bfwd::ApiError => e
|
|
1042
1042
|
puts "Exception when calling InvoicesApi->get_invoice_by_subscription_version_id: #{e}"
|
|
1043
1043
|
end
|
|
1044
1044
|
```
|
|
@@ -1083,7 +1083,7 @@ Retrieves a single invoice, specified by the version-ID parameter.
|
|
|
1083
1083
|
# load the gem
|
|
1084
1084
|
require 'bf_ruby2'
|
|
1085
1085
|
|
|
1086
|
-
api_instance =
|
|
1086
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1087
1087
|
|
|
1088
1088
|
version_id = "version_id_example" # String | The version-ID of the invoice.
|
|
1089
1089
|
|
|
@@ -1095,7 +1095,7 @@ begin
|
|
|
1095
1095
|
#Retrieves a single invoice, specified by the version-ID parameter.
|
|
1096
1096
|
result = api_instance.get_invoice_by_version_id(version_id, opts)
|
|
1097
1097
|
p result
|
|
1098
|
-
rescue
|
|
1098
|
+
rescue Bfwd::ApiError => e
|
|
1099
1099
|
puts "Exception when calling InvoicesApi->get_invoice_by_version_id: #{e}"
|
|
1100
1100
|
end
|
|
1101
1101
|
```
|
|
@@ -1134,7 +1134,7 @@ Retrieves a collection of invoices specified by the account-ID parameter. By def
|
|
|
1134
1134
|
# load the gem
|
|
1135
1135
|
require 'bf_ruby2'
|
|
1136
1136
|
|
|
1137
|
-
api_instance =
|
|
1137
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1138
1138
|
|
|
1139
1139
|
account_id = "account_id_example" # String | ID of the account.
|
|
1140
1140
|
|
|
@@ -1152,7 +1152,7 @@ begin
|
|
|
1152
1152
|
#Retrieves a collection of invoices specified by the account-ID parameter. By default 10 values are returned. Records are returned in natural order.
|
|
1153
1153
|
result = api_instance.get_invoices_by_account_id(account_id, opts)
|
|
1154
1154
|
p result
|
|
1155
|
-
rescue
|
|
1155
|
+
rescue Bfwd::ApiError => e
|
|
1156
1156
|
puts "Exception when calling InvoicesApi->get_invoices_by_account_id: #{e}"
|
|
1157
1157
|
end
|
|
1158
1158
|
```
|
|
@@ -1197,7 +1197,7 @@ Retrieves a collection of invoice objects with period-end times within the perio
|
|
|
1197
1197
|
# load the gem
|
|
1198
1198
|
require 'bf_ruby2'
|
|
1199
1199
|
|
|
1200
|
-
api_instance =
|
|
1200
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1201
1201
|
|
|
1202
1202
|
lower_threshold = "lower_threshold_example" # String | The UTC DateTime specifying the start of the result period.
|
|
1203
1203
|
|
|
@@ -1216,7 +1216,7 @@ begin
|
|
|
1216
1216
|
#Retrieves a collection of invoice objects with period-end times within the period specified by the lower-threshold and upper-threshold parameters. By default 10 values are returned. Records are returned in natural order.
|
|
1217
1217
|
result = api_instance.get_invoices_by_period_end(lower_threshold, upper_threshold, opts)
|
|
1218
1218
|
p result
|
|
1219
|
-
rescue
|
|
1219
|
+
rescue Bfwd::ApiError => e
|
|
1220
1220
|
puts "Exception when calling InvoicesApi->get_invoices_by_period_end: #{e}"
|
|
1221
1221
|
end
|
|
1222
1222
|
```
|
|
@@ -1261,7 +1261,7 @@ Retrieves a collection of invoice objects with period-start times within the per
|
|
|
1261
1261
|
# load the gem
|
|
1262
1262
|
require 'bf_ruby2'
|
|
1263
1263
|
|
|
1264
|
-
api_instance =
|
|
1264
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1265
1265
|
|
|
1266
1266
|
lower_threshold = "lower_threshold_example" # String | The UTC DateTime specifying the start of the result period.
|
|
1267
1267
|
|
|
@@ -1280,7 +1280,7 @@ begin
|
|
|
1280
1280
|
#Retrieves a collection of invoice objects with period-start times within the period specified by the lower-threshold and upper-threshold parameters. By default 10 values are returned. Records are returned in natural order.
|
|
1281
1281
|
result = api_instance.get_invoices_by_period_start(lower_threshold, upper_threshold, opts)
|
|
1282
1282
|
p result
|
|
1283
|
-
rescue
|
|
1283
|
+
rescue Bfwd::ApiError => e
|
|
1284
1284
|
puts "Exception when calling InvoicesApi->get_invoices_by_period_start: #{e}"
|
|
1285
1285
|
end
|
|
1286
1286
|
```
|
|
@@ -1325,7 +1325,7 @@ Retrieves a collection of invoice objects with period-start times within the per
|
|
|
1325
1325
|
# load the gem
|
|
1326
1326
|
require 'bf_ruby2'
|
|
1327
1327
|
|
|
1328
|
-
api_instance =
|
|
1328
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1329
1329
|
|
|
1330
1330
|
lower_threshold = "lower_threshold_example" # String | The UTC DateTime specifying the start of the result period.
|
|
1331
1331
|
|
|
@@ -1344,7 +1344,7 @@ begin
|
|
|
1344
1344
|
#Retrieves a collection of invoice objects with period-start times within the period specified by the lower-threshold and upper-threshold parameters. By default 10 values are returned. Records are returned in natural order.
|
|
1345
1345
|
result = api_instance.get_invoices_by_period_start_as_csv(lower_threshold, upper_threshold, opts)
|
|
1346
1346
|
p result
|
|
1347
|
-
rescue
|
|
1347
|
+
rescue Bfwd::ApiError => e
|
|
1348
1348
|
puts "Exception when calling InvoicesApi->get_invoices_by_period_start_as_csv: #{e}"
|
|
1349
1349
|
end
|
|
1350
1350
|
```
|
|
@@ -1389,7 +1389,7 @@ Retrieves a collection of invoices, specified by the state parameter. By default
|
|
|
1389
1389
|
# load the gem
|
|
1390
1390
|
require 'bf_ruby2'
|
|
1391
1391
|
|
|
1392
|
-
api_instance =
|
|
1392
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1393
1393
|
|
|
1394
1394
|
state = "state_example" # String | The current state of the invoice, either Paid, Pending, Unpaid or Voided.
|
|
1395
1395
|
|
|
@@ -1406,7 +1406,7 @@ begin
|
|
|
1406
1406
|
#Retrieves a collection of invoices, specified by the state parameter. By default 10 values are returned. Records are returned in natural order.
|
|
1407
1407
|
result = api_instance.get_invoices_by_state(state, opts)
|
|
1408
1408
|
p result
|
|
1409
|
-
rescue
|
|
1409
|
+
rescue Bfwd::ApiError => e
|
|
1410
1410
|
puts "Exception when calling InvoicesApi->get_invoices_by_state: #{e}"
|
|
1411
1411
|
end
|
|
1412
1412
|
```
|
|
@@ -1450,7 +1450,7 @@ Retrieves a collection of invoice objects specified by the state parameter and w
|
|
|
1450
1450
|
# load the gem
|
|
1451
1451
|
require 'bf_ruby2'
|
|
1452
1452
|
|
|
1453
|
-
api_instance =
|
|
1453
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1454
1454
|
|
|
1455
1455
|
state = "state_example" # String | The current state of the invoice, either Paid, Pending, Unpaid or Voided.
|
|
1456
1456
|
|
|
@@ -1471,7 +1471,7 @@ begin
|
|
|
1471
1471
|
#Retrieves a collection of invoice objects specified by the state parameter and with period-start times within the period specified by the lower-threshold and upper-threshold parameters. By default 10 values are returned. Records are returned in natural order.
|
|
1472
1472
|
result = api_instance.get_invoices_by_state_and_period_start(state, lower_threshold, upper_threshold, opts)
|
|
1473
1473
|
p result
|
|
1474
|
-
rescue
|
|
1474
|
+
rescue Bfwd::ApiError => e
|
|
1475
1475
|
puts "Exception when calling InvoicesApi->get_invoices_by_state_and_period_start: #{e}"
|
|
1476
1476
|
end
|
|
1477
1477
|
```
|
|
@@ -1517,7 +1517,7 @@ Retrieves a collection of invoice objects specified by the state parameter and w
|
|
|
1517
1517
|
# load the gem
|
|
1518
1518
|
require 'bf_ruby2'
|
|
1519
1519
|
|
|
1520
|
-
api_instance =
|
|
1520
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1521
1521
|
|
|
1522
1522
|
state = "state_example" # String | The current state of the invoice, either Paid, Pending, Unpaid or Voided.
|
|
1523
1523
|
|
|
@@ -1538,7 +1538,7 @@ begin
|
|
|
1538
1538
|
#Retrieves a collection of invoice objects specified by the state parameter and with period-start times within the period specified by the lower-threshold and upper-threshold parameters. By default 10 values are returned. Records are returned in natural order.
|
|
1539
1539
|
result = api_instance.get_invoices_by_state_and_period_start_as_csv(state, lower_threshold, upper_threshold, opts)
|
|
1540
1540
|
p result
|
|
1541
|
-
rescue
|
|
1541
|
+
rescue Bfwd::ApiError => e
|
|
1542
1542
|
puts "Exception when calling InvoicesApi->get_invoices_by_state_and_period_start_as_csv: #{e}"
|
|
1543
1543
|
end
|
|
1544
1544
|
```
|
|
@@ -1584,7 +1584,7 @@ Retrieves a collection of invoices, specified by the state parameter. By default
|
|
|
1584
1584
|
# load the gem
|
|
1585
1585
|
require 'bf_ruby2'
|
|
1586
1586
|
|
|
1587
|
-
api_instance =
|
|
1587
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1588
1588
|
|
|
1589
1589
|
state = "state_example" # String | The current state of the invoice, either Paid, Pending, Unpaid or Voided.
|
|
1590
1590
|
|
|
@@ -1601,7 +1601,7 @@ begin
|
|
|
1601
1601
|
#Retrieves a collection of invoices, specified by the state parameter. By default 10 values are returned. Records are returned in natural order.
|
|
1602
1602
|
result = api_instance.get_invoices_by_state_as_csv(state, opts)
|
|
1603
1603
|
p result
|
|
1604
|
-
rescue
|
|
1604
|
+
rescue Bfwd::ApiError => e
|
|
1605
1605
|
puts "Exception when calling InvoicesApi->get_invoices_by_state_as_csv: #{e}"
|
|
1606
1606
|
end
|
|
1607
1607
|
```
|
|
@@ -1645,7 +1645,7 @@ Retrieves all InvoiceLine payment attributions.
|
|
|
1645
1645
|
# load the gem
|
|
1646
1646
|
require 'bf_ruby2'
|
|
1647
1647
|
|
|
1648
|
-
api_instance =
|
|
1648
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1649
1649
|
|
|
1650
1650
|
opts = {
|
|
1651
1651
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -1659,7 +1659,7 @@ begin
|
|
|
1659
1659
|
#Retrieves all InvoiceLine payment attributions.
|
|
1660
1660
|
result = api_instance.get_line_payments(opts)
|
|
1661
1661
|
p result
|
|
1662
|
-
rescue
|
|
1662
|
+
rescue Bfwd::ApiError => e
|
|
1663
1663
|
puts "Exception when calling InvoicesApi->get_line_payments: #{e}"
|
|
1664
1664
|
end
|
|
1665
1665
|
```
|
|
@@ -1701,7 +1701,7 @@ Retrieves (as CSV) all InvoiceLine payment attributions.
|
|
|
1701
1701
|
# load the gem
|
|
1702
1702
|
require 'bf_ruby2'
|
|
1703
1703
|
|
|
1704
|
-
api_instance =
|
|
1704
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1705
1705
|
|
|
1706
1706
|
opts = {
|
|
1707
1707
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -1715,7 +1715,7 @@ begin
|
|
|
1715
1715
|
#Retrieves (as CSV) all InvoiceLine payment attributions.
|
|
1716
1716
|
result = api_instance.get_line_payments_as_csv(opts)
|
|
1717
1717
|
p result
|
|
1718
|
-
rescue
|
|
1718
|
+
rescue Bfwd::ApiError => e
|
|
1719
1719
|
puts "Exception when calling InvoicesApi->get_line_payments_as_csv: #{e}"
|
|
1720
1720
|
end
|
|
1721
1721
|
```
|
|
@@ -1757,7 +1757,7 @@ Retrieve any associated metadata.
|
|
|
1757
1757
|
# load the gem
|
|
1758
1758
|
require 'bf_ruby2'
|
|
1759
1759
|
|
|
1760
|
-
api_instance =
|
|
1760
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1761
1761
|
|
|
1762
1762
|
invoice_id = "invoice_id_example" # String |
|
|
1763
1763
|
|
|
@@ -1769,7 +1769,7 @@ begin
|
|
|
1769
1769
|
#Retrieve any associated metadata.
|
|
1770
1770
|
result = api_instance.get_metadata_for_invoice(invoice_id, opts)
|
|
1771
1771
|
p result
|
|
1772
|
-
rescue
|
|
1772
|
+
rescue Bfwd::ApiError => e
|
|
1773
1773
|
puts "Exception when calling InvoicesApi->get_metadata_for_invoice: #{e}"
|
|
1774
1774
|
end
|
|
1775
1775
|
```
|
|
@@ -1808,7 +1808,7 @@ Retrieves awarded refunds from InvoicePayments upon line items, in CSV format.
|
|
|
1808
1808
|
# load the gem
|
|
1809
1809
|
require 'bf_ruby2'
|
|
1810
1810
|
|
|
1811
|
-
api_instance =
|
|
1811
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1812
1812
|
|
|
1813
1813
|
opts = {
|
|
1814
1814
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -1820,7 +1820,7 @@ begin
|
|
|
1820
1820
|
#Retrieves awarded refunds from InvoicePayments upon line items, in CSV format.
|
|
1821
1821
|
result = api_instance.get_refund_invoice_line_payments_from_invoices_as_csv(opts)
|
|
1822
1822
|
p result
|
|
1823
|
-
rescue
|
|
1823
|
+
rescue Bfwd::ApiError => e
|
|
1824
1824
|
puts "Exception when calling InvoicesApi->get_refund_invoice_line_payments_from_invoices_as_csv: #{e}"
|
|
1825
1825
|
end
|
|
1826
1826
|
```
|
|
@@ -1860,7 +1860,7 @@ Retrieves awarded refunds from InvoicePayments upon line items, in CSV format.
|
|
|
1860
1860
|
# load the gem
|
|
1861
1861
|
require 'bf_ruby2'
|
|
1862
1862
|
|
|
1863
|
-
api_instance =
|
|
1863
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1864
1864
|
|
|
1865
1865
|
opts = {
|
|
1866
1866
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -1872,7 +1872,7 @@ begin
|
|
|
1872
1872
|
#Retrieves awarded refunds from InvoicePayments upon line items, in CSV format.
|
|
1873
1873
|
result = api_instance.get_refund_invoice_line_payments_from_invoices_as_csv_by_refund_received(opts)
|
|
1874
1874
|
p result
|
|
1875
|
-
rescue
|
|
1875
|
+
rescue Bfwd::ApiError => e
|
|
1876
1876
|
puts "Exception when calling InvoicesApi->get_refund_invoice_line_payments_from_invoices_as_csv_by_refund_received: #{e}"
|
|
1877
1877
|
end
|
|
1878
1878
|
```
|
|
@@ -1912,7 +1912,7 @@ Retrieves all attributions of Invoice costs to Invoice lines.
|
|
|
1912
1912
|
# load the gem
|
|
1913
1913
|
require 'bf_ruby2'
|
|
1914
1914
|
|
|
1915
|
-
api_instance =
|
|
1915
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1916
1916
|
|
|
1917
1917
|
opts = {
|
|
1918
1918
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -1924,7 +1924,7 @@ begin
|
|
|
1924
1924
|
#Retrieves all attributions of Invoice costs to Invoice lines.
|
|
1925
1925
|
result = api_instance.get_revenue_attributions(opts)
|
|
1926
1926
|
p result
|
|
1927
|
-
rescue
|
|
1927
|
+
rescue Bfwd::ApiError => e
|
|
1928
1928
|
puts "Exception when calling InvoicesApi->get_revenue_attributions: #{e}"
|
|
1929
1929
|
end
|
|
1930
1930
|
```
|
|
@@ -1964,7 +1964,7 @@ Retrieves (as CSV) all attributions of Invoice costs to Invoice lines.
|
|
|
1964
1964
|
# load the gem
|
|
1965
1965
|
require 'bf_ruby2'
|
|
1966
1966
|
|
|
1967
|
-
api_instance =
|
|
1967
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
1968
1968
|
|
|
1969
1969
|
opts = {
|
|
1970
1970
|
organizations: ["organizations_example"], # Array<String> | A list of organization-IDs used to restrict the scope of API calls.
|
|
@@ -1976,7 +1976,7 @@ begin
|
|
|
1976
1976
|
#Retrieves (as CSV) all attributions of Invoice costs to Invoice lines.
|
|
1977
1977
|
result = api_instance.get_revenue_attributions_as_csv(opts)
|
|
1978
1978
|
p result
|
|
1979
|
-
rescue
|
|
1979
|
+
rescue Bfwd::ApiError => e
|
|
1980
1980
|
puts "Exception when calling InvoicesApi->get_revenue_attributions_as_csv: #{e}"
|
|
1981
1981
|
end
|
|
1982
1982
|
```
|
|
@@ -2016,7 +2016,7 @@ No authorization required
|
|
|
2016
2016
|
# load the gem
|
|
2017
2017
|
require 'bf_ruby2'
|
|
2018
2018
|
|
|
2019
|
-
api_instance =
|
|
2019
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2020
2020
|
|
|
2021
2021
|
query_string = "query_string_example" # String | The query string used to search.
|
|
2022
2022
|
|
|
@@ -2033,7 +2033,7 @@ begin
|
|
|
2033
2033
|
#
|
|
2034
2034
|
result = api_instance.get_swagger_for_invoice(query_string, opts)
|
|
2035
2035
|
p result
|
|
2036
|
-
rescue
|
|
2036
|
+
rescue Bfwd::ApiError => e
|
|
2037
2037
|
puts "Exception when calling InvoicesApi->get_swagger_for_invoice: #{e}"
|
|
2038
2038
|
end
|
|
2039
2039
|
```
|
|
@@ -2077,16 +2077,16 @@ Import an invoice.
|
|
|
2077
2077
|
# load the gem
|
|
2078
2078
|
require 'bf_ruby2'
|
|
2079
2079
|
|
|
2080
|
-
api_instance =
|
|
2080
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2081
2081
|
|
|
2082
|
-
request =
|
|
2082
|
+
request = Bfwd::BillingEntityBase.new # BillingEntityBase |
|
|
2083
2083
|
|
|
2084
2084
|
|
|
2085
2085
|
begin
|
|
2086
2086
|
#Import an invoice.
|
|
2087
2087
|
result = api_instance.import_invoice(request)
|
|
2088
2088
|
p result
|
|
2089
|
-
rescue
|
|
2089
|
+
rescue Bfwd::ApiError => e
|
|
2090
2090
|
puts "Exception when calling InvoicesApi->import_invoice: #{e}"
|
|
2091
2091
|
end
|
|
2092
2092
|
```
|
|
@@ -2124,18 +2124,18 @@ Re-calculate an Invoice.
|
|
|
2124
2124
|
# load the gem
|
|
2125
2125
|
require 'bf_ruby2'
|
|
2126
2126
|
|
|
2127
|
-
api_instance =
|
|
2127
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2128
2128
|
|
|
2129
2129
|
invoice_id = "invoice_id_example" # String |
|
|
2130
2130
|
|
|
2131
|
-
request =
|
|
2131
|
+
request = Bfwd::InvoiceRecalculationRequest.new # InvoiceRecalculationRequest |
|
|
2132
2132
|
|
|
2133
2133
|
|
|
2134
2134
|
begin
|
|
2135
2135
|
#Re-calculate an Invoice.
|
|
2136
2136
|
result = api_instance.recalculate_invoice(invoice_id, request)
|
|
2137
2137
|
p result
|
|
2138
|
-
rescue
|
|
2138
|
+
rescue Bfwd::ApiError => e
|
|
2139
2139
|
puts "Exception when calling InvoicesApi->recalculate_invoice: #{e}"
|
|
2140
2140
|
end
|
|
2141
2141
|
```
|
|
@@ -2174,7 +2174,7 @@ Removes the specified charge from the specified Invoice.
|
|
|
2174
2174
|
# load the gem
|
|
2175
2175
|
require 'bf_ruby2'
|
|
2176
2176
|
|
|
2177
|
-
api_instance =
|
|
2177
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2178
2178
|
|
|
2179
2179
|
invoice_id = "invoice_id_example" # String |
|
|
2180
2180
|
|
|
@@ -2188,7 +2188,7 @@ begin
|
|
|
2188
2188
|
#Removes the specified charge from the specified Invoice.
|
|
2189
2189
|
result = api_instance.remove_charge_from_invoice(invoice_id, charge_id, opts)
|
|
2190
2190
|
p result
|
|
2191
|
-
rescue
|
|
2191
|
+
rescue Bfwd::ApiError => e
|
|
2192
2192
|
puts "Exception when calling InvoicesApi->remove_charge_from_invoice: #{e}"
|
|
2193
2193
|
end
|
|
2194
2194
|
```
|
|
@@ -2228,7 +2228,7 @@ Remove any associated metadata.
|
|
|
2228
2228
|
# load the gem
|
|
2229
2229
|
require 'bf_ruby2'
|
|
2230
2230
|
|
|
2231
|
-
api_instance =
|
|
2231
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2232
2232
|
|
|
2233
2233
|
invoice_id = "invoice_id_example" # String |
|
|
2234
2234
|
|
|
@@ -2240,7 +2240,7 @@ begin
|
|
|
2240
2240
|
#Remove any associated metadata.
|
|
2241
2241
|
result = api_instance.remove_metadata_from_invoice(invoice_id, opts)
|
|
2242
2242
|
p result
|
|
2243
|
-
rescue
|
|
2243
|
+
rescue Bfwd::ApiError => e
|
|
2244
2244
|
puts "Exception when calling InvoicesApi->remove_metadata_from_invoice: #{e}"
|
|
2245
2245
|
end
|
|
2246
2246
|
```
|
|
@@ -2279,9 +2279,9 @@ Remove any existing metadata keys and create the provided data.
|
|
|
2279
2279
|
# load the gem
|
|
2280
2280
|
require 'bf_ruby2'
|
|
2281
2281
|
|
|
2282
|
-
api_instance =
|
|
2282
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2283
2283
|
|
|
2284
|
-
metadata =
|
|
2284
|
+
metadata = Bfwd::DynamicMetadata.new # DynamicMetadata |
|
|
2285
2285
|
|
|
2286
2286
|
invoice_id = "invoice_id_example" # String |
|
|
2287
2287
|
|
|
@@ -2293,7 +2293,7 @@ begin
|
|
|
2293
2293
|
#Remove any existing metadata keys and create the provided data.
|
|
2294
2294
|
result = api_instance.set_metadata_for_invoice(metadata, invoice_id, opts)
|
|
2295
2295
|
p result
|
|
2296
|
-
rescue
|
|
2296
|
+
rescue Bfwd::ApiError => e
|
|
2297
2297
|
puts "Exception when calling InvoicesApi->set_metadata_for_invoice: #{e}"
|
|
2298
2298
|
end
|
|
2299
2299
|
```
|
|
@@ -2333,16 +2333,16 @@ Update an Invoice.
|
|
|
2333
2333
|
# load the gem
|
|
2334
2334
|
require 'bf_ruby2'
|
|
2335
2335
|
|
|
2336
|
-
api_instance =
|
|
2336
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2337
2337
|
|
|
2338
|
-
invoice =
|
|
2338
|
+
invoice = Bfwd::Invoice.new # Invoice | The invoice object to be updated.
|
|
2339
2339
|
|
|
2340
2340
|
|
|
2341
2341
|
begin
|
|
2342
2342
|
#Update an Invoice.
|
|
2343
2343
|
result = api_instance.update_invoice(invoice)
|
|
2344
2344
|
p result
|
|
2345
|
-
rescue
|
|
2345
|
+
rescue Bfwd::ApiError => e
|
|
2346
2346
|
puts "Exception when calling InvoicesApi->update_invoice: #{e}"
|
|
2347
2347
|
end
|
|
2348
2348
|
```
|
|
@@ -2380,9 +2380,9 @@ Update any existing metadata key-values and insert any new key-values, no keys w
|
|
|
2380
2380
|
# load the gem
|
|
2381
2381
|
require 'bf_ruby2'
|
|
2382
2382
|
|
|
2383
|
-
api_instance =
|
|
2383
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2384
2384
|
|
|
2385
|
-
metadata =
|
|
2385
|
+
metadata = Bfwd::DynamicMetadata.new # DynamicMetadata |
|
|
2386
2386
|
|
|
2387
2387
|
invoice_id = "invoice_id_example" # String |
|
|
2388
2388
|
|
|
@@ -2394,7 +2394,7 @@ begin
|
|
|
2394
2394
|
#Update any existing metadata key-values and insert any new key-values, no keys will be removed.
|
|
2395
2395
|
result = api_instance.upsert_metadata_for_invoice(metadata, invoice_id, opts)
|
|
2396
2396
|
p result
|
|
2397
|
-
rescue
|
|
2397
|
+
rescue Bfwd::ApiError => e
|
|
2398
2398
|
puts "Exception when calling InvoicesApi->upsert_metadata_for_invoice: #{e}"
|
|
2399
2399
|
end
|
|
2400
2400
|
```
|
|
@@ -2434,7 +2434,7 @@ Voids the invoice specified by the invoice identifier parameter.
|
|
|
2434
2434
|
# load the gem
|
|
2435
2435
|
require 'bf_ruby2'
|
|
2436
2436
|
|
|
2437
|
-
api_instance =
|
|
2437
|
+
api_instance = Bfwd::InvoicesApi.new
|
|
2438
2438
|
|
|
2439
2439
|
invoice_id = "invoice_id_example" # String | ID of the invoice.
|
|
2440
2440
|
|
|
@@ -2445,7 +2445,7 @@ begin
|
|
|
2445
2445
|
#Voids the invoice specified by the invoice identifier parameter.
|
|
2446
2446
|
result = api_instance.void_invoice(invoice_id, organizations)
|
|
2447
2447
|
p result
|
|
2448
|
-
rescue
|
|
2448
|
+
rescue Bfwd::ApiError => e
|
|
2449
2449
|
puts "Exception when calling InvoicesApi->void_invoice: #{e}"
|
|
2450
2450
|
end
|
|
2451
2451
|
```
|