paddle-python-sdk 0.2.2__tar.gz → 0.3.0__tar.gz
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.
- paddle_python_sdk-0.3.0/PKG-INFO +187 -0
- paddle_python_sdk-0.3.0/examples/catalog_management.py +175 -0
- paddle_python_sdk-0.3.0/examples/event_polling.py +54 -0
- paddle_python_sdk-0.3.0/examples/get_products.py +49 -0
- paddle_python_sdk-0.3.0/examples/logger.py +33 -0
- paddle_python_sdk-0.3.0/examples/webhook_verification.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Client.py +221 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Address.py +43 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Adjustment.py +54 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/AdjustmentCreditNote.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Adjustments/AdjustmentCustomerBalance.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Adjustments/AdjustmentItem.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Adjustments/AdjustmentTaxRatesUsed.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Adjustments/AdjustmentTotals.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Adjustments/__init__.py +3 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Business.py +37 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/AddressCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/AdjustmentCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/BusinessCollection.py +14 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/Collection.py +45 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/CreditBalanceCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/CustomerCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/DiscountCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/EventCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/EventTypeCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/NotificationCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/NotificationLogCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/NotificationSettingCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/Paginator.py +27 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/PriceCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/ProductCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/ReportCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/SubscriptionCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/SubscriptionPreviewCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/TransactionCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/TransactionPreviewCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/TransactionsDataCollection.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Collections/__init__.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/CreditBalance.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Customer.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/DateTime.py +41 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Discount.py +52 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Discounts/DiscountStatus.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Discounts/DiscountType.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Discounts/__init__.py +2 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Entity.py +12 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Event.py +27 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/EventType.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Events/EventTypeName.py +52 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/IPAddresses.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Notification.py +41 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/NotificationLog.py +24 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/NotificationSetting.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/NotificationSettings/NotificationSettingType.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Notifications/NotificationEvent.py +44 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Notifications/NotificationOrigin.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Notifications/NotificationPayout.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Notifications/NotificationPayoutStatus.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Notifications/NotificationStatus.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Notifications/__init__.py +5 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Price.py +69 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricePreview.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricingPreviews/PricePreviewDetails.py +14 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricingPreviews/PricePreviewDiscounts.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricingPreviews/PricePreviewItem.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricingPreviews/PricePreviewLineItem.py +37 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricingPreviews/PricePreviewTotalsFormatted.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricingPreviews/PricePreviewUnitTotalsFormatted.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/PricingPreviews/__init__.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Product.py +43 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Report.py +31 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/ReportCSV.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/AdjustmentsReportType.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/DiscountsReportType.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/ProductsPricesReportType.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/ReportFilter.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/ReportFilterName.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/ReportFilterOperator.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/ReportStatus.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/ReportType.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/TransactionsReportType.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Reports/__init__.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Action.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/AddressPreview.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/AdjustmentItemTotals.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/AdjustmentStatus.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/AdjustmentTotals.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/AdjustmentType.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/BillingDetails.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Card.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/CatalogType.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/ChargebackFee.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Checkout.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/CollectionMode.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Contacts.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/CountryCode.py +233 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/CurrencyCode.py +34 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/CurrencyCodeAdjustments.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/CurrencyCodePayouts.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/CustomData.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Data.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Disposition.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Duration.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/ErrorCode.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/ImportMeta.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Interval.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Meta.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/MetaPaginated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/MethodDetails.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Money.py +27 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Original.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Pagination.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/PaymentAttemptStatus.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/PaymentMethodType.py +14 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/PayoutTotalsAdjustment.py +28 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/PriceQuantity.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Proration.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Status.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TaxCategory.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TaxMode.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TaxRatesUsed.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TimePeriod.py +16 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/Totals.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionDetailsPreview.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionLineItemPreview.py +30 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionOrigin.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionPaymentAttempt.py +34 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionPayoutTotals.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionPayoutTotalsAdjusted.py +28 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionStatus.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionTotals.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/TransactionTotalsAdjusted.py +27 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/UnitPriceOverride.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/UnitTotals.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Shared/__init__.py +55 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscription.py +100 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/SubscriptionPreview.py +111 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionAdjustmentItem.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionAdjustmentPreview.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionCharge.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionCredit.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionDiscount.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionEffectiveFrom.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionItem.py +40 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionItemStatus.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionItems.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionItemsWithPrice.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionManagementUrls.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionNextTransaction.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionNonCatalogPrice.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionNonCatalogPriceWithProduct.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionNonCatalogProduct.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionOnPaymentFailure.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionPreviewSubscriptionUpdateSummary.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionProrationBillingMode.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionResult.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionResultAction.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionResumeEffectiveFrom.py +5 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionScheduledChange.py +20 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionScheduledChangeAction.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionStatus.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/SubscriptionUpdateItem.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Subscriptions/__init__.py +29 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transaction.py +98 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/TransactionData.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/TransactionPreview.py +39 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionAdjustmentsTotals.py +29 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionBreakdown.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionCardType.py +14 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionCreateItem.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionCreateItemWithPrice.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionDetails.py +39 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionItem.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionItemPreviewWithNonCatalogPrice.py +29 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionItemPreviewWithPrice.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionItemPreviewWithPriceId.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionLineItem.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionNonCatalogPrice.py +38 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionNonCatalogPriceWithProduct.py +40 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionNonCatalogProduct.py +24 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/TransactionUpdateTransactionItem.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Entities/Transactions/__init__.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Environment.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Exceptions/ApiError.py +24 -0
- paddle_python_sdk-0.3.0/paddle_billing/Exceptions/FieldError.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Exceptions/SdkExceptions/InvalidArgumentException.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/FiltersNone.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/FiltersUndefined.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Logger/Formatter.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Logger/__init__.py +30 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Address.py +43 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Adjustment.py +58 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Adjustments/AdjustmentItem.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Adjustments/AdjustmentTaxRatesUsed.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Adjustments/AdjustmentTotals.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Adjustments/__init__.py +2 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Business.py +38 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Businesses/BusinessesContacts.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Customer.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/DateTime.py +38 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Discount.py +50 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Discounts/DiscountStatus.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Discounts/DiscountType.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Discounts/__init__.py +2 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Entity.py +53 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/EntityDict.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Payout.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Payouts/PayoutStatus.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Price.py +67 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Product.py +43 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Report.py +31 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Reports/ReportFilter.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Reports/ReportFilterName.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Reports/ReportFilterOperator.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Reports/ReportStatus.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Reports/ReportType.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Reports/__init__.py +5 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Action.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/AddressPreview.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/AdjustmentItemTotals.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/AdjustmentStatus.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/AdjustmentTotals.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/AdjustmentType.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/BillingDetails.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Card.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/CatalogType.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/ChargebackFee.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Checkout.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/CollectionMode.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/CountryCode.py +233 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/CurrencyCode.py +34 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/CurrencyCodeAdjustments.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/CurrencyCodePayouts.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/CustomData.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Data.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Duration.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/ErrorCode.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/ImportMeta.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Interval.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/MethodDetails.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Money.py +27 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Original.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/PaymentAttemptStatus.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/PaymentMethodType.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/PayoutTotalsAdjustment.py +28 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/PriceQuantity.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Proration.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Status.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TaxCategory.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TaxMode.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TaxRatesUsed.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TimePeriod.py +16 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/Totals.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TransactionOrigin.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TransactionPaymentAttempt.py +34 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TransactionPayoutTotals.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TransactionPayoutTotalsAdjusted.py +28 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TransactionStatus.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TransactionTotals.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/TransactionTotalsAdjusted.py +27 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/UnitPriceOverride.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/UnitTotals.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Shared/__init__.py +45 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscription.py +79 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/SubscriptionCreated.py +81 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionAdjustmentItem.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionCharge.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionCredit.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionDiscount.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionEffectiveFrom.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionItem.py +40 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionItemStatus.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionOnPaymentFailure.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionPrice.py +58 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionScheduledChange.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionScheduledChangeAction.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionStatus.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Subscriptions/__init__.py +16 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transaction.py +72 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transactions/TransactionAdjustmentsTotals.py +29 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transactions/TransactionBreakdown.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transactions/TransactionCardType.py +14 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transactions/TransactionDetails.py +39 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transactions/TransactionItem.py +23 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transactions/TransactionLineItem.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/Transactions/__init__.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Entities/UndefinedEntity.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/AddressCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/AddressUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/AdjustmentCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/AdjustmentUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/BusinessCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/BusinessUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/CustomerCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/CustomerUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/DiscountCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/DiscountImported.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/DiscountUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/PayoutCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/PayoutPaid.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/PriceCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/PriceUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/ProductCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/ProductUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/ReportCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/ReportUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionActivated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionCanceled.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionImported.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionPastDue.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionPaused.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionResumed.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionTrialing.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/SubscriptionUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionBilled.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionCanceled.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionCompleted.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionCreated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionPaid.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionPastDue.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionPaymentFailed.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionReady.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Events/TransactionUpdated.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/PaddleSignature.py +124 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Requests/Headers.py +5 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Requests/Request.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Requests/__init__.py +1 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Secret.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/Verifier.py +52 -0
- paddle_python_sdk-0.3.0/paddle_billing/Notifications/__init__.py +3 -0
- paddle_python_sdk-0.3.0/paddle_billing/Operation.py +7 -0
- paddle_python_sdk-0.3.0/paddle_billing/Options.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/PaddleStrEnum.py +93 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Addresses/AddressesClient.py +52 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Addresses/Operations/CreateAddress.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Addresses/Operations/ListAddresses.py +41 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Addresses/Operations/UpdateAddress.py +20 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Adjustments/AdjustmentsClient.py +41 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Adjustments/Operations/Create/AdjustmentItem.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Adjustments/Operations/CreateAdjustment.py +30 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Adjustments/Operations/GetCreditNote.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Adjustments/Operations/ListAdjustments.py +61 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Adjustments/Operations/__init__.py +4 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Businesses/BusinessesClient.py +52 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Businesses/Operations/CreateBusiness.py +16 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Businesses/Operations/ListBusinesses.py +46 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Businesses/Operations/UpdateBusiness.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Customers/CustomersClient.py +64 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Customers/Operations/CreateCustomer.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Customers/Operations/ListCreditBalances.py +29 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Customers/Operations/ListCustomers.py +51 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Customers/Operations/UpdateCustomer.py +16 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Customers/Operations/__init__.py +4 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Discounts/DiscountsClient.py +50 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Discounts/Operations/CreateDiscount.py +24 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Discounts/Operations/ListDiscounts.py +47 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Discounts/Operations/UpdateDiscount.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Discounts/Operations/__init__.py +3 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/EventTypes/EventTypesClient.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Events/EventsClient.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Events/Operations/ListEvents.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/NotificationLogs/NotificationLogsClient.py +25 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/NotificationLogs/Operations/ListNotificationLogs.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/NotificationSettings/NotificationSettingsClient.py +58 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/NotificationSettings/Operations/CreateNotificationSetting.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/NotificationSettings/Operations/ListNotificationSettings.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/NotificationSettings/Operations/UpdateNotificationSetting.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/NotificationSettings/Operations/__init__.py +3 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Notifications/NotificationsClient.py +41 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Notifications/Operations/ListNotifications.py +59 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Prices/Operations/CreatePrice.py +30 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Prices/Operations/List/Includes.py +5 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Prices/Operations/ListPrices.py +62 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Prices/Operations/UpdatePrice.py +31 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Prices/Operations/__init__.py +4 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Prices/PricesClient.py +62 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/PricingPreviews/Operations/PreviewPrice.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/PricingPreviews/PricingPreviewsClient.py +20 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Products/Operations/CreateProduct.py +17 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Products/Operations/List/Includes.py +5 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Products/Operations/ListProducts.py +60 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Products/Operations/UpdateProduct.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Products/Operations/__init__.py +4 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Products/ProductsClient.py +67 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/CreateAdjustmentsReport.py +31 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/CreateDiscountsReport.py +27 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/CreateProductsAndPricesReport.py +40 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/CreateReport.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/CreateTransactionsReport.py +33 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/AdjustmentActionFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/AdjustmentStatusFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/CollectionModeFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/CurrencyCodeFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/DiscountStatusFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/DiscountTypeFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/Filter.py +29 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/PriceStatusFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/PriceTypeFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/PriceUpdatedAtFilter.py +34 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/ProductStatusFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/ProductTypeFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/ProductUpdatedAtFilter.py +34 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/TransactionOriginFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/TransactionStatusFilter.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/UpdatedAtFilter.py +34 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/Filters/__init__.py +15 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/ListReports.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/Operations/__init__.py +5 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Reports/ReportsClient.py +47 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Shared/Operations/List/Comparator.py +8 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Shared/Operations/List/DateComparison.py +29 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Shared/Operations/List/OrderBy.py +18 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Shared/Operations/List/Pager.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Shared/Operations/__init__.py +4 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/CancelSubscription.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/CreateOneTimeCharge.py +20 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/Get/Includes.py +6 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/ListSubscriptions.py +62 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/PauseSubscription.py +16 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/PreviewOneTimeCharge.py +20 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/PreviewUpdateSubscription.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/ResumeSubscription.py +16 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/Update/SubscriptionDiscount.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/Update/UpdateBillingDetails.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/Update/__init__.py +2 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/UpdateSubscription.py +35 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/Operations/__init__.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions/SubscriptionsClient.py +114 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/Create/CreateBillingDetails.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/Create/__init__.py +1 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/CreateTransaction.py +30 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/GetTransactionInvoice.py +19 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/List/Includes.py +11 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/List/Origin.py +10 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/ListTransactions.py +87 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/PreviewTransactionByAddress.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/PreviewTransactionByCustomer.py +22 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/PreviewTransactionByIP.py +21 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/Update/UpdateBillingDetails.py +13 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/Update/__init__.py +1 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/UpdateTransaction.py +30 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/__init__.py +9 -0
- paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/TransactionsClient.py +93 -0
- paddle_python_sdk-0.3.0/paddle_billing/ResponseParser.py +66 -0
- paddle_python_sdk-0.3.0/paddle_billing/__init__.py +4 -0
- paddle_python_sdk-0.3.0/paddle_python_sdk.egg-info/PKG-INFO +187 -0
- paddle_python_sdk-0.3.0/paddle_python_sdk.egg-info/SOURCES.txt +563 -0
- paddle_python_sdk-0.3.0/paddle_python_sdk.egg-info/requires.txt +11 -0
- paddle_python_sdk-0.3.0/pyproject.toml +2 -0
- paddle_python_sdk-0.3.0/setup.cfg +10 -0
- paddle_python_sdk-0.3.0/setup.py +41 -0
- paddle_python_sdk-0.3.0/tests/Functional/Client/test_Client.py +171 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Addresses/test_AddressesClient.py +388 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Adjustments/test_AdjustmentsClient.py +341 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Businesses/test_BusinessesClient.py +295 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Customers/test_CustomersClient.py +325 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Discounts/test_DiscountsClient.py +340 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/EventTypes/test_EventTypesClient.py +44 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Events/test_EventsClient.py +126 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/IPAddresses/test_IPAddressesClient.py +31 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/NotificationLogs/test_NotificationLogsClient.py +69 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/NotificationSettings/test_NotificationSettingsClient.py +406 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Notifications/test_NotificationsClient.py +295 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Prices/test_PricesClient.py +324 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/PricingPreviews/test_PricingPreviewsClient.py +96 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Products/test_ProductsClient.py +271 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Reports/test_ReportsClient.py +350 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Subscriptions/test_SubscriptionsClient.py +1112 -0
- paddle_python_sdk-0.3.0/tests/Functional/Resources/Transactions/test_TransactionsClient.py +1024 -0
- paddle_python_sdk-0.3.0/tests/Unit/Logger/test_Logger.py +10 -0
- paddle_python_sdk-0.3.0/tests/Unit/Notification/test_Verifier.py +59 -0
- paddle_python_sdk-0.3.0/tests/Unit/PaddleStrEnum/test_PaddleStrEnum.py +69 -0
- paddle_python_sdk-0.3.0/tests/Utils/FakeRequest.py +6 -0
- paddle_python_sdk-0.3.0/tests/Utils/ReadsFixture.py +32 -0
- paddle_python_sdk-0.3.0/tests/Utils/TestClient.py +55 -0
- paddle_python_sdk-0.3.0/tests/Utils/TestLogger.py +26 -0
- paddle_python_sdk-0.3.0/tests/Utils/__init__.py +1 -0
- paddle_python_sdk-0.2.2/PKG-INFO +0 -184
- paddle_python_sdk-0.2.2/examples/catalog_management.py +0 -166
- paddle_python_sdk-0.2.2/examples/event_polling.py +0 -56
- paddle_python_sdk-0.2.2/examples/get_products.py +0 -46
- paddle_python_sdk-0.2.2/examples/logger.py +0 -31
- paddle_python_sdk-0.2.2/paddle_billing/Client.py +0 -220
- paddle_python_sdk-0.2.2/paddle_billing/ConditionallyRemoveImportMeta.py +0 -14
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Address.py +0 -44
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Adjustment.py +0 -45
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Adjustments/AdjustmentCustomerBalance.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Adjustments/AdjustmentItem.py +0 -26
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Adjustments/__init__.py +0 -2
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Business.py +0 -38
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/AddressCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/AdjustmentCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/BusinessCollection.py +0 -14
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/Collection.py +0 -50
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/CreditBalanceCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/CustomerCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/DiscountCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/EventCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/EventTypeCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/NotificationCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/NotificationLogCollection.py +0 -14
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/NotificationSettingCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/Paginator.py +0 -29
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/PriceCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/ProductCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/ReportCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/SubscriptionCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/SubscriptionPreviewCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/TransactionCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/TransactionPreviewCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/TransactionsDataCollection.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Collections/__init__.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Entities/CreditBalance.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Customer.py +0 -36
- paddle_python_sdk-0.2.2/paddle_billing/Entities/DateTime.py +0 -43
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Discount.py +0 -51
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Discounts/DiscountStatus.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Discounts/DiscountType.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Discounts/__init__.py +0 -2
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Entity.py +0 -12
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Event.py +0 -51
- paddle_python_sdk-0.2.2/paddle_billing/Entities/EventType.py +0 -23
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Events/EventTypeName.py +0 -52
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Notification.py +0 -42
- paddle_python_sdk-0.2.2/paddle_billing/Entities/NotificationLog.py +0 -25
- paddle_python_sdk-0.2.2/paddle_billing/Entities/NotificationSetting.py +0 -34
- paddle_python_sdk-0.2.2/paddle_billing/Entities/NotificationSettings/NotificationSettingType.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Notifications/NotificationOrigin.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Notifications/NotificationPayout.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Notifications/NotificationPayoutStatus.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Notifications/NotificationStatus.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Notifications/__init__.py +0 -4
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Price.py +0 -68
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricePreview.py +0 -34
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricingPreviews/PricePreviewDetails.py +0 -15
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricingPreviews/PricePreviewDiscounts.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricingPreviews/PricePreviewItem.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricingPreviews/PricePreviewLineItem.py +0 -38
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricingPreviews/PricePreviewTotalsFormatted.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricingPreviews/PricePreviewUnitTotalsFormatted.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/PricingPreviews/__init__.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Product.py +0 -45
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Report.py +0 -32
- paddle_python_sdk-0.2.2/paddle_billing/Entities/ReportCSV.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Reports/ReportFilter.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Reports/ReportFilterName.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Reports/ReportFilterOperator.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Reports/ReportStatus.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Reports/ReportType.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Reports/__init__.py +0 -5
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Action.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AddressPreview.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AdjustmentItemTotals.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AdjustmentProration.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AdjustmentStatus.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AdjustmentTimePeriod.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AdjustmentTotals.py +0 -26
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AdjustmentType.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/AvailablePaymentMethods.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/BillingDetails.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/BillingDetailsUpdate.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Card.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/CatalogType.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/ChargebackFee.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Checkout.py +0 -12
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/CollectionMode.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Contacts.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/CountryCode.py +0 -233
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/CurrencyCode.py +0 -34
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/CurrencyCodeAdjustments.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/CurrencyCodePayouts.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/CustomData.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Data.py +0 -9
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/ErrorCode.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/ImportMeta.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Interval.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Meta.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/MetaPaginated.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/MethodDetails.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Money.py +0 -28
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Original.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Pagination.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/PaymentAttemptStatus.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/PaymentMethodType.py +0 -14
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/PayoutTotalsAdjustment.py +0 -29
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/PriceQuantity.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Status.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TaxCategory.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TaxMode.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TaxRatesUsed.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TimePeriod.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/Totals.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionDetailsPreview.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionLineItemPreview.py +0 -28
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionOrigin.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionPaymentAttempt.py +0 -35
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionPayoutTotals.py +0 -36
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionPayoutTotalsAdjusted.py +0 -29
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionStatus.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionTotals.py +0 -36
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/TransactionTotalsAdjusted.py +0 -28
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/UnitPriceOverride.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/UnitTotals.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Shared/__init__.py +0 -56
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscription.py +0 -86
- paddle_python_sdk-0.2.2/paddle_billing/Entities/SubscriptionPreview.py +0 -79
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionAdjustmentItem.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionAdjustmentPreview.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionCharge.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionCredit.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionDetails.py +0 -34
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionDiscount.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionEffectiveFrom.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionItem.py +0 -35
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionItemStatus.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionItems.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionItemsWithPrice.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionManagementUrls.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionNextTransaction.py +0 -23
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionNonCatalogPrice.py +0 -30
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionNonCatalogPriceWithProduct.py +0 -32
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionNonCatalogProduct.py +0 -26
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionOnPaymentFailure.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionPreviewSubscriptionUpdateSummary.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionProration.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionProrationBillingMode.py +0 -9
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionResult.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionResultAction.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionResumeEffectiveFrom.py +0 -5
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionScheduledChange.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionScheduledChangeAction.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionStatus.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionTimePeriod.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionTransactionItem.py +0 -23
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionTransactionLineItem.py +0 -33
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/SubscriptionUpdateItem.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Subscriptions/__init__.py +0 -30
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transaction.py +0 -98
- paddle_python_sdk-0.2.2/paddle_billing/Entities/TransactionData.py +0 -15
- paddle_python_sdk-0.2.2/paddle_billing/Entities/TransactionPreview.py +0 -40
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionAdjustmentsTotals.py +0 -30
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionBreakdown.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionCardType.py +0 -14
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionCreateItem.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionCreateItemWithPrice.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionDetails.py +0 -32
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionItem.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionItemPreviewWithNonCatalogPrice.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionItemPreviewWithPrice.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionItemPreviewWithPriceId.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionLineItem.py +0 -35
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionNonCatalogPrice.py +0 -39
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionNonCatalogPriceWithProduct.py +0 -41
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionNonCatalogProduct.py +0 -25
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionProration.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionTimePeriod.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/TransactionUpdateTransactionItem.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Entities/Transactions/__init__.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Environment.py +0 -14
- paddle_python_sdk-0.2.2/paddle_billing/Exceptions/ApiError.py +0 -30
- paddle_python_sdk-0.2.2/paddle_billing/Exceptions/FieldError.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Exceptions/SdkExceptions/InvalidArgumentException.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Exceptions/SdkExceptions/MalformedResponse.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/FiltersNone.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/FiltersUndefined.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Logger/Formatter.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Logger/__init__.py +0 -30
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Address.py +0 -44
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Adjustment.py +0 -45
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Adjustments/AdjustmentItem.py +0 -26
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Adjustments/__init__.py +0 -1
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Business.py +0 -39
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Businesses/BusinessesContacts.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Customer.py +0 -36
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/DateTime.py +0 -43
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Discount.py +0 -51
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Discounts/DiscountStatus.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Discounts/DiscountType.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Discounts/__init__.py +0 -2
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Entity.py +0 -12
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Payout.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Payouts/PayoutStatus.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Price.py +0 -66
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Product.py +0 -45
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Report.py +0 -32
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Reports/ReportFilter.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Reports/ReportFilterName.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Reports/ReportFilterOperator.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Reports/ReportStatus.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Reports/ReportType.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Reports/__init__.py +0 -5
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Action.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AddressPreview.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AdjustmentItemTotals.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AdjustmentProration.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AdjustmentStatus.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AdjustmentTimePeriod.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AdjustmentTotals.py +0 -26
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AdjustmentType.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/AvailablePaymentMethods.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/BillingDetails.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Card.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/CatalogType.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/ChargebackFee.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Checkout.py +0 -12
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/CollectionMode.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/CountryCode.py +0 -233
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/CurrencyCode.py +0 -34
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/CurrencyCodeAdjustments.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/CurrencyCodePayouts.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/CustomData.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Data.py +0 -9
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/ErrorCode.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/ImportMeta.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Interval.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/MethodDetails.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Money.py +0 -28
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Original.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/PaymentAttemptStatus.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/PaymentMethodType.py +0 -15
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/PayoutTotalsAdjustment.py +0 -29
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/PriceQuantity.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Status.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TaxCategory.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TaxMode.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TaxRatesUsed.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TimePeriod.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/Totals.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TransactionOrigin.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TransactionPaymentAttempt.py +0 -35
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TransactionPayoutTotals.py +0 -36
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TransactionPayoutTotalsAdjusted.py +0 -29
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TransactionStatus.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TransactionTotals.py +0 -36
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/TransactionTotalsAdjusted.py +0 -28
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/UnitPriceOverride.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/UnitTotals.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Shared/__init__.py +0 -46
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscription.py +0 -76
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionAdjustmentItem.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionCharge.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionCredit.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionDiscount.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionEffectiveFrom.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionItem.py +0 -35
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionItemStatus.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionOnPaymentFailure.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionPrice.py +0 -57
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionScheduledChange.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionScheduledChangeAction.py +0 -7
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionStatus.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/SubscriptionTimePeriod.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Subscriptions/__init__.py +0 -13
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transaction.py +0 -75
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionAdjustmentsTotals.py +0 -30
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionBreakdown.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionCardType.py +0 -14
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionDetails.py +0 -32
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionItem.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionLineItem.py +0 -35
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionProration.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/TransactionTimePeriod.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Entities/Transactions/__init__.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/AddressCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/AddressUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/AdjustmentCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/AdjustmentUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/BusinessCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/BusinessUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/CustomerCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/CustomerUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/DiscountCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/DiscountImported.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/DiscountUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/PayoutCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/PayoutPaid.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/PriceCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/PriceUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/ProductCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/ProductUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/ReportCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/ReportUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionActivated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionCanceled.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionImported.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionPastDue.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionPaused.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionResumed.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionTrialing.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/SubscriptionUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionBilled.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionCanceled.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionCompleted.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionCreated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionPaid.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionPastDue.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionPaymentFailed.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionReady.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Events/TransactionUpdated.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/PaddleSignature.py +0 -128
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Secret.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/Verifier.py +0 -55
- paddle_python_sdk-0.2.2/paddle_billing/Notifications/__init__.py +0 -3
- paddle_python_sdk-0.2.2/paddle_billing/Options.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/PaddleStrEnum.py +0 -103
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Addresses/AddressesClient.py +0 -58
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Addresses/Operations/CreateAddress.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Addresses/Operations/ListAddresses.py +0 -42
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Addresses/Operations/UpdateAddress.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Adjustments/AdjustmentsClient.py +0 -36
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Adjustments/Operations/Create/AdjustmentItem.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Adjustments/Operations/CreateAdjustment.py +0 -28
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Adjustments/Operations/ListAdjustments.py +0 -60
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Adjustments/Operations/__init__.py +0 -3
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Businesses/BusinessesClient.py +0 -58
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Businesses/Operations/CreateBusiness.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Businesses/Operations/ListBusinesses.py +0 -45
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Businesses/Operations/UpdateBusiness.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Customers/CustomersClient.py +0 -65
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Customers/Operations/CreateCustomer.py +0 -16
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Customers/Operations/ListCreditBalances.py +0 -28
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Customers/Operations/ListCustomers.py +0 -50
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Customers/Operations/UpdateCustomer.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Customers/Operations/__init__.py +0 -4
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Discounts/DiscountsClient.py +0 -55
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Discounts/Operations/CreateDiscount.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Discounts/Operations/ListDiscounts.py +0 -46
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Discounts/Operations/UpdateDiscount.py +0 -25
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Discounts/Operations/__init__.py +0 -3
- paddle_python_sdk-0.2.2/paddle_billing/Resources/EventTypes/EventTypesClient.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Events/EventsClient.py +0 -26
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Events/Operations/ListEvents.py +0 -12
- paddle_python_sdk-0.2.2/paddle_billing/Resources/NotificationLogs/NotificationLogsClient.py +0 -26
- paddle_python_sdk-0.2.2/paddle_billing/Resources/NotificationLogs/Operations/ListNotificationLogs.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Resources/NotificationSettings/NotificationSettingsClient.py +0 -54
- paddle_python_sdk-0.2.2/paddle_billing/Resources/NotificationSettings/Operations/CreateNotificationSetting.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Resources/NotificationSettings/Operations/UpdateNotificationSetting.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Resources/NotificationSettings/Operations/__init__.py +0 -2
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Notifications/NotificationsClient.py +0 -44
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Notifications/Operations/ListNotifications.py +0 -58
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Prices/Operations/CreatePrice.py +0 -23
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Prices/Operations/List/Includes.py +0 -5
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Prices/Operations/ListPrices.py +0 -62
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Prices/Operations/UpdatePrice.py +0 -23
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Prices/Operations/__init__.py +0 -4
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Prices/PricesClient.py +0 -65
- paddle_python_sdk-0.2.2/paddle_billing/Resources/PricingPreviews/Operations/PreviewPrice.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Resources/PricingPreviews/PricingPreviewsClient.py +0 -20
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Products/Operations/CreateProduct.py +0 -18
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Products/Operations/List/Includes.py +0 -5
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Products/Operations/ListProducts.py +0 -59
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Products/Operations/UpdateProduct.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Products/Operations/__init__.py +0 -4
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Products/ProductsClient.py +0 -70
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Reports/Operations/CreateReport.py +0 -27
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Reports/Operations/ListReports.py +0 -35
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Reports/Operations/__init__.py +0 -2
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Reports/ReportsClient.py +0 -51
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Shared/Operations/List/Comparator.py +0 -8
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Shared/Operations/List/DateComparison.py +0 -31
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Shared/Operations/List/OrderBy.py +0 -21
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Shared/Operations/List/Pager.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Shared/Operations/__init__.py +0 -4
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/CancelSubscription.py +0 -12
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/CreateOneTimeCharge.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/Get/Includes.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/ListSubscriptions.py +0 -59
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/PauseSubscription.py +0 -19
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/PreviewOneTimeCharge.py +0 -22
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/PreviewUpdateSubscription.py +0 -37
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/ResumeSubscription.py +0 -17
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/Update/SubscriptionDiscount.py +0 -9
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/UpdateSubscription.py +0 -37
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/__init__.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/SubscriptionsClient.py +0 -121
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/CreateTransaction.py +0 -25
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/List/Includes.py +0 -11
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/List/Origin.py +0 -10
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/ListTransactions.py +0 -86
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/PreviewTransaction.py +0 -24
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/UpdateTransaction.py +0 -25
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/__init__.py +0 -6
- paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/TransactionsClient.py +0 -90
- paddle_python_sdk-0.2.2/paddle_billing/ResponseParser.py +0 -71
- paddle_python_sdk-0.2.2/paddle_billing/__init__.py +0 -4
- paddle_python_sdk-0.2.2/paddle_python_sdk.egg-info/PKG-INFO +0 -184
- paddle_python_sdk-0.2.2/paddle_python_sdk.egg-info/SOURCES.txt +0 -523
- paddle_python_sdk-0.2.2/paddle_python_sdk.egg-info/requires.txt +0 -8
- paddle_python_sdk-0.2.2/setup.cfg +0 -4
- paddle_python_sdk-0.2.2/setup.py +0 -41
- paddle_python_sdk-0.2.2/tests/Functional/Client/test_Client.py +0 -168
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Addresses/test_AddressesClient.py +0 -371
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Adjustments/test_AdjustmentsClient.py +0 -188
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Businesses/test_BusinessesClient.py +0 -279
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Customers/test_CustomersClient.py +0 -291
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Discounts/test_DiscountsClient.py +0 -280
- paddle_python_sdk-0.2.2/tests/Functional/Resources/EventTypes/test_EventTypesClient.py +0 -43
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Events/test_EventsClient.py +0 -64
- paddle_python_sdk-0.2.2/tests/Functional/Resources/NotificationLogs/test_NotificationLogsClient.py +0 -68
- paddle_python_sdk-0.2.2/tests/Functional/Resources/NotificationSettings/test_NotificationSettingsClient.py +0 -291
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Notifications/test_NotificationsClient.py +0 -202
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Prices/test_PricesClient.py +0 -307
- paddle_python_sdk-0.2.2/tests/Functional/Resources/PricingPreviews/test_PricingPreviewsClient.py +0 -92
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Products/test_ProductsClient.py +0 -271
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Reports/test_ReportsClient.py +0 -197
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Subscriptions/test_SubscriptionsClient.py +0 -758
- paddle_python_sdk-0.2.2/tests/Functional/Resources/Transactions/test_TransactionsClient.py +0 -585
- paddle_python_sdk-0.2.2/tests/Unit/Logger/test_Logger.py +0 -10
- paddle_python_sdk-0.2.2/tests/Unit/Notification/test_Verifier.py +0 -63
- paddle_python_sdk-0.2.2/tests/Unit/PaddleStrEnum/test_PaddleStrEnum.py +0 -71
- paddle_python_sdk-0.2.2/tests/Utils/FakeResponse.py +0 -6
- paddle_python_sdk-0.2.2/tests/Utils/ReadsFixture.py +0 -33
- paddle_python_sdk-0.2.2/tests/Utils/TestClient.py +0 -59
- paddle_python_sdk-0.2.2/tests/Utils/TestLogger.py +0 -28
- paddle_python_sdk-0.2.2/tests/Utils/__init__.py +0 -1
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/LICENSE +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/README.md +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/examples/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Entities/Events/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Entities/NotificationSettings/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Entities/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/EnumStringify.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/AddressApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/AdjustmentApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/BusinessApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/CustomerApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/DiscountApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/PriceApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/ProductApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/SubscriptionApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/TransactionApiError.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/ApiErrors/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/SdkException.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/SdkExceptions/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Exceptions/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/HasParameters.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Logger/NullHandler.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Notifications/Entities/Businesses/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Notifications/Entities/Payouts/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Notifications/Entities/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Notifications/Events/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/RecursivelyRemoveKey.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Addresses/Operations/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Addresses/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Adjustments/Operations/Create/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Adjustments/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Businesses/Operations/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Businesses/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Customers/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Discounts/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/EventTypes/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Events/Operations/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Events/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/NotificationLogs/Operations/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/NotificationLogs/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/NotificationSettings/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Notifications/Operations/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Notifications/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Prices/Operations/List/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Prices/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/PricingPreviews/Operations/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/PricingPreviews/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Products/Operations/List/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Products/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Reports/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Shared/Operations/List/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Shared/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Resources/Subscriptions/Operations/Get/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions/Operations/Update → paddle_python_sdk-0.3.0/paddle_billing/Resources/Subscriptions}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/paddle_billing/Resources/Subscriptions → paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions/Operations/List}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions/Operations/List → paddle_python_sdk-0.3.0/paddle_billing/Resources/Transactions}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/paddle_billing/Resources/Transactions → paddle_python_sdk-0.3.0/paddle_billing/Resources}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_billing/Undefined.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_python_sdk.egg-info/dependency_links.txt +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/paddle_python_sdk.egg-info/top_level.txt +0 -0
- {paddle_python_sdk-0.2.2/paddle_billing/Resources → paddle_python_sdk-0.3.0/tests/Functional/Client}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Client → paddle_python_sdk-0.3.0/tests/Functional/Resources/Addresses}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Resources/Addresses → paddle_python_sdk-0.3.0/tests/Functional/Resources/Adjustments}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Resources/Adjustments → paddle_python_sdk-0.3.0/tests/Functional/Resources/Businesses}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Resources/Businesses → paddle_python_sdk-0.3.0/tests/Functional/Resources/Customers}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Resources/Customers → paddle_python_sdk-0.3.0/tests/Functional/Resources/Discounts}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Resources/Discounts → paddle_python_sdk-0.3.0/tests/Functional/Resources/EventTypes}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Resources/EventTypes → paddle_python_sdk-0.3.0/tests/Functional/Resources/Events}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2/tests/Functional/Resources/Events → paddle_python_sdk-0.3.0/tests/Functional/Resources/IPAddresses}/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/NotificationLogs/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/NotificationSettings/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/Notifications/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/Prices/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/PricingPreviews/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/Products/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/Reports/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/Subscriptions/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/Transactions/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/Resources/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Functional/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Unit/Logger/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Unit/Notification/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Unit/PaddleStrEnum/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/Unit/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/__init__.py +0 -0
- {paddle_python_sdk-0.2.2 → paddle_python_sdk-0.3.0}/tests/conftest.py +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: paddle-python-sdk
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Paddle's Python SDK for Paddle Billing
|
|
5
|
+
Home-page: https://developer.paddle.com/api-reference/overview
|
|
6
|
+
Author: Paddle and contributors
|
|
7
|
+
Author-email: team-dx@paddle.com
|
|
8
|
+
License: Apache-2.0
|
|
9
|
+
Keywords: paddle,sdk,python
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Requires-Python: >=3.11
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: requests>=2.31
|
|
20
|
+
Requires-Dist: urllib3>=1.26.18
|
|
21
|
+
Provides-Extra: dev
|
|
22
|
+
Requires-Dist: pytest<8.4.0,>=7.4.4; extra == "dev"
|
|
23
|
+
Requires-Dist: pytest-cov~=4.1.0; extra == "dev"
|
|
24
|
+
Requires-Dist: requests-mock~=1.11.0; extra == "dev"
|
|
25
|
+
Requires-Dist: setuptools>=69.0.3; extra == "dev"
|
|
26
|
+
Requires-Dist: pre-commit>=3.8.0; extra == "dev"
|
|
27
|
+
Requires-Dist: black>=24.8.0; extra == "dev"
|
|
28
|
+
Requires-Dist: flake8>=7.1.1; extra == "dev"
|
|
29
|
+
|
|
30
|
+
[](https://github.com/PaddleHQ/paddle-python-sdk/actions/?query=branch%3Amain)
|
|
31
|
+
[](https://pypi.python.org/pypi/paddle-python-sdk)
|
|
32
|
+
[](https://pypi.python.org/pypi/paddle-python-sdk/)
|
|
33
|
+
[](http://www.apache.org/licenses/LICENSE-2.0)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# paddle-python-sdk
|
|
37
|
+
[Paddle Billing](https://www.paddle.com/billing?utm_source=dx&utm_medium=paddle-python-sdk) is a complete digital product sales and subscription management platform, designed for modern software businesses. It helps you increase your revenue, retain customers, and scale your operations.
|
|
38
|
+
|
|
39
|
+
This is a [Python](https://www.python.org/) SDK that you can use to integrate Paddle Billing with applications written in Python.
|
|
40
|
+
|
|
41
|
+
For working with Paddle in your frontend, use [Paddle.js](https://developer.paddle.com/paddlejs/overview?utm_source=dx&utm_medium=paddle-python-sdk). You can open checkouts, securely collect payment information, build pricing pages, and integrate with Paddle Retain.
|
|
42
|
+
|
|
43
|
+
> **Important:** This package works with Paddle Billing. It does not support Paddle Classic. To work with Paddle Classic, see: [Paddle Classic API reference](https://developer.paddle.com/classic/api-reference/1384a288aca7a-api-reference?utm_source=dx&utm_medium=paddle-python-sdk)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## Table of contents
|
|
47
|
+
- [Requirements](#Requirements)
|
|
48
|
+
- [Install](#Install)
|
|
49
|
+
- [Usage](#Usage)
|
|
50
|
+
- [Examples](#Examples)
|
|
51
|
+
- [Resources](#Resources)
|
|
52
|
+
|
|
53
|
+
## Requirements
|
|
54
|
+
Python>=3.11 (for native type hinting, StrEnum, trailing commas, f-strings)
|
|
55
|
+
|
|
56
|
+
**Project dependencies** (automatically installed by pip):
|
|
57
|
+
- requests>=2.31
|
|
58
|
+
- urllib3>=2.1.0
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## Install
|
|
62
|
+
Because `paddle-python-sdk` is [available on PyPi](https://pypi.org/project/paddle-python-sdk/), installation is as simple as running the following `pip` command:
|
|
63
|
+
|
|
64
|
+
`pip install paddle-python-sdk`
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## Usage
|
|
69
|
+
To authenticate, you'll need an API key. You can create and manage API keys in **Paddle > Developer tools > Authentication**.
|
|
70
|
+
|
|
71
|
+
Pass your API key while initializing a new Paddle client:
|
|
72
|
+
``` python
|
|
73
|
+
from paddle_billing import Client
|
|
74
|
+
|
|
75
|
+
paddle = Client('PADDLE_API_SECRET_KEY')
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
You can pass your Paddle API secret key into the SDK from an environment variable:
|
|
79
|
+
``` python
|
|
80
|
+
from os import getenv
|
|
81
|
+
from paddle_billing import Client
|
|
82
|
+
|
|
83
|
+
paddle = Client(getenv('PADDLE_API_SECRET_KEY'))
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
You can also pass an environment to work with Paddle's sandbox:
|
|
87
|
+
``` python
|
|
88
|
+
from paddle_billing import Client, Environment, Options
|
|
89
|
+
|
|
90
|
+
paddle = Client('PADDLE_API_SECRET_KEY', options=Options(Environment.SANDBOX))
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Keep in mind that API keys are separate for your sandbox and live accounts, so you'll need to generate keys for each environment.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## Examples
|
|
98
|
+
There are examples included in the [examples folder](https://github.com/PaddleHQ/paddle-python-sdk/tree/main/examples). To prevent leaking errors we recommend encapsulating Paddle operations inside Try/Except blocks. For brevity, most of the examples below do not do this.
|
|
99
|
+
|
|
100
|
+
### List entities
|
|
101
|
+
You can list supported entities with the `list()` method in the resource. It returns an iterator to help when working with multiple pages.
|
|
102
|
+
``` python
|
|
103
|
+
from paddle_billing import Client
|
|
104
|
+
|
|
105
|
+
paddle = Client('PADDLE_API_SECRET_KEY')
|
|
106
|
+
|
|
107
|
+
products = paddle.products.list()
|
|
108
|
+
|
|
109
|
+
# list() returns an iterable, so pagination is automatically handled
|
|
110
|
+
for product in products:
|
|
111
|
+
print(f"Product's id: {product.id}")
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Get an entity
|
|
115
|
+
You can get an entity with the `get()` method in the resource. It accepts the `id` of the entity to get. The entity is returned.
|
|
116
|
+
``` python
|
|
117
|
+
from paddle_billing import Client
|
|
118
|
+
|
|
119
|
+
paddle = Client('PADDLE_API_SECRET_KEY')
|
|
120
|
+
|
|
121
|
+
product = paddle.products.get('PRODUCT_ID')
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Create an entity
|
|
125
|
+
You can create a supported entity with the `create()` method in the resource. It accepts the resource's corresponding `CreateOperation` e.g. `CreateProduct`. The created entity is returned.
|
|
126
|
+
|
|
127
|
+
``` python
|
|
128
|
+
from paddle_billing import Client
|
|
129
|
+
from paddle_billing.Entities.Shared.TaxCategory import TaxCategory
|
|
130
|
+
from paddle_billing.Resources.Products.Operations import CreateProduct
|
|
131
|
+
|
|
132
|
+
paddle = Client('PADDLE_API_SECRET_KEY')
|
|
133
|
+
|
|
134
|
+
created_product = paddle.products.create(CreateProduct(
|
|
135
|
+
name = 'My Product',
|
|
136
|
+
tax_category = TaxCategory.Standard,
|
|
137
|
+
))
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Update an entity
|
|
141
|
+
You can update a supported entity with the `update()` method in the resource. It accepts the `id` of the entity to update and the corresponding `UpdateOperation` e.g. `UpdateProduct`. The updated entity is returned.
|
|
142
|
+
``` python
|
|
143
|
+
from paddle_billing import Client
|
|
144
|
+
from paddle_billing.Resources.Products.Operations import UpdateProduct
|
|
145
|
+
|
|
146
|
+
paddle = Client('PADDLE_API_SECRET_KEY')
|
|
147
|
+
|
|
148
|
+
# Update the name of the product
|
|
149
|
+
updated_product = paddle.products.update('PRODUCT_ID', UpdateProduct(
|
|
150
|
+
name = 'My Improved Product'
|
|
151
|
+
))
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Where operations require more than one `id`, the `update()` method accepts multiple arguments. For example, to update an address for a customer, pass the `customerId` and the `addressId`:
|
|
155
|
+
``` python
|
|
156
|
+
updated_address = paddle.addresses.update(
|
|
157
|
+
'CUSTOMER_ID',
|
|
158
|
+
'ADDRESS_ID',
|
|
159
|
+
operation_goes_here,
|
|
160
|
+
)
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Delete an entity
|
|
164
|
+
You can delete an entity with the `delete()` method in the resource. It accepts the `id` of the entity to delete. The deleted entity is returned.
|
|
165
|
+
``` python
|
|
166
|
+
from paddle_billing import Client
|
|
167
|
+
|
|
168
|
+
paddle = Client('PADDLE_API_SECRET_KEY')
|
|
169
|
+
|
|
170
|
+
deleted_product = paddle.products.delete('PRODUCT_ID')
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
## Resources
|
|
175
|
+
|
|
176
|
+
### Webhook signature verification
|
|
177
|
+
The SDK includes a helper class to verify webhook signatures sent by Notifications from Paddle.
|
|
178
|
+
|
|
179
|
+
``` python
|
|
180
|
+
from paddle_billing.Notifications import Secret, Verifier
|
|
181
|
+
|
|
182
|
+
integrity_check = Verifier().verify(request, Secret('WEBHOOK_SECRET_KEY'))
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## Learn more
|
|
186
|
+
- [Paddle API reference](https://developer.paddle.com/api-reference/overview?utm_source=dx&utm_medium=paddle-python-sdk)
|
|
187
|
+
- [Sign up for Paddle Billing](https://login.paddle.com/signup?utm_source=dx&utm_medium=paddle-python-sdk)
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
from logging import getLogger
|
|
2
|
+
from os import getenv
|
|
3
|
+
from sys import exit # You should use classes/functions that returns instead of exits
|
|
4
|
+
|
|
5
|
+
from paddle_billing import Client, Environment, Options
|
|
6
|
+
|
|
7
|
+
from paddle_billing.Entities.Shared import (
|
|
8
|
+
CountryCode,
|
|
9
|
+
CurrencyCode,
|
|
10
|
+
CustomData,
|
|
11
|
+
Duration,
|
|
12
|
+
Money,
|
|
13
|
+
PriceQuantity,
|
|
14
|
+
UnitPriceOverride,
|
|
15
|
+
Interval,
|
|
16
|
+
Status,
|
|
17
|
+
TaxCategory,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
from paddle_billing.Exceptions.ApiError import ApiError
|
|
21
|
+
|
|
22
|
+
from paddle_billing.Resources.Prices.Operations import CreatePrice, UpdatePrice, PriceIncludes
|
|
23
|
+
from paddle_billing.Resources.Products.Operations import CreateProduct, UpdateProduct, ProductIncludes, ListProducts
|
|
24
|
+
|
|
25
|
+
log = getLogger("my_app")
|
|
26
|
+
|
|
27
|
+
# Verify your Paddle API key was provided by a PADDLE_SECRET_API_KEY environment variable
|
|
28
|
+
# It is strongly advised that you do not include secrets in your source code
|
|
29
|
+
# Use environment variables, and/or secrets management like Vault to obtain your secrets
|
|
30
|
+
api_key: str = getenv("PADDLE_SECRET_API_KEY", None)
|
|
31
|
+
if not api_key:
|
|
32
|
+
raise ValueError("You must provide the PADDLE_SECRET_API_KEY in your environment variables")
|
|
33
|
+
|
|
34
|
+
# Determine the environment, defaulting to sandbox
|
|
35
|
+
environment = Environment(getenv("PADDLE_ENVIRONMENT", "sandbox"))
|
|
36
|
+
|
|
37
|
+
# Initialize the Paddle client
|
|
38
|
+
paddle = Client(api_key, options=Options(environment), logger=log)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# ┌───
|
|
42
|
+
# │ Create Product │
|
|
43
|
+
# └────────────────┘
|
|
44
|
+
try:
|
|
45
|
+
product = paddle.products.create(
|
|
46
|
+
CreateProduct(
|
|
47
|
+
name="Kitten Service",
|
|
48
|
+
tax_category=TaxCategory.Standard,
|
|
49
|
+
description="Simply an awesome product",
|
|
50
|
+
image_url="https://placekitten.com/200/300",
|
|
51
|
+
custom_data=CustomData({"foo": "bar"}),
|
|
52
|
+
)
|
|
53
|
+
)
|
|
54
|
+
except ApiError as error:
|
|
55
|
+
print(error)
|
|
56
|
+
exit(1)
|
|
57
|
+
|
|
58
|
+
print(f"Created product '{product.id}': {product.description}")
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
# ┌───
|
|
62
|
+
# │ Update Product │
|
|
63
|
+
# └────────────────┘
|
|
64
|
+
try:
|
|
65
|
+
product = paddle.products.update(
|
|
66
|
+
product.id,
|
|
67
|
+
UpdateProduct(
|
|
68
|
+
name="Bear Service",
|
|
69
|
+
image_url="https://placebear.com/200/300",
|
|
70
|
+
custom_data=CustomData({"beep": "boop"}),
|
|
71
|
+
),
|
|
72
|
+
)
|
|
73
|
+
except ApiError as error:
|
|
74
|
+
print(error)
|
|
75
|
+
exit(1)
|
|
76
|
+
|
|
77
|
+
print(f"Updated product '{product.id}': {product.description}")
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
# ┌───
|
|
81
|
+
# │ Create Price │
|
|
82
|
+
# └──────────────┘
|
|
83
|
+
try:
|
|
84
|
+
price = paddle.prices.create(
|
|
85
|
+
CreatePrice(
|
|
86
|
+
description="Bear Hug",
|
|
87
|
+
product_id=product.id,
|
|
88
|
+
unit_price=Money("1000", CurrencyCode.GBP),
|
|
89
|
+
trial_period=Duration(Interval.Week, 1),
|
|
90
|
+
billing_cycle=Duration(Interval.Year, 1),
|
|
91
|
+
quantity=PriceQuantity(1, 1),
|
|
92
|
+
custom_data=CustomData({"foo": "bar"}),
|
|
93
|
+
unit_price_overrides=[
|
|
94
|
+
UnitPriceOverride(
|
|
95
|
+
[CountryCode.CA, CountryCode.US],
|
|
96
|
+
Money("5000", CurrencyCode.USD),
|
|
97
|
+
),
|
|
98
|
+
],
|
|
99
|
+
)
|
|
100
|
+
)
|
|
101
|
+
except ApiError as error:
|
|
102
|
+
print(error)
|
|
103
|
+
exit(1)
|
|
104
|
+
|
|
105
|
+
print(f"Created price '{price.id}': {price.description}")
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
# ┌───
|
|
109
|
+
# │ Update Price │
|
|
110
|
+
# └──────────────┘
|
|
111
|
+
try:
|
|
112
|
+
price = paddle.prices.update(
|
|
113
|
+
price.id,
|
|
114
|
+
UpdatePrice(
|
|
115
|
+
description="One-off Bear Hug",
|
|
116
|
+
unit_price=Money("500", CurrencyCode.GBP),
|
|
117
|
+
custom_data=CustomData({"beep": "boop"}),
|
|
118
|
+
),
|
|
119
|
+
)
|
|
120
|
+
except ApiError as error:
|
|
121
|
+
print(error)
|
|
122
|
+
exit(1)
|
|
123
|
+
|
|
124
|
+
print(f"Updated price '{price.id}': {price.description}")
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
# ┌───
|
|
128
|
+
# │ Get Product with Prices │
|
|
129
|
+
# └─────────────────────────┘
|
|
130
|
+
try:
|
|
131
|
+
product = paddle.products.get(product.id, [ProductIncludes.Prices])
|
|
132
|
+
except ApiError as error:
|
|
133
|
+
print(error)
|
|
134
|
+
exit(1)
|
|
135
|
+
|
|
136
|
+
print(f"product.prices={product.prices}")
|
|
137
|
+
print(f"Read product '{product.id}' with prices " + ", ".join([str(price.id) for price in product.prices]))
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
# ┌───
|
|
141
|
+
# │ Get Price with Product │
|
|
142
|
+
# └────────────────────────┘
|
|
143
|
+
try:
|
|
144
|
+
price = paddle.prices.get(price.id, [PriceIncludes.Product])
|
|
145
|
+
except ApiError as error:
|
|
146
|
+
print(error)
|
|
147
|
+
exit(1)
|
|
148
|
+
|
|
149
|
+
print(f"Read price '{price.id}' with product {price.product.id if price.product else 'MISSING PRODUCT'}")
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
# ┌───
|
|
153
|
+
# │ Get Products │
|
|
154
|
+
# └──────────────┘
|
|
155
|
+
try:
|
|
156
|
+
products = paddle.products.list(
|
|
157
|
+
ListProducts(
|
|
158
|
+
includes=[ProductIncludes.Prices],
|
|
159
|
+
statuses=[Status.Active],
|
|
160
|
+
)
|
|
161
|
+
)
|
|
162
|
+
except ApiError as error:
|
|
163
|
+
print(error)
|
|
164
|
+
exit(1)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
# ┌───
|
|
168
|
+
# │ Iterate Products and Prices │
|
|
169
|
+
# └─────────────────────────────┘
|
|
170
|
+
for product in products:
|
|
171
|
+
print(f"Product: {product.name}")
|
|
172
|
+
print("-" * len(product.name))
|
|
173
|
+
for price in product.prices:
|
|
174
|
+
print(f"Price: {price.name} - {price.description}")
|
|
175
|
+
print()
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
from logging import getLogger
|
|
2
|
+
from os import getenv
|
|
3
|
+
from sys import exit # You should use classes/functions that returns instead of exits
|
|
4
|
+
|
|
5
|
+
from paddle_billing import Client, Environment, Options
|
|
6
|
+
|
|
7
|
+
from paddle_billing.Exceptions.ApiError import ApiError
|
|
8
|
+
|
|
9
|
+
from paddle_billing.Resources.Events.Operations import ListEvents
|
|
10
|
+
from paddle_billing.Resources.Shared.Operations import Pager
|
|
11
|
+
|
|
12
|
+
log = getLogger("my_app")
|
|
13
|
+
|
|
14
|
+
# Verify your Paddle API key was provided by a PADDLE_SECRET_API_KEY environment variable
|
|
15
|
+
# It is strongly advised that you do not include secrets in your source code
|
|
16
|
+
# Use environment variables, and/or secrets management like Vault to obtain your secrets
|
|
17
|
+
api_key: str = getenv("PADDLE_SECRET_API_KEY", None)
|
|
18
|
+
if not api_key:
|
|
19
|
+
raise ValueError("You must provide the PADDLE_SECRET_API_KEY in your environment variables")
|
|
20
|
+
|
|
21
|
+
# Determine the environment, defaulting to sandbox
|
|
22
|
+
environment = Environment(getenv("PADDLE_ENVIRONMENT", "sandbox"))
|
|
23
|
+
|
|
24
|
+
# Initialize the Paddle client
|
|
25
|
+
paddle = Client(api_key, options=Options(environment), logger=log)
|
|
26
|
+
|
|
27
|
+
# Placeholder for the last processed event ID
|
|
28
|
+
last_processed_event_id = "evt_01hfxx8t6ek9h399srcrp36jt3"
|
|
29
|
+
|
|
30
|
+
events = None
|
|
31
|
+
try:
|
|
32
|
+
# List events starting after the last processed event ID
|
|
33
|
+
events = paddle.events.list(ListEvents(Pager(after=last_processed_event_id)))
|
|
34
|
+
except ApiError as error:
|
|
35
|
+
log.error(error)
|
|
36
|
+
# Your additional logic that can handle Paddle's hints about what went wrong
|
|
37
|
+
except Exception as error:
|
|
38
|
+
log.error(f"We received an error listing events: {error}")
|
|
39
|
+
|
|
40
|
+
if not events:
|
|
41
|
+
print("There was an error trying to list events")
|
|
42
|
+
exit(1)
|
|
43
|
+
if not len(events.items):
|
|
44
|
+
log.warning("There are no events to list")
|
|
45
|
+
print("There are no products to list")
|
|
46
|
+
exit(0)
|
|
47
|
+
|
|
48
|
+
for event in events:
|
|
49
|
+
last_processed_event_id = event.event_id # Update the last processed event ID
|
|
50
|
+
print(f"event: {event.event_id}\t\t Type: {event.event_type.value:28}\t\t Occurred At: {event.occurred_at}")
|
|
51
|
+
# Your additional logic for using each event
|
|
52
|
+
|
|
53
|
+
# Now you're up-to-date, you should keep a record of the last processed event...
|
|
54
|
+
# db.save(db_events.update({last_processed_event_id=last_processed_event_id})
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
from logging import getLogger
|
|
2
|
+
from os import getenv
|
|
3
|
+
from sys import exit # You should use classes/functions that returns instead of exits
|
|
4
|
+
|
|
5
|
+
from paddle_billing import Client, Environment, Options
|
|
6
|
+
|
|
7
|
+
from paddle_billing.Exceptions.ApiError import ApiError
|
|
8
|
+
|
|
9
|
+
log = getLogger("my_app")
|
|
10
|
+
|
|
11
|
+
# Verify your Paddle API key was provided by a PADDLE_SECRET_API_KEY environment variable
|
|
12
|
+
# It is strongly advised that you do not include secrets in your source code
|
|
13
|
+
# Use environment variables, and/or secrets management like Vault to obtain your secrets
|
|
14
|
+
api_key = getenv("PADDLE_SECRET_API_KEY", None)
|
|
15
|
+
if not api_key:
|
|
16
|
+
raise ValueError("You must provide the PADDLE_SECRET_API_KEY in your environment variables")
|
|
17
|
+
|
|
18
|
+
# Determine the environment, defaulting to sandbox
|
|
19
|
+
environment = Environment(getenv("PADDLE_ENVIRONMENT", "sandbox"))
|
|
20
|
+
|
|
21
|
+
# Initialize the Paddle client
|
|
22
|
+
paddle = Client(api_key, options=Options(environment), logger=log)
|
|
23
|
+
|
|
24
|
+
products = None
|
|
25
|
+
try:
|
|
26
|
+
products = paddle.products.list()
|
|
27
|
+
except ApiError as error:
|
|
28
|
+
log.error(error)
|
|
29
|
+
# Your additional logic that can handle Paddle's hints about what went wrong.
|
|
30
|
+
print(f"error_type: {error.error_type}")
|
|
31
|
+
print(f"error_code: {error.error_code}")
|
|
32
|
+
print(f"detail: {error.detail}")
|
|
33
|
+
print(f"field_errors: {error.field_errors}")
|
|
34
|
+
print(f"response.status_code: {error.response.status_code}")
|
|
35
|
+
except Exception as error:
|
|
36
|
+
log.error(f"We received an error listing products: {error}")
|
|
37
|
+
|
|
38
|
+
if not products:
|
|
39
|
+
print("There was an error trying to list products")
|
|
40
|
+
exit(1)
|
|
41
|
+
if not len(products.items):
|
|
42
|
+
log.warning("There are no products to list, have you created one?")
|
|
43
|
+
print("There are no products to list")
|
|
44
|
+
exit(0)
|
|
45
|
+
|
|
46
|
+
# No need to specifically iterate products.items, products itself is iterable
|
|
47
|
+
for product in products:
|
|
48
|
+
print(f"Product's id: {product.id}")
|
|
49
|
+
# Your additional logic for using each product
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
from os import getenv
|
|
4
|
+
from paddle_billing import Client, Environment, Options
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Verify your Paddle API key was provided by a PADDLE_SECRET_API_KEY environment variable
|
|
8
|
+
# It is strongly advised that you do not include secrets in your source code
|
|
9
|
+
# Use environment variables, and/or secrets management like Vault to obtain your secrets
|
|
10
|
+
api_key = getenv("PADDLE_SECRET_API_KEY", None)
|
|
11
|
+
if not api_key:
|
|
12
|
+
raise ValueError("You must provide the PADDLE_SECRET_API_KEY in your environment variables")
|
|
13
|
+
|
|
14
|
+
# Determine the environment, defaulting to sandbox
|
|
15
|
+
environment = Environment(getenv("PADDLE_ENVIRONMENT", "sandbox"))
|
|
16
|
+
|
|
17
|
+
# Initialize the Paddle client
|
|
18
|
+
paddle = Client(
|
|
19
|
+
api_key,
|
|
20
|
+
options=Options(environment),
|
|
21
|
+
logger=logging.getLogger("my_app"),
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
# Set up logging to standard output
|
|
25
|
+
stdout_handler = logging.StreamHandler()
|
|
26
|
+
stdout_handler.setLevel(logging.INFO)
|
|
27
|
+
paddle.log.addHandler(stdout_handler)
|
|
28
|
+
|
|
29
|
+
# List products
|
|
30
|
+
products = paddle.products.list()
|
|
31
|
+
|
|
32
|
+
for product in products:
|
|
33
|
+
print(f"Product's id: {product.id}")
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from paddle_billing.Entities.Notifications import NotificationEvent
|
|
2
|
+
from paddle_billing.Notifications import Secret, Verifier
|
|
3
|
+
from examples.Utils.Requests.Request import Request
|
|
4
|
+
|
|
5
|
+
# This example requires environment variable TEST_MODE=1 to disable time drift checks, e.g.
|
|
6
|
+
# TEST_MODE=1 python webhook_verification.py
|
|
7
|
+
|
|
8
|
+
secret = "pdl_ntfset_01hs0t3tw21j988db1pam5xg8m_GrOWLNef+vmtjJYq4mSnHNzvc8uWoJ1I"
|
|
9
|
+
|
|
10
|
+
request = Request.create_from_fixture(
|
|
11
|
+
"webhook_payload.json",
|
|
12
|
+
{
|
|
13
|
+
"Paddle-Signature": "ts=1710498758;h1=558bf93944dbeb4790c7a8af6cb2ea435c8ca9c8396aafc1a4e37424ac132744",
|
|
14
|
+
},
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
integrity_check = Verifier().verify(request, Secret(secret))
|
|
18
|
+
|
|
19
|
+
if integrity_check is True:
|
|
20
|
+
print("Webhook is verified")
|
|
21
|
+
|
|
22
|
+
notification = NotificationEvent.from_request(request)
|
|
23
|
+
print(f"Notification ID: {notification.notification_id}")
|
|
24
|
+
print(f"Event ID: {notification.event_id}")
|
|
25
|
+
print(f"Event Type: {notification.event_type}")
|
|
26
|
+
print(f"Occurred At: {notification.occurred_at}")
|
|
27
|
+
|
|
28
|
+
customer = notification.data
|
|
29
|
+
print(f"Customer ID: {customer.id}")
|
|
30
|
+
print(f"Customer Name: {customer.name}")
|
|
31
|
+
print(f"Customer Email: {customer.email}")
|
|
32
|
+
else:
|
|
33
|
+
print("Webhook is not verified")
|