Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: API alignment #22

Merged
merged 19 commits into from
Jul 26, 2024
Merged

feat: API alignment #22

merged 19 commits into from
Jul 26, 2024

Conversation

mikeymike
Copy link
Contributor

This aligns the SDK with recent API changes

  • Introduces new TaxRatesUsed for Adjustments and required types
  • Updates some code comments

mikeymike added 18 commits July 26, 2024 07:29
NewCreateSubscriptionChargeItemsSubscriptionsSubscriptionsCatalogItem -> NewCreateSubscriptionChargeItemsSubscriptionsCatalogItem

NewPreviewSubscriptionChargeItemsSubscriptionsSubscriptionsCatalogItem -> NewPreviewSubscriptionChargeItemsSubscriptionsCatalogItem
PreviewTransaction -> PreviewTransactionCreate
PreviewTransactionRequest -> PreviewTransactionCreateRequest

CountryAndZipPostalCode -> TransactionPreviewByAddress
CountryAndZipPostalCodeItems -> TransactionPreviewByAddressItems
NewCountryAndZipPostalCodeItemsTransactionsCatalogItem -> NewTransactionPreviewByAddressItemsTransactionsCatalogItem
NewCountryAndZipPostalCodeItemsTransactionsNonCatalogPriceForAnExistingProduct -> NewTransactionPreviewByAddressItemsTransactionsNonCatalogPriceForAnExistingProduct
NewCountryAndZipPostalCodeItemsTransactionsNonCatalogPriceAndProduct -> NewTransactionPreviewByAddressItemsTransactionsNonCatalogPriceAndProduct

IPAddress -> TransactionPreviewByIP
IPAddressItems -> TransactionPreviewByIPItems
NewIPAddressItemsTransactionsCatalogItem -> NewTransactionPreviewByIPItemsTransactionsCatalogItem
NewIPAddressItemsTransactionsNonCatalogPriceForAnExistingProduct -> NewTransactionPreviewByIPItemsTransactionsNonCatalogPriceForAnExistingProduct
NewIPAddressItemsTransactionsNonCatalogPriceAndProduct -> NewTransactionPreviewByIPItemsTransactionsNonCatalogPriceAndProduct

ExistingCustomerPaddleIDs -> TransactionPreviewByCustomer
ExistingCustomerPaddleIDsItems -> TransactionPreviewByCustomerItems
NewExistingCustomerPaddleIDsItemsTransactionsCatalogItem -> NewTransactionPreviewByCustomerItemsTransactionsCatalogItem
NewExistingCustomerPaddleIDsItemsTransactionsNonCatalogPriceForAnExistingProduct -> NewTransactionPreviewByCustomerItemsTransactionsNonCatalogPriceForAnExistingProduct
NewExistingCustomerPaddleIDsItemsTransactionsNonCatalogPriceAndProduct -> NewTransactionPreviewByCustomerItemsTransactionsNonCatalogPriceAndProduct
Credit -> Money
Charge -> Money
PreviewSubscriptionRequest -> PreviewSubscriptionUpdateRequest
FormattedTotals, UnitTotals, FormattedUnitTotals -> Totals
- Introduces new EventTypeName type
- Fixes CreateNotificationSettingRequest
- Utilised new type where applicable
  - Notification
  - EventType
  - GenericEvent
  - GenericNotificationsEvent
@mikeymike mikeymike requested a review from a team as a code owner July 26, 2024 10:51
Base automatically changed from fix/event-type to main July 26, 2024 12:05
@mikeymike mikeymike dismissed stale reviews from davidgrayston-paddle and vijayasingam-paddle July 26, 2024 12:05

The base branch was changed.

@mikeymike mikeymike enabled auto-merge (squash) July 26, 2024 12:06
@mikeymike mikeymike merged commit 699d2fb into main Jul 26, 2024
5 checks passed
@mikeymike mikeymike deleted the feat/api-updates-jul-24 branch July 26, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants