From 219e2cf4d822ecc39b7dbf5e51ee4cf29af3a681 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 3 Jun 2025 15:09:35 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.555.0 --- .speakeasy/gen.lock | 90 +++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +-- README.md | 4 +- RELEASES.md | 12 ++- build.gradle | 2 +- ...ionAuditLogEntry.md => AuditLogEntries.md} | 2 +- .../{CollectionBuyer.md => Buyers.md} | 2 +- ...Definition.md => CardSchemeDefinitions.md} | 2 +- ...rsorDigitalWallet.md => DigitalWallets.md} | 2 +- ...iftCardSummary.md => GiftCardSummaries.md} | 2 +- .../{CollectionGiftCard.md => GiftCards.md} | 2 +- ...MerchantAccount.md => MerchantAccounts.md} | 2 +- ...CursorNetworkToken.md => NetworkTokens.md} | 2 +- ...odSummary.md => PaymentMethodSummaries.md} | 2 +- ...tionPaymentMethod.md => PaymentMethods.md} | 2 +- ...rsorPaymentOption.md => PaymentOptions.md} | 2 +- ...nition.md => PaymentServiceDefinitions.md} | 2 +- ...erviceToken.md => PaymentServiceTokens.md} | 2 +- ...onPaymentService.md => PaymentServices.md} | 2 +- ...ionPayoutSummary.md => PayoutSummaries.md} | 2 +- .../{CollectionRefund.md => Refunds.md} | 2 +- ...ReportExecution.md => ReportExecutions.md} | 2 +- .../{CollectionReport.md => Reports.md} | 2 +- ...ppingDetails.md => ShippingDetailsList.md} | 2 +- ...ansactionEvent.md => TransactionEvents.md} | 2 +- ...tionSummary.md => TransactionSummaries.md} | 2 +- .../CreateFullTransactionRefundResponse.md | 2 +- .../ListAllReportExecutionsResponse.md | 2 +- .../operations/ListAuditLogsResponse.md | 2 +- .../operations/ListBuyerGiftCardsResponse.md | 2 +- .../ListBuyerPaymentMethodsResponse.md | 2 +- .../ListBuyerShippingDetailsResponse.md | 2 +- docs/models/operations/ListBuyersResponse.md | 2 +- .../ListCardSchemeDefinitionsResponse.md | 2 +- .../operations/ListDigitalWalletsResponse.md | 2 +- .../ListGiftCardBalancesResponse.md | 2 +- .../operations/ListGiftCardsResponse.md | 2 +- .../ListMerchantAccountsResponse.md | 2 +- .../ListPaymentMethodNetworkTokensResponse.md | 2 +- ...ymentMethodPaymentServiceTokensResponse.md | 2 +- .../operations/ListPaymentMethodsResponse.md | 2 +- .../operations/ListPaymentOptionsResponse.md | 2 +- .../ListPaymentServiceDefinitionsResponse.md | 2 +- .../operations/ListPaymentServicesResponse.md | 2 +- docs/models/operations/ListPayoutsResponse.md | 2 +- .../ListReportExecutionsResponse.md | 2 +- docs/models/operations/ListReportsResponse.md | 2 +- .../ListTransactionEventsResponse.md | 2 +- .../ListTransactionRefundsResponse.md | 2 +- .../operations/ListTransactionsResponse.md | 2 +- docs/sdks/all/README.md | 2 +- docs/sdks/balances/README.md | 2 +- docs/sdks/buyersgiftcards/README.md | 2 +- docs/sdks/buyerspaymentmethods/README.md | 2 +- docs/sdks/cardschemedefinitions/README.md | 2 +- docs/sdks/digitalwallets/README.md | 2 +- docs/sdks/events/README.md | 2 +- docs/sdks/networktokens/README.md | 2 +- docs/sdks/paymentoptions/README.md | 2 +- docs/sdks/paymentservicetokens/README.md | 2 +- docs/sdks/reportsexecutions/README.md | 2 +- docs/sdks/shippingdetails/README.md | 2 +- docs/sdks/transactionsrefunds/README.md | 2 +- gradle.properties | 2 +- src/main/java/com/gr4vy/sdk/All.java | 8 +- src/main/java/com/gr4vy/sdk/AuditLogs.java | 8 +- src/main/java/com/gr4vy/sdk/Balances.java | 8 +- src/main/java/com/gr4vy/sdk/Buyers.java | 7 +- .../java/com/gr4vy/sdk/BuyersGiftCards.java | 8 +- .../com/gr4vy/sdk/BuyersPaymentMethods.java | 8 +- .../com/gr4vy/sdk/CardSchemeDefinitions.java | 7 +- .../java/com/gr4vy/sdk/DigitalWallets.java | 7 +- src/main/java/com/gr4vy/sdk/Events.java | 8 +- src/main/java/com/gr4vy/sdk/Executions.java | 8 +- src/main/java/com/gr4vy/sdk/GiftCards.java | 7 +- .../java/com/gr4vy/sdk/MerchantAccounts.java | 7 +- .../java/com/gr4vy/sdk/NetworkTokens.java | 7 +- .../java/com/gr4vy/sdk/PaymentMethods.java | 7 +- .../java/com/gr4vy/sdk/PaymentOptions.java | 7 +- .../gr4vy/sdk/PaymentServiceDefinitions.java | 7 +- .../com/gr4vy/sdk/PaymentServiceTokens.java | 7 +- .../java/com/gr4vy/sdk/PaymentServices.java | 7 +- src/main/java/com/gr4vy/sdk/Payouts.java | 8 +- src/main/java/com/gr4vy/sdk/Reports.java | 7 +- .../java/com/gr4vy/sdk/ReportsExecutions.java | 8 +- .../java/com/gr4vy/sdk/SDKConfiguration.java | 2 +- .../java/com/gr4vy/sdk/ShippingDetails.java | 8 +- src/main/java/com/gr4vy/sdk/Transactions.java | 8 +- .../com/gr4vy/sdk/TransactionsRefunds.java | 8 +- ...uditLogEntry.java => AuditLogEntries.java} | 28 +++--- .../{CollectionBuyer.java => Buyers.java} | 28 +++--- ...nition.java => CardSchemeDefinitions.java} | 14 +-- ...DigitalWallet.java => DigitalWallets.java} | 14 +-- ...ardSummary.java => GiftCardSummaries.java} | 14 +-- ...CollectionGiftCard.java => GiftCards.java} | 28 +++--- ...hantAccount.java => MerchantAccounts.java} | 28 +++--- ...orNetworkToken.java => NetworkTokens.java} | 14 +-- ...mmary.java => PaymentMethodSummaries.java} | 14 +-- ...PaymentMethod.java => PaymentMethods.java} | 28 +++--- ...PaymentOption.java => PaymentOptions.java} | 14 +-- ...on.java => PaymentServiceDefinitions.java} | 28 +++--- ...ceToken.java => PaymentServiceTokens.java} | 14 +-- ...ymentService.java => PaymentServices.java} | 28 +++--- ...ayoutSummary.java => PayoutSummaries.java} | 28 +++--- .../{CollectionRefund.java => Refunds.java} | 28 +++--- ...rtExecution.java => ReportExecutions.java} | 28 +++--- .../{CollectionReport.java => Reports.java} | 28 +++--- ...gDetails.java => ShippingDetailsList.java} | 14 +-- ...ctionEvent.java => TransactionEvents.java} | 28 +++--- ...Summary.java => TransactionSummaries.java} | 28 +++--- .../CreateFullTransactionRefundResponse.java | 48 +++++----- .../ListAllReportExecutionsResponse.java | 48 +++++----- .../operations/ListAuditLogsResponse.java | 48 +++++----- .../ListBuyerGiftCardsResponse.java | 48 +++++----- .../ListBuyerPaymentMethodsResponse.java | 48 +++++----- .../ListBuyerShippingDetailsResponse.java | 48 +++++----- .../models/operations/ListBuyersResponse.java | 48 +++++----- .../ListCardSchemeDefinitionsResponse.java | 48 +++++----- .../ListDigitalWalletsResponse.java | 48 +++++----- .../ListGiftCardBalancesResponse.java | 48 +++++----- .../operations/ListGiftCardsResponse.java | 48 +++++----- .../ListMerchantAccountsResponse.java | 48 +++++----- ...istPaymentMethodNetworkTokensResponse.java | 48 +++++----- ...entMethodPaymentServiceTokensResponse.java | 48 +++++----- .../ListPaymentMethodsResponse.java | 48 +++++----- .../ListPaymentOptionsResponse.java | 48 +++++----- ...ListPaymentServiceDefinitionsResponse.java | 48 +++++----- .../ListPaymentServicesResponse.java | 48 +++++----- .../operations/ListPayoutsResponse.java | 48 +++++----- .../ListReportExecutionsResponse.java | 48 +++++----- .../operations/ListReportsResponse.java | 48 +++++----- .../ListTransactionEventsResponse.java | 48 +++++----- .../ListTransactionRefundsResponse.java | 48 +++++----- .../operations/ListTransactionsResponse.java | 48 +++++----- 135 files changed, 1024 insertions(+), 1026 deletions(-) rename docs/models/components/{CollectionAuditLogEntry.md => AuditLogEntries.md} (98%) rename docs/models/components/{CollectionBuyer.md => Buyers.md} (98%) rename docs/models/components/{CollectionNoCursorCardSchemeDefinition.md => CardSchemeDefinitions.md} (96%) rename docs/models/components/{CollectionNoCursorDigitalWallet.md => DigitalWallets.md} (96%) rename docs/models/components/{CollectionNoCursorGiftCardSummary.md => GiftCardSummaries.md} (96%) rename docs/models/components/{CollectionGiftCard.md => GiftCards.md} (98%) rename docs/models/components/{CollectionMerchantAccount.md => MerchantAccounts.md} (98%) rename docs/models/components/{CollectionNoCursorNetworkToken.md => NetworkTokens.md} (96%) rename docs/models/components/{CollectionNoCursorPaymentMethodSummary.md => PaymentMethodSummaries.md} (96%) rename docs/models/components/{CollectionPaymentMethod.md => PaymentMethods.md} (98%) rename docs/models/components/{CollectionNoCursorPaymentOption.md => PaymentOptions.md} (96%) rename docs/models/components/{CollectionPaymentServiceDefinition.md => PaymentServiceDefinitions.md} (98%) rename docs/models/components/{CollectionNoCursorPaymentServiceToken.md => PaymentServiceTokens.md} (96%) rename docs/models/components/{CollectionPaymentService.md => PaymentServices.md} (98%) rename docs/models/components/{CollectionPayoutSummary.md => PayoutSummaries.md} (98%) rename docs/models/components/{CollectionRefund.md => Refunds.md} (98%) rename docs/models/components/{CollectionReportExecution.md => ReportExecutions.md} (98%) rename docs/models/components/{CollectionReport.md => Reports.md} (98%) rename docs/models/components/{CollectionNoCursorShippingDetails.md => ShippingDetailsList.md} (96%) rename docs/models/components/{CollectionTransactionEvent.md => TransactionEvents.md} (98%) rename docs/models/components/{CollectionTransactionSummary.md => TransactionSummaries.md} (98%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionAuditLogEntry.java => AuditLogEntries.java} (90%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionBuyer.java => Buyers.java} (91%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorCardSchemeDefinition.java => CardSchemeDefinitions.java} (80%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorDigitalWallet.java => DigitalWallets.java} (82%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorGiftCardSummary.java => GiftCardSummaries.java} (82%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionGiftCard.java => GiftCards.java} (90%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionMerchantAccount.java => MerchantAccounts.java} (89%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorNetworkToken.java => NetworkTokens.java} (82%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorPaymentMethodSummary.java => PaymentMethodSummaries.java} (80%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionPaymentMethod.java => PaymentMethods.java} (90%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorPaymentOption.java => PaymentOptions.java} (82%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionPaymentServiceDefinition.java => PaymentServiceDefinitions.java} (88%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorPaymentServiceToken.java => PaymentServiceTokens.java} (81%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionPaymentService.java => PaymentServices.java} (90%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionPayoutSummary.java => PayoutSummaries.java} (90%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionRefund.java => Refunds.java} (91%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionReportExecution.java => ReportExecutions.java} (89%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionReport.java => Reports.java} (91%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionNoCursorShippingDetails.java => ShippingDetailsList.java} (82%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionTransactionEvent.java => TransactionEvents.java} (89%) rename src/main/java/com/gr4vy/sdk/models/components/{CollectionTransactionSummary.java => TransactionSummaries.java} (89%) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index c74c1de7..3f76845e 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119 management: - docChecksum: e3771e00aea360bab79ef413c9e57e99 + docChecksum: 8a4b3ebc8f237643115c054cca75d13d docVersion: 1.0.0 speakeasyVersion: 1.555.0 generationVersion: 2.618.0 - releaseVersion: 1.0.0-beta.6 - configChecksum: ea7055c48ab992bf7a79e145ea4f9f5a + releaseVersion: 1.0.0-beta.7 + configChecksum: e7aac6e8b5dd41783d1083c4c4765adf repoURL: https://github.com/gr4vy/gr4vy-java.git published: true features: @@ -47,6 +47,7 @@ generatedFiles: - docs/models/components/ApplePaySessionRequest.md - docs/models/components/ApprovalTarget.md - docs/models/components/AuditLogAction.md + - docs/models/components/AuditLogEntries.md - docs/models/components/AuditLogEntry.md - docs/models/components/AuditLogEntryResource.md - docs/models/components/AuditLogEntryUser.md @@ -56,10 +57,12 @@ generatedFiles: - docs/models/components/Buyer.md - docs/models/components/BuyerCreate.md - docs/models/components/BuyerUpdate.md + - docs/models/components/Buyers.md - docs/models/components/CVVResponseCode.md - docs/models/components/CardPaymentMethodCreate.md - docs/models/components/CardScheme.md - docs/models/components/CardSchemeDefinition.md + - docs/models/components/CardSchemeDefinitions.md - docs/models/components/CardSource.md - docs/models/components/CardType.md - docs/models/components/CardWithUrlPaymentMethodCreate.md @@ -75,27 +78,6 @@ generatedFiles: - docs/models/components/ClickToPayPaymentMethodCreate.md - docs/models/components/ClickToPaySession.md - docs/models/components/ClickToPaySessionRequest.md - - docs/models/components/CollectionAuditLogEntry.md - - docs/models/components/CollectionBuyer.md - - docs/models/components/CollectionGiftCard.md - - docs/models/components/CollectionMerchantAccount.md - - docs/models/components/CollectionNoCursorCardSchemeDefinition.md - - docs/models/components/CollectionNoCursorDigitalWallet.md - - docs/models/components/CollectionNoCursorGiftCardSummary.md - - docs/models/components/CollectionNoCursorNetworkToken.md - - docs/models/components/CollectionNoCursorPaymentMethodSummary.md - - docs/models/components/CollectionNoCursorPaymentOption.md - - docs/models/components/CollectionNoCursorPaymentServiceToken.md - - docs/models/components/CollectionNoCursorShippingDetails.md - - docs/models/components/CollectionPaymentMethod.md - - docs/models/components/CollectionPaymentService.md - - docs/models/components/CollectionPaymentServiceDefinition.md - - docs/models/components/CollectionPayoutSummary.md - - docs/models/components/CollectionRefund.md - - docs/models/components/CollectionReport.md - - docs/models/components/CollectionReportExecution.md - - docs/models/components/CollectionTransactionEvent.md - - docs/models/components/CollectionTransactionSummary.md - docs/models/components/ConnectionOptions.md - docs/models/components/Context.md - docs/models/components/CreateSession.md @@ -111,6 +93,7 @@ generatedFiles: - docs/models/components/DigitalWalletDomain.md - docs/models/components/DigitalWalletProvider.md - docs/models/components/DigitalWalletUpdate.md + - docs/models/components/DigitalWallets.md - docs/models/components/ErrorDetail.md - docs/models/components/ErrorLocation.md - docs/models/components/Field.md @@ -124,10 +107,12 @@ generatedFiles: - docs/models/components/GiftCardService.md - docs/models/components/GiftCardServiceProvider.md - docs/models/components/GiftCardStoredRequest.md + - docs/models/components/GiftCardSummaries.md - docs/models/components/GiftCardSummary.md - docs/models/components/GiftCardTokenTransactionCreate.md - docs/models/components/GiftCardTransactionCreate.md - docs/models/components/GiftCardUnion.md + - docs/models/components/GiftCards.md - docs/models/components/GooglePayAssuranceDetails.md - docs/models/components/GooglePayFPANPaymentMethodCreate.md - docs/models/components/GooglePayPaymentMethodCreate.md @@ -142,6 +127,7 @@ generatedFiles: - docs/models/components/MerchantAccount.md - docs/models/components/MerchantAccountCreate.md - docs/models/components/MerchantAccountUpdate.md + - docs/models/components/MerchantAccounts.md - docs/models/components/MerchantProfileScheme.md - docs/models/components/MerchantProfileSchemeSummary.md - docs/models/components/Method.md @@ -151,24 +137,31 @@ generatedFiles: - docs/models/components/NetworkTokenCreate.md - docs/models/components/NetworkTokenPaymentMethodCreate.md - docs/models/components/NetworkTokenStatus.md + - docs/models/components/NetworkTokens.md - docs/models/components/PaymentMethod.md - docs/models/components/PaymentMethodCard.md - docs/models/components/PaymentMethodDetailsCard.md - docs/models/components/PaymentMethodStatus.md - docs/models/components/PaymentMethodStoredCard.md + - docs/models/components/PaymentMethodSummaries.md - docs/models/components/PaymentMethodSummary.md + - docs/models/components/PaymentMethods.md - docs/models/components/PaymentOption.md - docs/models/components/PaymentOptionContext.md - docs/models/components/PaymentOptionContextApprovalUI.md - docs/models/components/PaymentOptionRequest.md + - docs/models/components/PaymentOptions.md - docs/models/components/PaymentService.md - docs/models/components/PaymentServiceConfiguration.md - docs/models/components/PaymentServiceCreate.md - docs/models/components/PaymentServiceDefinition.md + - docs/models/components/PaymentServiceDefinitions.md - docs/models/components/PaymentServiceStatus.md - docs/models/components/PaymentServiceToken.md - docs/models/components/PaymentServiceTokenCreate.md + - docs/models/components/PaymentServiceTokens.md - docs/models/components/PaymentServiceUpdate.md + - docs/models/components/PaymentServices.md - docs/models/components/PayoutCategory.md - docs/models/components/PayoutCreate.md - docs/models/components/PayoutCreatePaymentMethod.md @@ -176,6 +169,7 @@ generatedFiles: - docs/models/components/PayoutMerchantSummary.md - docs/models/components/PayoutPaymentService.md - docs/models/components/PayoutStatus.md + - docs/models/components/PayoutSummaries.md - docs/models/components/PayoutSummary.md - docs/models/components/ProductType.md - docs/models/components/Recipient.md @@ -184,6 +178,7 @@ generatedFiles: - docs/models/components/Refund.md - docs/models/components/RefundStatus.md - docs/models/components/RefundTargetType.md + - docs/models/components/Refunds.md - docs/models/components/Report.md - docs/models/components/ReportCreate.md - docs/models/components/ReportCreatorType.md @@ -192,11 +187,13 @@ generatedFiles: - docs/models/components/ReportExecutionStatus.md - docs/models/components/ReportExecutionSummary.md - docs/models/components/ReportExecutionUrl.md + - docs/models/components/ReportExecutions.md - docs/models/components/ReportSchedule.md - docs/models/components/ReportSpec.md - docs/models/components/ReportSpecModel.md - docs/models/components/ReportSummary.md - docs/models/components/ReportUpdate.md + - docs/models/components/Reports.md - docs/models/components/RequiredCheckoutFields.md - docs/models/components/RequiredFields1.md - docs/models/components/RequiredFields2.md @@ -205,6 +202,7 @@ generatedFiles: - docs/models/components/Security.md - docs/models/components/ShippingDetails.md - docs/models/components/ShippingDetailsCreate.md + - docs/models/components/ShippingDetailsList.md - docs/models/components/ShippingDetailsUpdate.md - docs/models/components/Spec.md - docs/models/components/StatementDescriptor.md @@ -226,6 +224,7 @@ generatedFiles: - docs/models/components/TransactionCreate.md - docs/models/components/TransactionCreatePaymentMethod.md - docs/models/components/TransactionEvent.md + - docs/models/components/TransactionEvents.md - docs/models/components/TransactionGiftCard.md - docs/models/components/TransactionIntent.md - docs/models/components/TransactionIntentOutcome.md @@ -236,6 +235,7 @@ generatedFiles: - docs/models/components/TransactionRefundCreate.md - docs/models/components/TransactionRetriesReportSpec.md - docs/models/components/TransactionStatus.md + - docs/models/components/TransactionSummaries.md - docs/models/components/TransactionSummary.md - docs/models/components/TransactionThreeDSecureSummary.md - docs/models/components/TransactionsReportSpec.md @@ -513,6 +513,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/ApplePaySessionRequest.java - src/main/java/com/gr4vy/sdk/models/components/ApprovalTarget.java - src/main/java/com/gr4vy/sdk/models/components/AuditLogAction.java + - src/main/java/com/gr4vy/sdk/models/components/AuditLogEntries.java - src/main/java/com/gr4vy/sdk/models/components/AuditLogEntry.java - src/main/java/com/gr4vy/sdk/models/components/AuditLogEntryResource.java - src/main/java/com/gr4vy/sdk/models/components/AuditLogEntryUser.java @@ -522,10 +523,12 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/Buyer.java - src/main/java/com/gr4vy/sdk/models/components/BuyerCreate.java - src/main/java/com/gr4vy/sdk/models/components/BuyerUpdate.java + - src/main/java/com/gr4vy/sdk/models/components/Buyers.java - src/main/java/com/gr4vy/sdk/models/components/CVVResponseCode.java - src/main/java/com/gr4vy/sdk/models/components/CardPaymentMethodCreate.java - src/main/java/com/gr4vy/sdk/models/components/CardScheme.java - src/main/java/com/gr4vy/sdk/models/components/CardSchemeDefinition.java + - src/main/java/com/gr4vy/sdk/models/components/CardSchemeDefinitions.java - src/main/java/com/gr4vy/sdk/models/components/CardSource.java - src/main/java/com/gr4vy/sdk/models/components/CardType.java - src/main/java/com/gr4vy/sdk/models/components/CardWithUrlPaymentMethodCreate.java @@ -541,27 +544,6 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/ClickToPayPaymentMethodCreate.java - src/main/java/com/gr4vy/sdk/models/components/ClickToPaySession.java - src/main/java/com/gr4vy/sdk/models/components/ClickToPaySessionRequest.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionAuditLogEntry.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionBuyer.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionGiftCard.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionMerchantAccount.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorCardSchemeDefinition.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorDigitalWallet.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorGiftCardSummary.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorNetworkToken.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentMethodSummary.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentOption.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentServiceToken.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorShippingDetails.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentMethod.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentService.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentServiceDefinition.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionPayoutSummary.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionRefund.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionReport.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionReportExecution.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionEvent.java - - src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionSummary.java - src/main/java/com/gr4vy/sdk/models/components/ConnectionOptions.java - src/main/java/com/gr4vy/sdk/models/components/Context.java - src/main/java/com/gr4vy/sdk/models/components/CreateSession.java @@ -577,6 +559,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/DigitalWalletDomain.java - src/main/java/com/gr4vy/sdk/models/components/DigitalWalletProvider.java - src/main/java/com/gr4vy/sdk/models/components/DigitalWalletUpdate.java + - src/main/java/com/gr4vy/sdk/models/components/DigitalWallets.java - src/main/java/com/gr4vy/sdk/models/components/ErrorDetail.java - src/main/java/com/gr4vy/sdk/models/components/ErrorLocation.java - src/main/java/com/gr4vy/sdk/models/components/Field.java @@ -590,10 +573,12 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/GiftCardService.java - src/main/java/com/gr4vy/sdk/models/components/GiftCardServiceProvider.java - src/main/java/com/gr4vy/sdk/models/components/GiftCardStoredRequest.java + - src/main/java/com/gr4vy/sdk/models/components/GiftCardSummaries.java - src/main/java/com/gr4vy/sdk/models/components/GiftCardSummary.java - src/main/java/com/gr4vy/sdk/models/components/GiftCardTokenTransactionCreate.java - src/main/java/com/gr4vy/sdk/models/components/GiftCardTransactionCreate.java - src/main/java/com/gr4vy/sdk/models/components/GiftCardUnion.java + - src/main/java/com/gr4vy/sdk/models/components/GiftCards.java - src/main/java/com/gr4vy/sdk/models/components/GooglePayAssuranceDetails.java - src/main/java/com/gr4vy/sdk/models/components/GooglePayFPANPaymentMethodCreate.java - src/main/java/com/gr4vy/sdk/models/components/GooglePayPaymentMethodCreate.java @@ -608,6 +593,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/MerchantAccount.java - src/main/java/com/gr4vy/sdk/models/components/MerchantAccountCreate.java - src/main/java/com/gr4vy/sdk/models/components/MerchantAccountUpdate.java + - src/main/java/com/gr4vy/sdk/models/components/MerchantAccounts.java - src/main/java/com/gr4vy/sdk/models/components/MerchantProfileScheme.java - src/main/java/com/gr4vy/sdk/models/components/MerchantProfileSchemeSummary.java - src/main/java/com/gr4vy/sdk/models/components/Method.java @@ -617,24 +603,31 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/NetworkTokenCreate.java - src/main/java/com/gr4vy/sdk/models/components/NetworkTokenPaymentMethodCreate.java - src/main/java/com/gr4vy/sdk/models/components/NetworkTokenStatus.java + - src/main/java/com/gr4vy/sdk/models/components/NetworkTokens.java - src/main/java/com/gr4vy/sdk/models/components/PaymentMethod.java - src/main/java/com/gr4vy/sdk/models/components/PaymentMethodCard.java - src/main/java/com/gr4vy/sdk/models/components/PaymentMethodDetailsCard.java - src/main/java/com/gr4vy/sdk/models/components/PaymentMethodStatus.java - src/main/java/com/gr4vy/sdk/models/components/PaymentMethodStoredCard.java + - src/main/java/com/gr4vy/sdk/models/components/PaymentMethodSummaries.java - src/main/java/com/gr4vy/sdk/models/components/PaymentMethodSummary.java + - src/main/java/com/gr4vy/sdk/models/components/PaymentMethods.java - src/main/java/com/gr4vy/sdk/models/components/PaymentOption.java - src/main/java/com/gr4vy/sdk/models/components/PaymentOptionContext.java - src/main/java/com/gr4vy/sdk/models/components/PaymentOptionContextApprovalUI.java - src/main/java/com/gr4vy/sdk/models/components/PaymentOptionRequest.java + - src/main/java/com/gr4vy/sdk/models/components/PaymentOptions.java - src/main/java/com/gr4vy/sdk/models/components/PaymentService.java - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceConfiguration.java - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceCreate.java - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceDefinition.java + - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceDefinitions.java - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceStatus.java - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceToken.java - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceTokenCreate.java + - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceTokens.java - src/main/java/com/gr4vy/sdk/models/components/PaymentServiceUpdate.java + - src/main/java/com/gr4vy/sdk/models/components/PaymentServices.java - src/main/java/com/gr4vy/sdk/models/components/PayoutCategory.java - src/main/java/com/gr4vy/sdk/models/components/PayoutCreate.java - src/main/java/com/gr4vy/sdk/models/components/PayoutCreatePaymentMethod.java @@ -642,6 +635,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/PayoutMerchantSummary.java - src/main/java/com/gr4vy/sdk/models/components/PayoutPaymentService.java - src/main/java/com/gr4vy/sdk/models/components/PayoutStatus.java + - src/main/java/com/gr4vy/sdk/models/components/PayoutSummaries.java - src/main/java/com/gr4vy/sdk/models/components/PayoutSummary.java - src/main/java/com/gr4vy/sdk/models/components/ProductType.java - src/main/java/com/gr4vy/sdk/models/components/Recipient.java @@ -650,6 +644,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/Refund.java - src/main/java/com/gr4vy/sdk/models/components/RefundStatus.java - src/main/java/com/gr4vy/sdk/models/components/RefundTargetType.java + - src/main/java/com/gr4vy/sdk/models/components/Refunds.java - src/main/java/com/gr4vy/sdk/models/components/Report.java - src/main/java/com/gr4vy/sdk/models/components/ReportCreate.java - src/main/java/com/gr4vy/sdk/models/components/ReportCreatorType.java @@ -658,11 +653,13 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/ReportExecutionStatus.java - src/main/java/com/gr4vy/sdk/models/components/ReportExecutionSummary.java - src/main/java/com/gr4vy/sdk/models/components/ReportExecutionUrl.java + - src/main/java/com/gr4vy/sdk/models/components/ReportExecutions.java - src/main/java/com/gr4vy/sdk/models/components/ReportSchedule.java - src/main/java/com/gr4vy/sdk/models/components/ReportSpec.java - src/main/java/com/gr4vy/sdk/models/components/ReportSpecModel.java - src/main/java/com/gr4vy/sdk/models/components/ReportSummary.java - src/main/java/com/gr4vy/sdk/models/components/ReportUpdate.java + - src/main/java/com/gr4vy/sdk/models/components/Reports.java - src/main/java/com/gr4vy/sdk/models/components/RequiredCheckoutFields.java - src/main/java/com/gr4vy/sdk/models/components/RequiredFields1.java - src/main/java/com/gr4vy/sdk/models/components/RequiredFields2.java @@ -671,6 +668,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/Security.java - src/main/java/com/gr4vy/sdk/models/components/ShippingDetails.java - src/main/java/com/gr4vy/sdk/models/components/ShippingDetailsCreate.java + - src/main/java/com/gr4vy/sdk/models/components/ShippingDetailsList.java - src/main/java/com/gr4vy/sdk/models/components/ShippingDetailsUpdate.java - src/main/java/com/gr4vy/sdk/models/components/Spec.java - src/main/java/com/gr4vy/sdk/models/components/StatementDescriptor.java @@ -692,6 +690,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/TransactionCreate.java - src/main/java/com/gr4vy/sdk/models/components/TransactionCreatePaymentMethod.java - src/main/java/com/gr4vy/sdk/models/components/TransactionEvent.java + - src/main/java/com/gr4vy/sdk/models/components/TransactionEvents.java - src/main/java/com/gr4vy/sdk/models/components/TransactionGiftCard.java - src/main/java/com/gr4vy/sdk/models/components/TransactionIntent.java - src/main/java/com/gr4vy/sdk/models/components/TransactionIntentOutcome.java @@ -702,6 +701,7 @@ generatedFiles: - src/main/java/com/gr4vy/sdk/models/components/TransactionRefundCreate.java - src/main/java/com/gr4vy/sdk/models/components/TransactionRetriesReportSpec.java - src/main/java/com/gr4vy/sdk/models/components/TransactionStatus.java + - src/main/java/com/gr4vy/sdk/models/components/TransactionSummaries.java - src/main/java/com/gr4vy/sdk/models/components/TransactionSummary.java - src/main/java/com/gr4vy/sdk/models/components/TransactionThreeDSecureSummary.java - src/main/java/com/gr4vy/sdk/models/components/TransactionsReportSpec.java diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index a3212b58..211cfaa6 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -18,7 +18,7 @@ generation: oAuth2PasswordEnabled: false sdkHooksConfigAccess: true java: - version: 1.0.0-beta.6 + version: 1.0.0-beta.7 additionalDependencies: - testImplementation:org.junit.jupiter:junit-jupiter:5.10.0 - implementation:com.auth0:java-jwt:4.5.0 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index dfc547fe..bcfed04a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -9,11 +9,11 @@ sources: - 1.0.0 openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:6b3dc3631928863a66a1608e5a573d65f61faf3f1eea7bb466f895d31ae01077 - sourceBlobDigest: sha256:e292563575fcc151f2be97051458c6e5ad35e1ebe9acd96c3fb5dd862b2130c1 + sourceRevisionDigest: sha256:8504a2ac7ffb0ee763800e6d50dafe18ff7b67e9093f798523270b6e8c7f5d62 + sourceBlobDigest: sha256:b6ef58a6f8dda9b5163a34af28ce4ebe3a4f079dff0f0d734a2da9f714742a24 tags: - latest - - speakeasy-sdk-regen-1748954136 + - speakeasy-sdk-regen-1748963300 - 1.0.0 targets: gr-4-vy: @@ -26,10 +26,10 @@ targets: java: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:6b3dc3631928863a66a1608e5a573d65f61faf3f1eea7bb466f895d31ae01077 - sourceBlobDigest: sha256:e292563575fcc151f2be97051458c6e5ad35e1ebe9acd96c3fb5dd862b2130c1 + sourceRevisionDigest: sha256:8504a2ac7ffb0ee763800e6d50dafe18ff7b67e9093f798523270b6e8c7f5d62 + sourceBlobDigest: sha256:b6ef58a6f8dda9b5163a34af28ce4ebe3a4f079dff0f0d734a2da9f714742a24 codeSamplesNamespace: openapi-java-code-samples - codeSamplesRevisionDigest: sha256:2725a21b3096f3bce2bc3144ed6844807d9d9a2bebd5e82d2e4bad599a76e7bc + codeSamplesRevisionDigest: sha256:f9b9fa5877c77975eac6f4a5fc55a28455053aa9752ccc1b79b0f0c284908ec9 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index ced343f5..7e5757a5 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.gr4vy:sdk:1.0.0-beta.6' +implementation 'com.gr4vy:sdk:1.0.0-beta.7' ``` Maven: @@ -68,7 +68,7 @@ Maven: com.gr4vy sdk - 1.0.0-beta.6 + 1.0.0-beta.7 ``` diff --git a/RELEASES.md b/RELEASES.md index 3e4c572b..2b44a2b3 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -48,4 +48,14 @@ Based on: ### Generated - [java v1.0.0-beta.6] . ### Releases -- [Maven Central v1.0.0-beta.6] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.6 - . \ No newline at end of file +- [Maven Central v1.0.0-beta.6] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.6 - . + +## 2025-06-03 15:08:02 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.555.0 (2.618.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v1.0.0-beta.7] . +### Releases +- [Maven Central v1.0.0-beta.7] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.7 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index acc3c7a6..f1df493c 100644 --- a/build.gradle +++ b/build.gradle @@ -103,7 +103,7 @@ publishing { // https://github.com/gradle/gradle/issues/18619 groupId = "com.gr4vy" artifactId = "sdk" - version = "1.0.0-beta.6" + version = "1.0.0-beta.7" from components.java diff --git a/docs/models/components/CollectionAuditLogEntry.md b/docs/models/components/AuditLogEntries.md similarity index 98% rename from docs/models/components/CollectionAuditLogEntry.md rename to docs/models/components/AuditLogEntries.md index 57149fb4..a06c44ae 100644 --- a/docs/models/components/CollectionAuditLogEntry.md +++ b/docs/models/components/AuditLogEntries.md @@ -1,4 +1,4 @@ -# CollectionAuditLogEntry +# AuditLogEntries ## Fields diff --git a/docs/models/components/CollectionBuyer.md b/docs/models/components/Buyers.md similarity index 98% rename from docs/models/components/CollectionBuyer.md rename to docs/models/components/Buyers.md index f97af8e5..e72123b1 100644 --- a/docs/models/components/CollectionBuyer.md +++ b/docs/models/components/Buyers.md @@ -1,4 +1,4 @@ -# CollectionBuyer +# Buyers ## Fields diff --git a/docs/models/components/CollectionNoCursorCardSchemeDefinition.md b/docs/models/components/CardSchemeDefinitions.md similarity index 96% rename from docs/models/components/CollectionNoCursorCardSchemeDefinition.md rename to docs/models/components/CardSchemeDefinitions.md index 50eab130..ca35d957 100644 --- a/docs/models/components/CollectionNoCursorCardSchemeDefinition.md +++ b/docs/models/components/CardSchemeDefinitions.md @@ -1,4 +1,4 @@ -# CollectionNoCursorCardSchemeDefinition +# CardSchemeDefinitions ## Fields diff --git a/docs/models/components/CollectionNoCursorDigitalWallet.md b/docs/models/components/DigitalWallets.md similarity index 96% rename from docs/models/components/CollectionNoCursorDigitalWallet.md rename to docs/models/components/DigitalWallets.md index 3eb5ddf4..d0d16f42 100644 --- a/docs/models/components/CollectionNoCursorDigitalWallet.md +++ b/docs/models/components/DigitalWallets.md @@ -1,4 +1,4 @@ -# CollectionNoCursorDigitalWallet +# DigitalWallets ## Fields diff --git a/docs/models/components/CollectionNoCursorGiftCardSummary.md b/docs/models/components/GiftCardSummaries.md similarity index 96% rename from docs/models/components/CollectionNoCursorGiftCardSummary.md rename to docs/models/components/GiftCardSummaries.md index facf2ba2..c596d1ad 100644 --- a/docs/models/components/CollectionNoCursorGiftCardSummary.md +++ b/docs/models/components/GiftCardSummaries.md @@ -1,4 +1,4 @@ -# CollectionNoCursorGiftCardSummary +# GiftCardSummaries ## Fields diff --git a/docs/models/components/CollectionGiftCard.md b/docs/models/components/GiftCards.md similarity index 98% rename from docs/models/components/CollectionGiftCard.md rename to docs/models/components/GiftCards.md index 3f53dbe5..d5f92a56 100644 --- a/docs/models/components/CollectionGiftCard.md +++ b/docs/models/components/GiftCards.md @@ -1,4 +1,4 @@ -# CollectionGiftCard +# GiftCards ## Fields diff --git a/docs/models/components/CollectionMerchantAccount.md b/docs/models/components/MerchantAccounts.md similarity index 98% rename from docs/models/components/CollectionMerchantAccount.md rename to docs/models/components/MerchantAccounts.md index a2eb42f3..0af64d73 100644 --- a/docs/models/components/CollectionMerchantAccount.md +++ b/docs/models/components/MerchantAccounts.md @@ -1,4 +1,4 @@ -# CollectionMerchantAccount +# MerchantAccounts ## Fields diff --git a/docs/models/components/CollectionNoCursorNetworkToken.md b/docs/models/components/NetworkTokens.md similarity index 96% rename from docs/models/components/CollectionNoCursorNetworkToken.md rename to docs/models/components/NetworkTokens.md index fe567700..81df6f3d 100644 --- a/docs/models/components/CollectionNoCursorNetworkToken.md +++ b/docs/models/components/NetworkTokens.md @@ -1,4 +1,4 @@ -# CollectionNoCursorNetworkToken +# NetworkTokens ## Fields diff --git a/docs/models/components/CollectionNoCursorPaymentMethodSummary.md b/docs/models/components/PaymentMethodSummaries.md similarity index 96% rename from docs/models/components/CollectionNoCursorPaymentMethodSummary.md rename to docs/models/components/PaymentMethodSummaries.md index bb4513df..8f85b337 100644 --- a/docs/models/components/CollectionNoCursorPaymentMethodSummary.md +++ b/docs/models/components/PaymentMethodSummaries.md @@ -1,4 +1,4 @@ -# CollectionNoCursorPaymentMethodSummary +# PaymentMethodSummaries ## Fields diff --git a/docs/models/components/CollectionPaymentMethod.md b/docs/models/components/PaymentMethods.md similarity index 98% rename from docs/models/components/CollectionPaymentMethod.md rename to docs/models/components/PaymentMethods.md index 21af8ad1..9e3e92c3 100644 --- a/docs/models/components/CollectionPaymentMethod.md +++ b/docs/models/components/PaymentMethods.md @@ -1,4 +1,4 @@ -# CollectionPaymentMethod +# PaymentMethods ## Fields diff --git a/docs/models/components/CollectionNoCursorPaymentOption.md b/docs/models/components/PaymentOptions.md similarity index 96% rename from docs/models/components/CollectionNoCursorPaymentOption.md rename to docs/models/components/PaymentOptions.md index f69a63c9..c7852fe0 100644 --- a/docs/models/components/CollectionNoCursorPaymentOption.md +++ b/docs/models/components/PaymentOptions.md @@ -1,4 +1,4 @@ -# CollectionNoCursorPaymentOption +# PaymentOptions ## Fields diff --git a/docs/models/components/CollectionPaymentServiceDefinition.md b/docs/models/components/PaymentServiceDefinitions.md similarity index 98% rename from docs/models/components/CollectionPaymentServiceDefinition.md rename to docs/models/components/PaymentServiceDefinitions.md index 08d6f103..228edfc6 100644 --- a/docs/models/components/CollectionPaymentServiceDefinition.md +++ b/docs/models/components/PaymentServiceDefinitions.md @@ -1,4 +1,4 @@ -# CollectionPaymentServiceDefinition +# PaymentServiceDefinitions ## Fields diff --git a/docs/models/components/CollectionNoCursorPaymentServiceToken.md b/docs/models/components/PaymentServiceTokens.md similarity index 96% rename from docs/models/components/CollectionNoCursorPaymentServiceToken.md rename to docs/models/components/PaymentServiceTokens.md index 4e1c5307..1f49a756 100644 --- a/docs/models/components/CollectionNoCursorPaymentServiceToken.md +++ b/docs/models/components/PaymentServiceTokens.md @@ -1,4 +1,4 @@ -# CollectionNoCursorPaymentServiceToken +# PaymentServiceTokens ## Fields diff --git a/docs/models/components/CollectionPaymentService.md b/docs/models/components/PaymentServices.md similarity index 98% rename from docs/models/components/CollectionPaymentService.md rename to docs/models/components/PaymentServices.md index a7772b9b..16cde1b4 100644 --- a/docs/models/components/CollectionPaymentService.md +++ b/docs/models/components/PaymentServices.md @@ -1,4 +1,4 @@ -# CollectionPaymentService +# PaymentServices ## Fields diff --git a/docs/models/components/CollectionPayoutSummary.md b/docs/models/components/PayoutSummaries.md similarity index 98% rename from docs/models/components/CollectionPayoutSummary.md rename to docs/models/components/PayoutSummaries.md index bdd1ca3d..066bf9a4 100644 --- a/docs/models/components/CollectionPayoutSummary.md +++ b/docs/models/components/PayoutSummaries.md @@ -1,4 +1,4 @@ -# CollectionPayoutSummary +# PayoutSummaries ## Fields diff --git a/docs/models/components/CollectionRefund.md b/docs/models/components/Refunds.md similarity index 98% rename from docs/models/components/CollectionRefund.md rename to docs/models/components/Refunds.md index 8b35b07e..3ddba69e 100644 --- a/docs/models/components/CollectionRefund.md +++ b/docs/models/components/Refunds.md @@ -1,4 +1,4 @@ -# CollectionRefund +# Refunds ## Fields diff --git a/docs/models/components/CollectionReportExecution.md b/docs/models/components/ReportExecutions.md similarity index 98% rename from docs/models/components/CollectionReportExecution.md rename to docs/models/components/ReportExecutions.md index 77f49e1d..ec2d9cfa 100644 --- a/docs/models/components/CollectionReportExecution.md +++ b/docs/models/components/ReportExecutions.md @@ -1,4 +1,4 @@ -# CollectionReportExecution +# ReportExecutions ## Fields diff --git a/docs/models/components/CollectionReport.md b/docs/models/components/Reports.md similarity index 98% rename from docs/models/components/CollectionReport.md rename to docs/models/components/Reports.md index c541bd13..3feba0f1 100644 --- a/docs/models/components/CollectionReport.md +++ b/docs/models/components/Reports.md @@ -1,4 +1,4 @@ -# CollectionReport +# Reports ## Fields diff --git a/docs/models/components/CollectionNoCursorShippingDetails.md b/docs/models/components/ShippingDetailsList.md similarity index 96% rename from docs/models/components/CollectionNoCursorShippingDetails.md rename to docs/models/components/ShippingDetailsList.md index 996779ff..1e0d2cd6 100644 --- a/docs/models/components/CollectionNoCursorShippingDetails.md +++ b/docs/models/components/ShippingDetailsList.md @@ -1,4 +1,4 @@ -# CollectionNoCursorShippingDetails +# ShippingDetailsList ## Fields diff --git a/docs/models/components/CollectionTransactionEvent.md b/docs/models/components/TransactionEvents.md similarity index 98% rename from docs/models/components/CollectionTransactionEvent.md rename to docs/models/components/TransactionEvents.md index 2683d85b..0b029ed1 100644 --- a/docs/models/components/CollectionTransactionEvent.md +++ b/docs/models/components/TransactionEvents.md @@ -1,4 +1,4 @@ -# CollectionTransactionEvent +# TransactionEvents ## Fields diff --git a/docs/models/components/CollectionTransactionSummary.md b/docs/models/components/TransactionSummaries.md similarity index 98% rename from docs/models/components/CollectionTransactionSummary.md rename to docs/models/components/TransactionSummaries.md index 1668f1fa..278f5e7a 100644 --- a/docs/models/components/CollectionTransactionSummary.md +++ b/docs/models/components/TransactionSummaries.md @@ -1,4 +1,4 @@ -# CollectionTransactionSummary +# TransactionSummaries ## Fields diff --git a/docs/models/operations/CreateFullTransactionRefundResponse.md b/docs/models/operations/CreateFullTransactionRefundResponse.md index 36312b73..cc58988e 100644 --- a/docs/models/operations/CreateFullTransactionRefundResponse.md +++ b/docs/models/operations/CreateFullTransactionRefundResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionRefund` | [Optional\](../../models/components/CollectionRefund.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `refunds` | [Optional\](../../models/components/Refunds.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListAllReportExecutionsResponse.md b/docs/models/operations/ListAllReportExecutionsResponse.md index db91099f..11ff206e 100644 --- a/docs/models/operations/ListAllReportExecutionsResponse.md +++ b/docs/models/operations/ListAllReportExecutionsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionReportExecution` | [Optional\](../../models/components/CollectionReportExecution.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `reportExecutions` | [Optional\](../../models/components/ReportExecutions.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListAuditLogsResponse.md b/docs/models/operations/ListAuditLogsResponse.md index c305a96f..cccbdad4 100644 --- a/docs/models/operations/ListAuditLogsResponse.md +++ b/docs/models/operations/ListAuditLogsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionAuditLogEntry` | [Optional\](../../models/components/CollectionAuditLogEntry.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `auditLogEntries` | [Optional\](../../models/components/AuditLogEntries.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListBuyerGiftCardsResponse.md b/docs/models/operations/ListBuyerGiftCardsResponse.md index 8cb61347..88670533 100644 --- a/docs/models/operations/ListBuyerGiftCardsResponse.md +++ b/docs/models/operations/ListBuyerGiftCardsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorGiftCardSummary` | [Optional\](../../models/components/CollectionNoCursorGiftCardSummary.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `giftCardSummaries` | [Optional\](../../models/components/GiftCardSummaries.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListBuyerPaymentMethodsResponse.md b/docs/models/operations/ListBuyerPaymentMethodsResponse.md index dfa4076e..673adc97 100644 --- a/docs/models/operations/ListBuyerPaymentMethodsResponse.md +++ b/docs/models/operations/ListBuyerPaymentMethodsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorPaymentMethodSummary` | [Optional\](../../models/components/CollectionNoCursorPaymentMethodSummary.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `paymentMethodSummaries` | [Optional\](../../models/components/PaymentMethodSummaries.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListBuyerShippingDetailsResponse.md b/docs/models/operations/ListBuyerShippingDetailsResponse.md index 989cc963..20e213d6 100644 --- a/docs/models/operations/ListBuyerShippingDetailsResponse.md +++ b/docs/models/operations/ListBuyerShippingDetailsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorShippingDetails` | [Optional\](../../models/components/CollectionNoCursorShippingDetails.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `shippingDetailsList` | [Optional\](../../models/components/ShippingDetailsList.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListBuyersResponse.md b/docs/models/operations/ListBuyersResponse.md index 96641c84..a5ad2c0e 100644 --- a/docs/models/operations/ListBuyersResponse.md +++ b/docs/models/operations/ListBuyersResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionBuyer` | [Optional\](../../models/components/CollectionBuyer.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `buyers` | [Optional\](../../models/components/Buyers.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListCardSchemeDefinitionsResponse.md b/docs/models/operations/ListCardSchemeDefinitionsResponse.md index fb4ba61f..44510773 100644 --- a/docs/models/operations/ListCardSchemeDefinitionsResponse.md +++ b/docs/models/operations/ListCardSchemeDefinitionsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorCardSchemeDefinition` | [Optional\](../../models/components/CollectionNoCursorCardSchemeDefinition.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `cardSchemeDefinitions` | [Optional\](../../models/components/CardSchemeDefinitions.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListDigitalWalletsResponse.md b/docs/models/operations/ListDigitalWalletsResponse.md index dee47292..6355ed3b 100644 --- a/docs/models/operations/ListDigitalWalletsResponse.md +++ b/docs/models/operations/ListDigitalWalletsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorDigitalWallet` | [Optional\](../../models/components/CollectionNoCursorDigitalWallet.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `digitalWallets` | [Optional\](../../models/components/DigitalWallets.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListGiftCardBalancesResponse.md b/docs/models/operations/ListGiftCardBalancesResponse.md index af91a8b5..3d52d693 100644 --- a/docs/models/operations/ListGiftCardBalancesResponse.md +++ b/docs/models/operations/ListGiftCardBalancesResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorGiftCardSummary` | [Optional\](../../models/components/CollectionNoCursorGiftCardSummary.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `giftCardSummaries` | [Optional\](../../models/components/GiftCardSummaries.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListGiftCardsResponse.md b/docs/models/operations/ListGiftCardsResponse.md index 7eb6b413..80e4a1b6 100644 --- a/docs/models/operations/ListGiftCardsResponse.md +++ b/docs/models/operations/ListGiftCardsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionGiftCard` | [Optional\](../../models/components/CollectionGiftCard.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `giftCards` | [Optional\](../../models/components/GiftCards.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListMerchantAccountsResponse.md b/docs/models/operations/ListMerchantAccountsResponse.md index f67f2248..6b870f08 100644 --- a/docs/models/operations/ListMerchantAccountsResponse.md +++ b/docs/models/operations/ListMerchantAccountsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionMerchantAccount` | [Optional\](../../models/components/CollectionMerchantAccount.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `merchantAccounts` | [Optional\](../../models/components/MerchantAccounts.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListPaymentMethodNetworkTokensResponse.md b/docs/models/operations/ListPaymentMethodNetworkTokensResponse.md index 9612ae26..9f322586 100644 --- a/docs/models/operations/ListPaymentMethodNetworkTokensResponse.md +++ b/docs/models/operations/ListPaymentMethodNetworkTokensResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorNetworkToken` | [Optional\](../../models/components/CollectionNoCursorNetworkToken.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `networkTokens` | [Optional\](../../models/components/NetworkTokens.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListPaymentMethodPaymentServiceTokensResponse.md b/docs/models/operations/ListPaymentMethodPaymentServiceTokensResponse.md index b8120220..b74ea7d6 100644 --- a/docs/models/operations/ListPaymentMethodPaymentServiceTokensResponse.md +++ b/docs/models/operations/ListPaymentMethodPaymentServiceTokensResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorPaymentServiceToken` | [Optional\](../../models/components/CollectionNoCursorPaymentServiceToken.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `paymentServiceTokens` | [Optional\](../../models/components/PaymentServiceTokens.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListPaymentMethodsResponse.md b/docs/models/operations/ListPaymentMethodsResponse.md index 663bdfb1..237f3bbd 100644 --- a/docs/models/operations/ListPaymentMethodsResponse.md +++ b/docs/models/operations/ListPaymentMethodsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionPaymentMethod` | [Optional\](../../models/components/CollectionPaymentMethod.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `paymentMethods` | [Optional\](../../models/components/PaymentMethods.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListPaymentOptionsResponse.md b/docs/models/operations/ListPaymentOptionsResponse.md index e487d07c..5b67cb6f 100644 --- a/docs/models/operations/ListPaymentOptionsResponse.md +++ b/docs/models/operations/ListPaymentOptionsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionNoCursorPaymentOption` | [Optional\](../../models/components/CollectionNoCursorPaymentOption.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `paymentOptions` | [Optional\](../../models/components/PaymentOptions.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListPaymentServiceDefinitionsResponse.md b/docs/models/operations/ListPaymentServiceDefinitionsResponse.md index 4a9118e7..5492d57a 100644 --- a/docs/models/operations/ListPaymentServiceDefinitionsResponse.md +++ b/docs/models/operations/ListPaymentServiceDefinitionsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionPaymentServiceDefinition` | [Optional\](../../models/components/CollectionPaymentServiceDefinition.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `paymentServiceDefinitions` | [Optional\](../../models/components/PaymentServiceDefinitions.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListPaymentServicesResponse.md b/docs/models/operations/ListPaymentServicesResponse.md index 4c9a0952..b4c08bd7 100644 --- a/docs/models/operations/ListPaymentServicesResponse.md +++ b/docs/models/operations/ListPaymentServicesResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionPaymentService` | [Optional\](../../models/components/CollectionPaymentService.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `paymentServices` | [Optional\](../../models/components/PaymentServices.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListPayoutsResponse.md b/docs/models/operations/ListPayoutsResponse.md index 10dd2351..9a9c1885 100644 --- a/docs/models/operations/ListPayoutsResponse.md +++ b/docs/models/operations/ListPayoutsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionPayoutSummary` | [Optional\](../../models/components/CollectionPayoutSummary.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `payoutSummaries` | [Optional\](../../models/components/PayoutSummaries.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListReportExecutionsResponse.md b/docs/models/operations/ListReportExecutionsResponse.md index 4533559e..b354a75b 100644 --- a/docs/models/operations/ListReportExecutionsResponse.md +++ b/docs/models/operations/ListReportExecutionsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionReportExecution` | [Optional\](../../models/components/CollectionReportExecution.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `reportExecutions` | [Optional\](../../models/components/ReportExecutions.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListReportsResponse.md b/docs/models/operations/ListReportsResponse.md index f9053e83..c096e1ce 100644 --- a/docs/models/operations/ListReportsResponse.md +++ b/docs/models/operations/ListReportsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionReport` | [Optional\](../../models/components/CollectionReport.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `reports` | [Optional\](../../models/components/Reports.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListTransactionEventsResponse.md b/docs/models/operations/ListTransactionEventsResponse.md index 920974ea..dfa51583 100644 --- a/docs/models/operations/ListTransactionEventsResponse.md +++ b/docs/models/operations/ListTransactionEventsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionTransactionEvent` | [Optional\](../../models/components/CollectionTransactionEvent.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `transactionEvents` | [Optional\](../../models/components/TransactionEvents.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListTransactionRefundsResponse.md b/docs/models/operations/ListTransactionRefundsResponse.md index 7ea2fd72..38a5bc71 100644 --- a/docs/models/operations/ListTransactionRefundsResponse.md +++ b/docs/models/operations/ListTransactionRefundsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionRefund` | [Optional\](../../models/components/CollectionRefund.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `refunds` | [Optional\](../../models/components/Refunds.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/models/operations/ListTransactionsResponse.md b/docs/models/operations/ListTransactionsResponse.md index 272711ec..faf92d91 100644 --- a/docs/models/operations/ListTransactionsResponse.md +++ b/docs/models/operations/ListTransactionsResponse.md @@ -8,4 +8,4 @@ | `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | | `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [HttpResponse\](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `collectionTransactionSummary` | [Optional\](../../models/components/CollectionTransactionSummary.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file +| `transactionSummaries` | [Optional\](../../models/components/TransactionSummaries.md) | :heavy_minus_sign: | Successful Response | \ No newline at end of file diff --git a/docs/sdks/all/README.md b/docs/sdks/all/README.md index a6ad6b7e..7602b657 100644 --- a/docs/sdks/all/README.md +++ b/docs/sdks/all/README.md @@ -33,7 +33,7 @@ public class Application { .transactionId("7099948d-7286-47e4-aad8-b68f7eb44591") .call(); - if (res.collectionRefund().isPresent()) { + if (res.refunds().isPresent()) { // handle response } } diff --git a/docs/sdks/balances/README.md b/docs/sdks/balances/README.md index c9039f60..cb57a77c 100644 --- a/docs/sdks/balances/README.md +++ b/docs/sdks/balances/README.md @@ -47,7 +47,7 @@ public class Application { .build()) .call(); - if (res.collectionNoCursorGiftCardSummary().isPresent()) { + if (res.giftCardSummaries().isPresent()) { // handle response } } diff --git a/docs/sdks/buyersgiftcards/README.md b/docs/sdks/buyersgiftcards/README.md index fa3f4ab5..2424e895 100644 --- a/docs/sdks/buyersgiftcards/README.md +++ b/docs/sdks/buyersgiftcards/README.md @@ -32,7 +32,7 @@ public class Application { ListBuyerGiftCardsResponse res = sdk.buyers().giftCards().list() .call(); - if (res.collectionNoCursorGiftCardSummary().isPresent()) { + if (res.giftCardSummaries().isPresent()) { // handle response } } diff --git a/docs/sdks/buyerspaymentmethods/README.md b/docs/sdks/buyerspaymentmethods/README.md index 66bcd101..cfae22a2 100644 --- a/docs/sdks/buyerspaymentmethods/README.md +++ b/docs/sdks/buyerspaymentmethods/README.md @@ -37,7 +37,7 @@ public class Application { .request(req) .call(); - if (res.collectionNoCursorPaymentMethodSummary().isPresent()) { + if (res.paymentMethodSummaries().isPresent()) { // handle response } } diff --git a/docs/sdks/cardschemedefinitions/README.md b/docs/sdks/cardschemedefinitions/README.md index 048d929c..9f522447 100644 --- a/docs/sdks/cardschemedefinitions/README.md +++ b/docs/sdks/cardschemedefinitions/README.md @@ -32,7 +32,7 @@ public class Application { ListCardSchemeDefinitionsResponse res = sdk.cardSchemeDefinitions().list() .call(); - if (res.collectionNoCursorCardSchemeDefinition().isPresent()) { + if (res.cardSchemeDefinitions().isPresent()) { // handle response } } diff --git a/docs/sdks/digitalwallets/README.md b/docs/sdks/digitalwallets/README.md index 568b2a6a..a45da88f 100644 --- a/docs/sdks/digitalwallets/README.md +++ b/docs/sdks/digitalwallets/README.md @@ -104,7 +104,7 @@ public class Application { ListDigitalWalletsResponse res = sdk.digitalWallets().list() .call(); - if (res.collectionNoCursorDigitalWallet().isPresent()) { + if (res.digitalWallets().isPresent()) { // handle response } } diff --git a/docs/sdks/events/README.md b/docs/sdks/events/README.md index 98081f6b..cb93fdc3 100644 --- a/docs/sdks/events/README.md +++ b/docs/sdks/events/README.md @@ -33,7 +33,7 @@ public class Application { .transactionId("7099948d-7286-47e4-aad8-b68f7eb44591") .call(); - if (res.collectionTransactionEvent().isPresent()) { + if (res.transactionEvents().isPresent()) { // handle response } } diff --git a/docs/sdks/networktokens/README.md b/docs/sdks/networktokens/README.md index 785d141e..d200f8b6 100644 --- a/docs/sdks/networktokens/README.md +++ b/docs/sdks/networktokens/README.md @@ -37,7 +37,7 @@ public class Application { .paymentMethodId("ef9496d8-53a5-4aad-8ca2-00eb68334389") .call(); - if (res.collectionNoCursorNetworkToken().isPresent()) { + if (res.networkTokens().isPresent()) { // handle response } } diff --git a/docs/sdks/paymentoptions/README.md b/docs/sdks/paymentoptions/README.md index d61ae372..ab6bd9fc 100644 --- a/docs/sdks/paymentoptions/README.md +++ b/docs/sdks/paymentoptions/README.md @@ -35,7 +35,7 @@ public class Application { .build()) .call(); - if (res.collectionNoCursorPaymentOption().isPresent()) { + if (res.paymentOptions().isPresent()) { // handle response } } diff --git a/docs/sdks/paymentservicetokens/README.md b/docs/sdks/paymentservicetokens/README.md index f3a8b92c..da4f2d50 100644 --- a/docs/sdks/paymentservicetokens/README.md +++ b/docs/sdks/paymentservicetokens/README.md @@ -35,7 +35,7 @@ public class Application { .paymentMethodId("ef9496d8-53a5-4aad-8ca2-00eb68334389") .call(); - if (res.collectionNoCursorPaymentServiceToken().isPresent()) { + if (res.paymentServiceTokens().isPresent()) { // handle response } } diff --git a/docs/sdks/reportsexecutions/README.md b/docs/sdks/reportsexecutions/README.md index d7f70130..c7988328 100644 --- a/docs/sdks/reportsexecutions/README.md +++ b/docs/sdks/reportsexecutions/README.md @@ -38,7 +38,7 @@ public class Application { .request(req) .call(); - if (res.collectionReportExecution().isPresent()) { + if (res.reportExecutions().isPresent()) { // handle response } } diff --git a/docs/sdks/shippingdetails/README.md b/docs/sdks/shippingdetails/README.md index 999a05a4..ba5559ec 100644 --- a/docs/sdks/shippingdetails/README.md +++ b/docs/sdks/shippingdetails/README.md @@ -103,7 +103,7 @@ public class Application { .buyerId("fe26475d-ec3e-4884-9553-f7356683f7f9") .call(); - if (res.collectionNoCursorShippingDetails().isPresent()) { + if (res.shippingDetailsList().isPresent()) { // handle response } } diff --git a/docs/sdks/transactionsrefunds/README.md b/docs/sdks/transactionsrefunds/README.md index 58d52a29..d7735403 100644 --- a/docs/sdks/transactionsrefunds/README.md +++ b/docs/sdks/transactionsrefunds/README.md @@ -35,7 +35,7 @@ public class Application { .transactionId("7099948d-7286-47e4-aad8-b68f7eb44591") .call(); - if (res.collectionRefund().isPresent()) { + if (res.refunds().isPresent()) { // handle response } } diff --git a/gradle.properties b/gradle.properties index e418cf63..d228c90e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ groupId=com.gr4vy artifactId=sdk -version=1.0.0-beta.6 \ No newline at end of file +version=1.0.0-beta.7 \ No newline at end of file diff --git a/src/main/java/com/gr4vy/sdk/All.java b/src/main/java/com/gr4vy/sdk/All.java index e49ac751..17dc54d5 100644 --- a/src/main/java/com/gr4vy/sdk/All.java +++ b/src/main/java/com/gr4vy/sdk/All.java @@ -4,7 +4,7 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionRefund; +import com.gr4vy.sdk.models.components.Refunds; import com.gr4vy.sdk.models.components.TransactionRefundAllCreate; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; @@ -189,10 +189,10 @@ public CreateFullTransactionRefundResponse create( if (Utils.statusCodeMatches(_httpRes.statusCode(), "201")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionRefund _out = Utils.mapper().readValue( + Refunds _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionRefund(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withRefunds(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/AuditLogs.java b/src/main/java/com/gr4vy/sdk/AuditLogs.java index 22af7654..5e6a3775 100644 --- a/src/main/java/com/gr4vy/sdk/AuditLogs.java +++ b/src/main/java/com/gr4vy/sdk/AuditLogs.java @@ -4,7 +4,7 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionAuditLogEntry; +import com.gr4vy.sdk.models.components.AuditLogEntries; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -227,10 +227,10 @@ public ListAuditLogsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionAuditLogEntry _out = Utils.mapper().readValue( + AuditLogEntries _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionAuditLogEntry(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withAuditLogEntries(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/Balances.java b/src/main/java/com/gr4vy/sdk/Balances.java index 6a456df6..5e4ff627 100644 --- a/src/main/java/com/gr4vy/sdk/Balances.java +++ b/src/main/java/com/gr4vy/sdk/Balances.java @@ -4,8 +4,8 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorGiftCardSummary; import com.gr4vy.sdk.models.components.GiftCardBalanceRequest; +import com.gr4vy.sdk.models.components.GiftCardSummaries; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -187,10 +187,10 @@ public ListGiftCardBalancesResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorGiftCardSummary _out = Utils.mapper().readValue( + GiftCardSummaries _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorGiftCardSummary(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withGiftCardSummaries(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/Buyers.java b/src/main/java/com/gr4vy/sdk/Buyers.java index 03ca0ca3..de0a0f9f 100644 --- a/src/main/java/com/gr4vy/sdk/Buyers.java +++ b/src/main/java/com/gr4vy/sdk/Buyers.java @@ -7,7 +7,6 @@ import com.gr4vy.sdk.models.components.Buyer; import com.gr4vy.sdk.models.components.BuyerCreate; import com.gr4vy.sdk.models.components.BuyerUpdate; -import com.gr4vy.sdk.models.components.CollectionBuyer; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -266,10 +265,10 @@ public ListBuyersResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionBuyer _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.Buyers _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionBuyer(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withBuyers(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/BuyersGiftCards.java b/src/main/java/com/gr4vy/sdk/BuyersGiftCards.java index 5252f1d2..ffe190ad 100644 --- a/src/main/java/com/gr4vy/sdk/BuyersGiftCards.java +++ b/src/main/java/com/gr4vy/sdk/BuyersGiftCards.java @@ -4,7 +4,7 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorGiftCardSummary; +import com.gr4vy.sdk.models.components.GiftCardSummaries; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -205,10 +205,10 @@ public ListBuyerGiftCardsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorGiftCardSummary _out = Utils.mapper().readValue( + GiftCardSummaries _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorGiftCardSummary(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withGiftCardSummaries(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/BuyersPaymentMethods.java b/src/main/java/com/gr4vy/sdk/BuyersPaymentMethods.java index 93a5252a..9892df0b 100644 --- a/src/main/java/com/gr4vy/sdk/BuyersPaymentMethods.java +++ b/src/main/java/com/gr4vy/sdk/BuyersPaymentMethods.java @@ -4,7 +4,7 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorPaymentMethodSummary; +import com.gr4vy.sdk.models.components.PaymentMethodSummaries; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -194,10 +194,10 @@ public ListBuyerPaymentMethodsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorPaymentMethodSummary _out = Utils.mapper().readValue( + PaymentMethodSummaries _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorPaymentMethodSummary(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPaymentMethodSummaries(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/CardSchemeDefinitions.java b/src/main/java/com/gr4vy/sdk/CardSchemeDefinitions.java index 08acf9b2..1029e0dd 100644 --- a/src/main/java/com/gr4vy/sdk/CardSchemeDefinitions.java +++ b/src/main/java/com/gr4vy/sdk/CardSchemeDefinitions.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorCardSchemeDefinition; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -194,10 +193,10 @@ public ListCardSchemeDefinitionsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorCardSchemeDefinition _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.CardSchemeDefinitions _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorCardSchemeDefinition(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withCardSchemeDefinitions(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/DigitalWallets.java b/src/main/java/com/gr4vy/sdk/DigitalWallets.java index 530205c6..5403b4f3 100644 --- a/src/main/java/com/gr4vy/sdk/DigitalWallets.java +++ b/src/main/java/com/gr4vy/sdk/DigitalWallets.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorDigitalWallet; import com.gr4vy.sdk.models.components.DigitalWallet; import com.gr4vy.sdk.models.components.DigitalWalletCreate; import com.gr4vy.sdk.models.components.DigitalWalletUpdate; @@ -594,10 +593,10 @@ public ListDigitalWalletsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorDigitalWallet _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.DigitalWallets _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorDigitalWallet(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withDigitalWallets(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/Events.java b/src/main/java/com/gr4vy/sdk/Events.java index a6a1a58a..346f58e8 100644 --- a/src/main/java/com/gr4vy/sdk/Events.java +++ b/src/main/java/com/gr4vy/sdk/Events.java @@ -4,7 +4,7 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionTransactionEvent; +import com.gr4vy.sdk.models.components.TransactionEvents; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -213,10 +213,10 @@ public ListTransactionEventsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionTransactionEvent _out = Utils.mapper().readValue( + TransactionEvents _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionTransactionEvent(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withTransactionEvents(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/Executions.java b/src/main/java/com/gr4vy/sdk/Executions.java index fbc1436b..6d548f57 100644 --- a/src/main/java/com/gr4vy/sdk/Executions.java +++ b/src/main/java/com/gr4vy/sdk/Executions.java @@ -4,8 +4,8 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionReportExecution; import com.gr4vy.sdk.models.components.ReportExecutionUrl; +import com.gr4vy.sdk.models.components.ReportExecutions; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -246,10 +246,10 @@ public ListReportExecutionsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionReportExecution _out = Utils.mapper().readValue( + ReportExecutions _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionReportExecution(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withReportExecutions(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/GiftCards.java b/src/main/java/com/gr4vy/sdk/GiftCards.java index 5135ea30..09eb3942 100644 --- a/src/main/java/com/gr4vy/sdk/GiftCards.java +++ b/src/main/java/com/gr4vy/sdk/GiftCards.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionGiftCard; import com.gr4vy.sdk.models.components.GiftCard; import com.gr4vy.sdk.models.components.GiftCardCreate; import com.gr4vy.sdk.models.errors.APIException; @@ -1346,10 +1345,10 @@ public ListGiftCardsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionGiftCard _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.GiftCards _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionGiftCard(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withGiftCards(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/MerchantAccounts.java b/src/main/java/com/gr4vy/sdk/MerchantAccounts.java index 6c27fd26..09fa3746 100644 --- a/src/main/java/com/gr4vy/sdk/MerchantAccounts.java +++ b/src/main/java/com/gr4vy/sdk/MerchantAccounts.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionMerchantAccount; import com.gr4vy.sdk.models.components.MerchantAccount; import com.gr4vy.sdk.models.components.MerchantAccountCreate; import com.gr4vy.sdk.models.components.MerchantAccountUpdate; @@ -249,10 +248,10 @@ public ListMerchantAccountsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionMerchantAccount _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.MerchantAccounts _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionMerchantAccount(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withMerchantAccounts(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/NetworkTokens.java b/src/main/java/com/gr4vy/sdk/NetworkTokens.java index 654ee1d4..cc2bbd53 100644 --- a/src/main/java/com/gr4vy/sdk/NetworkTokens.java +++ b/src/main/java/com/gr4vy/sdk/NetworkTokens.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorNetworkToken; import com.gr4vy.sdk.models.components.NetworkToken; import com.gr4vy.sdk.models.components.NetworkTokenCreate; import com.gr4vy.sdk.models.errors.APIException; @@ -228,10 +227,10 @@ public ListPaymentMethodNetworkTokensResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorNetworkToken _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.NetworkTokens _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorNetworkToken(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withNetworkTokens(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/PaymentMethods.java b/src/main/java/com/gr4vy/sdk/PaymentMethods.java index a8568fdb..0b7ae30b 100644 --- a/src/main/java/com/gr4vy/sdk/PaymentMethods.java +++ b/src/main/java/com/gr4vy/sdk/PaymentMethods.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionPaymentMethod; import com.gr4vy.sdk.models.components.PaymentMethod; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; @@ -257,10 +256,10 @@ public ListPaymentMethodsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionPaymentMethod _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.PaymentMethods _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionPaymentMethod(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPaymentMethods(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/PaymentOptions.java b/src/main/java/com/gr4vy/sdk/PaymentOptions.java index f454fd0e..195ae5ff 100644 --- a/src/main/java/com/gr4vy/sdk/PaymentOptions.java +++ b/src/main/java/com/gr4vy/sdk/PaymentOptions.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorPaymentOption; import com.gr4vy.sdk.models.components.PaymentOptionRequest; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; @@ -187,10 +186,10 @@ public ListPaymentOptionsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorPaymentOption _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.PaymentOptions _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorPaymentOption(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPaymentOptions(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/PaymentServiceDefinitions.java b/src/main/java/com/gr4vy/sdk/PaymentServiceDefinitions.java index c200e342..24e375ed 100644 --- a/src/main/java/com/gr4vy/sdk/PaymentServiceDefinitions.java +++ b/src/main/java/com/gr4vy/sdk/PaymentServiceDefinitions.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionPaymentServiceDefinition; import com.gr4vy.sdk.models.components.CreateSession; import com.gr4vy.sdk.models.components.PaymentServiceDefinition; import com.gr4vy.sdk.models.errors.APIException; @@ -242,10 +241,10 @@ public ListPaymentServiceDefinitionsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionPaymentServiceDefinition _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.PaymentServiceDefinitions _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionPaymentServiceDefinition(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPaymentServiceDefinitions(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/PaymentServiceTokens.java b/src/main/java/com/gr4vy/sdk/PaymentServiceTokens.java index f64a0dd0..ba70aa4d 100644 --- a/src/main/java/com/gr4vy/sdk/PaymentServiceTokens.java +++ b/src/main/java/com/gr4vy/sdk/PaymentServiceTokens.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorPaymentServiceToken; import com.gr4vy.sdk.models.components.PaymentServiceToken; import com.gr4vy.sdk.models.components.PaymentServiceTokenCreate; import com.gr4vy.sdk.models.errors.APIException; @@ -222,10 +221,10 @@ public ListPaymentMethodPaymentServiceTokensResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorPaymentServiceToken _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.PaymentServiceTokens _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorPaymentServiceToken(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPaymentServiceTokens(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/PaymentServices.java b/src/main/java/com/gr4vy/sdk/PaymentServices.java index 5a21f6e8..140c3998 100644 --- a/src/main/java/com/gr4vy/sdk/PaymentServices.java +++ b/src/main/java/com/gr4vy/sdk/PaymentServices.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionPaymentService; import com.gr4vy.sdk.models.components.CreateSession; import com.gr4vy.sdk.models.components.PaymentService; import com.gr4vy.sdk.models.components.PaymentServiceCreate; @@ -259,10 +258,10 @@ public ListPaymentServicesResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionPaymentService _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.PaymentServices _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionPaymentService(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPaymentServices(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/Payouts.java b/src/main/java/com/gr4vy/sdk/Payouts.java index e0fec881..4982e58f 100644 --- a/src/main/java/com/gr4vy/sdk/Payouts.java +++ b/src/main/java/com/gr4vy/sdk/Payouts.java @@ -4,8 +4,8 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionPayoutSummary; import com.gr4vy.sdk.models.components.PayoutCreate; +import com.gr4vy.sdk.models.components.PayoutSummaries; import com.gr4vy.sdk.models.components.PayoutSummary; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; @@ -246,10 +246,10 @@ public ListPayoutsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionPayoutSummary _out = Utils.mapper().readValue( + PayoutSummaries _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionPayoutSummary(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withPayoutSummaries(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/Reports.java b/src/main/java/com/gr4vy/sdk/Reports.java index 8cd1b523..de0dd41b 100644 --- a/src/main/java/com/gr4vy/sdk/Reports.java +++ b/src/main/java/com/gr4vy/sdk/Reports.java @@ -4,7 +4,6 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionReport; import com.gr4vy.sdk.models.components.Report; import com.gr4vy.sdk.models.components.ReportCreate; import com.gr4vy.sdk.models.components.ReportUpdate; @@ -251,10 +250,10 @@ public ListReportsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionReport _out = Utils.mapper().readValue( + com.gr4vy.sdk.models.components.Reports _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionReport(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withReports(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/ReportsExecutions.java b/src/main/java/com/gr4vy/sdk/ReportsExecutions.java index 74d3ab16..e9851756 100644 --- a/src/main/java/com/gr4vy/sdk/ReportsExecutions.java +++ b/src/main/java/com/gr4vy/sdk/ReportsExecutions.java @@ -4,8 +4,8 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionReportExecution; import com.gr4vy.sdk.models.components.ReportExecution; +import com.gr4vy.sdk.models.components.ReportExecutions; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -200,10 +200,10 @@ public ListAllReportExecutionsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionReportExecution _out = Utils.mapper().readValue( + ReportExecutions _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionReportExecution(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withReportExecutions(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java index 5d6e13ba..6ec5695e 100644 --- a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java +++ b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java @@ -19,7 +19,7 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "1.0.0"; - public static final String SDK_VERSION = "1.0.0-beta.6"; + public static final String SDK_VERSION = "1.0.0-beta.7"; public static final String GEN_VERSION = "2.618.0"; private static final String BASE_PACKAGE = "com.gr4vy.sdk"; public static final String USER_AGENT = diff --git a/src/main/java/com/gr4vy/sdk/ShippingDetails.java b/src/main/java/com/gr4vy/sdk/ShippingDetails.java index 0a8a188a..1fdace28 100644 --- a/src/main/java/com/gr4vy/sdk/ShippingDetails.java +++ b/src/main/java/com/gr4vy/sdk/ShippingDetails.java @@ -4,8 +4,8 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionNoCursorShippingDetails; import com.gr4vy.sdk.models.components.ShippingDetailsCreate; +import com.gr4vy.sdk.models.components.ShippingDetailsList; import com.gr4vy.sdk.models.components.ShippingDetailsUpdate; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; @@ -595,10 +595,10 @@ public ListBuyerShippingDetailsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionNoCursorShippingDetails _out = Utils.mapper().readValue( + ShippingDetailsList _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionNoCursorShippingDetails(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withShippingDetailsList(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/Transactions.java b/src/main/java/com/gr4vy/sdk/Transactions.java index 59bf4ef2..73e86244 100644 --- a/src/main/java/com/gr4vy/sdk/Transactions.java +++ b/src/main/java/com/gr4vy/sdk/Transactions.java @@ -4,10 +4,10 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionTransactionSummary; import com.gr4vy.sdk.models.components.Transaction; import com.gr4vy.sdk.models.components.TransactionCapture; import com.gr4vy.sdk.models.components.TransactionCreate; +import com.gr4vy.sdk.models.components.TransactionSummaries; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; import com.gr4vy.sdk.models.errors.Error401; @@ -303,10 +303,10 @@ public ListTransactionsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionTransactionSummary _out = Utils.mapper().readValue( + TransactionSummaries _out = Utils.mapper().readValue( new String(_fullResponse, StandardCharsets.UTF_8), - new TypeReference() {}); - _res.withCollectionTransactionSummary(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withTransactionSummaries(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/TransactionsRefunds.java b/src/main/java/com/gr4vy/sdk/TransactionsRefunds.java index 370fbebb..7f49c8b5 100644 --- a/src/main/java/com/gr4vy/sdk/TransactionsRefunds.java +++ b/src/main/java/com/gr4vy/sdk/TransactionsRefunds.java @@ -4,8 +4,8 @@ package com.gr4vy.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.gr4vy.sdk.models.components.CollectionRefund; import com.gr4vy.sdk.models.components.Refund; +import com.gr4vy.sdk.models.components.Refunds; import com.gr4vy.sdk.models.components.TransactionRefundCreate; import com.gr4vy.sdk.models.errors.APIException; import com.gr4vy.sdk.models.errors.Error400; @@ -220,10 +220,10 @@ public ListTransactionRefundsResponse list( if (Utils.statusCodeMatches(_httpRes.statusCode(), "200")) { if (Utils.contentTypeMatches(_contentType, "application/json")) { - CollectionRefund _out = Utils.mapper().readValue( + Refunds _out = Utils.mapper().readValue( Utils.toUtf8AndClose(_httpRes.body()), - new TypeReference() {}); - _res.withCollectionRefund(Optional.ofNullable(_out)); + new TypeReference() {}); + _res.withRefunds(Optional.ofNullable(_out)); return _res; } else { throw new APIException( diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionAuditLogEntry.java b/src/main/java/com/gr4vy/sdk/models/components/AuditLogEntries.java similarity index 90% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionAuditLogEntry.java rename to src/main/java/com/gr4vy/sdk/models/components/AuditLogEntries.java index 4e4a1420..61ed51ce 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionAuditLogEntry.java +++ b/src/main/java/com/gr4vy/sdk/models/components/AuditLogEntries.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionAuditLogEntry { +public class AuditLogEntries { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionAuditLogEntry { private JsonNullable previousCursor; @JsonCreator - public CollectionAuditLogEntry( + public AuditLogEntries( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionAuditLogEntry( this.previousCursor = previousCursor; } - public CollectionAuditLogEntry( + public AuditLogEntries( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionAuditLogEntry withItems(List items) { + public AuditLogEntries withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionAuditLogEntry withItems(List items) { /** * The number of items for this page. */ - public CollectionAuditLogEntry withLimit(long limit) { + public AuditLogEntries withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionAuditLogEntry withLimit(long limit) { /** * The number of items for this page. */ - public CollectionAuditLogEntry withLimit(Optional limit) { + public AuditLogEntries withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionAuditLogEntry withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionAuditLogEntry withNextCursor(String nextCursor) { + public AuditLogEntries withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionAuditLogEntry withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionAuditLogEntry withNextCursor(JsonNullable nextCursor) { + public AuditLogEntries withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionAuditLogEntry withNextCursor(JsonNullable nextCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionAuditLogEntry withPreviousCursor(String previousCursor) { + public AuditLogEntries withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionAuditLogEntry withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionAuditLogEntry withPreviousCursor(JsonNullable previousCursor) { + public AuditLogEntries withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionAuditLogEntry other = (CollectionAuditLogEntry) o; + AuditLogEntries other = (AuditLogEntries) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionAuditLogEntry.class, + return Utils.toString(AuditLogEntries.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionAuditLogEntry build() { + public AuditLogEntries build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionAuditLogEntry( + return new AuditLogEntries( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionBuyer.java b/src/main/java/com/gr4vy/sdk/models/components/Buyers.java similarity index 91% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionBuyer.java rename to src/main/java/com/gr4vy/sdk/models/components/Buyers.java index 89d7300d..3c058a11 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionBuyer.java +++ b/src/main/java/com/gr4vy/sdk/models/components/Buyers.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionBuyer { +public class Buyers { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionBuyer { private JsonNullable previousCursor; @JsonCreator - public CollectionBuyer( + public Buyers( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionBuyer( this.previousCursor = previousCursor; } - public CollectionBuyer( + public Buyers( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionBuyer withItems(List items) { + public Buyers withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionBuyer withItems(List items) { /** * The number of items for this page. */ - public CollectionBuyer withLimit(long limit) { + public Buyers withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionBuyer withLimit(long limit) { /** * The number of items for this page. */ - public CollectionBuyer withLimit(Optional limit) { + public Buyers withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionBuyer withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionBuyer withNextCursor(String nextCursor) { + public Buyers withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionBuyer withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionBuyer withNextCursor(JsonNullable nextCursor) { + public Buyers withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionBuyer withNextCursor(JsonNullable nextCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionBuyer withPreviousCursor(String previousCursor) { + public Buyers withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionBuyer withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionBuyer withPreviousCursor(JsonNullable previousCursor) { + public Buyers withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionBuyer other = (CollectionBuyer) o; + Buyers other = (Buyers) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionBuyer.class, + return Utils.toString(Buyers.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionBuyer build() { + public Buyers build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionBuyer( + return new Buyers( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorCardSchemeDefinition.java b/src/main/java/com/gr4vy/sdk/models/components/CardSchemeDefinitions.java similarity index 80% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorCardSchemeDefinition.java rename to src/main/java/com/gr4vy/sdk/models/components/CardSchemeDefinitions.java index 80e66901..c8d6fac3 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorCardSchemeDefinition.java +++ b/src/main/java/com/gr4vy/sdk/models/components/CardSchemeDefinitions.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorCardSchemeDefinition { +public class CardSchemeDefinitions { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorCardSchemeDefinition { private List items; @JsonCreator - public CollectionNoCursorCardSchemeDefinition( + public CardSchemeDefinitions( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorCardSchemeDefinition withItems(List items) { + public CardSchemeDefinitions withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorCardSchemeDefinition other = (CollectionNoCursorCardSchemeDefinition) o; + CardSchemeDefinitions other = (CardSchemeDefinitions) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorCardSchemeDefinition.class, + return Utils.toString(CardSchemeDefinitions.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorCardSchemeDefinition build() { - return new CollectionNoCursorCardSchemeDefinition( + public CardSchemeDefinitions build() { + return new CardSchemeDefinitions( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorDigitalWallet.java b/src/main/java/com/gr4vy/sdk/models/components/DigitalWallets.java similarity index 82% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorDigitalWallet.java rename to src/main/java/com/gr4vy/sdk/models/components/DigitalWallets.java index b1fb3907..7e766777 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorDigitalWallet.java +++ b/src/main/java/com/gr4vy/sdk/models/components/DigitalWallets.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorDigitalWallet { +public class DigitalWallets { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorDigitalWallet { private List items; @JsonCreator - public CollectionNoCursorDigitalWallet( + public DigitalWallets( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorDigitalWallet withItems(List items) { + public DigitalWallets withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorDigitalWallet other = (CollectionNoCursorDigitalWallet) o; + DigitalWallets other = (DigitalWallets) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorDigitalWallet.class, + return Utils.toString(DigitalWallets.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorDigitalWallet build() { - return new CollectionNoCursorDigitalWallet( + public DigitalWallets build() { + return new DigitalWallets( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorGiftCardSummary.java b/src/main/java/com/gr4vy/sdk/models/components/GiftCardSummaries.java similarity index 82% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorGiftCardSummary.java rename to src/main/java/com/gr4vy/sdk/models/components/GiftCardSummaries.java index 660872aa..4c97e47f 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorGiftCardSummary.java +++ b/src/main/java/com/gr4vy/sdk/models/components/GiftCardSummaries.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorGiftCardSummary { +public class GiftCardSummaries { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorGiftCardSummary { private List items; @JsonCreator - public CollectionNoCursorGiftCardSummary( + public GiftCardSummaries( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorGiftCardSummary withItems(List items) { + public GiftCardSummaries withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorGiftCardSummary other = (CollectionNoCursorGiftCardSummary) o; + GiftCardSummaries other = (GiftCardSummaries) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorGiftCardSummary.class, + return Utils.toString(GiftCardSummaries.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorGiftCardSummary build() { - return new CollectionNoCursorGiftCardSummary( + public GiftCardSummaries build() { + return new GiftCardSummaries( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionGiftCard.java b/src/main/java/com/gr4vy/sdk/models/components/GiftCards.java similarity index 90% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionGiftCard.java rename to src/main/java/com/gr4vy/sdk/models/components/GiftCards.java index 3f2879ee..b824d641 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionGiftCard.java +++ b/src/main/java/com/gr4vy/sdk/models/components/GiftCards.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionGiftCard { +public class GiftCards { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionGiftCard { private JsonNullable previousCursor; @JsonCreator - public CollectionGiftCard( + public GiftCards( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionGiftCard( this.previousCursor = previousCursor; } - public CollectionGiftCard( + public GiftCards( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionGiftCard withItems(List items) { + public GiftCards withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionGiftCard withItems(List items) { /** * The number of items for this page. */ - public CollectionGiftCard withLimit(long limit) { + public GiftCards withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionGiftCard withLimit(long limit) { /** * The number of items for this page. */ - public CollectionGiftCard withLimit(Optional limit) { + public GiftCards withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionGiftCard withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionGiftCard withNextCursor(String nextCursor) { + public GiftCards withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionGiftCard withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionGiftCard withNextCursor(JsonNullable nextCursor) { + public GiftCards withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionGiftCard withNextCursor(JsonNullable nextCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionGiftCard withPreviousCursor(String previousCursor) { + public GiftCards withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionGiftCard withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionGiftCard withPreviousCursor(JsonNullable previousCursor) { + public GiftCards withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionGiftCard other = (CollectionGiftCard) o; + GiftCards other = (GiftCards) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionGiftCard.class, + return Utils.toString(GiftCards.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionGiftCard build() { + public GiftCards build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionGiftCard( + return new GiftCards( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionMerchantAccount.java b/src/main/java/com/gr4vy/sdk/models/components/MerchantAccounts.java similarity index 89% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionMerchantAccount.java rename to src/main/java/com/gr4vy/sdk/models/components/MerchantAccounts.java index c709c4a0..45c51df5 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionMerchantAccount.java +++ b/src/main/java/com/gr4vy/sdk/models/components/MerchantAccounts.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionMerchantAccount { +public class MerchantAccounts { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionMerchantAccount { private JsonNullable previousCursor; @JsonCreator - public CollectionMerchantAccount( + public MerchantAccounts( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionMerchantAccount( this.previousCursor = previousCursor; } - public CollectionMerchantAccount( + public MerchantAccounts( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionMerchantAccount withItems(List items) { + public MerchantAccounts withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionMerchantAccount withItems(List items) { /** * The number of items for this page. */ - public CollectionMerchantAccount withLimit(long limit) { + public MerchantAccounts withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionMerchantAccount withLimit(long limit) { /** * The number of items for this page. */ - public CollectionMerchantAccount withLimit(Optional limit) { + public MerchantAccounts withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionMerchantAccount withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionMerchantAccount withNextCursor(String nextCursor) { + public MerchantAccounts withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionMerchantAccount withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionMerchantAccount withNextCursor(JsonNullable nextCursor) { + public MerchantAccounts withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionMerchantAccount withNextCursor(JsonNullable nextCursor) /** * The cursor pointing at the previous page of items. */ - public CollectionMerchantAccount withPreviousCursor(String previousCursor) { + public MerchantAccounts withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionMerchantAccount withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionMerchantAccount withPreviousCursor(JsonNullable previousCursor) { + public MerchantAccounts withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionMerchantAccount other = (CollectionMerchantAccount) o; + MerchantAccounts other = (MerchantAccounts) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionMerchantAccount.class, + return Utils.toString(MerchantAccounts.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionMerchantAccount build() { + public MerchantAccounts build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionMerchantAccount( + return new MerchantAccounts( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorNetworkToken.java b/src/main/java/com/gr4vy/sdk/models/components/NetworkTokens.java similarity index 82% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorNetworkToken.java rename to src/main/java/com/gr4vy/sdk/models/components/NetworkTokens.java index 3d913dae..29e50191 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorNetworkToken.java +++ b/src/main/java/com/gr4vy/sdk/models/components/NetworkTokens.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorNetworkToken { +public class NetworkTokens { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorNetworkToken { private List items; @JsonCreator - public CollectionNoCursorNetworkToken( + public NetworkTokens( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorNetworkToken withItems(List items) { + public NetworkTokens withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorNetworkToken other = (CollectionNoCursorNetworkToken) o; + NetworkTokens other = (NetworkTokens) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorNetworkToken.class, + return Utils.toString(NetworkTokens.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorNetworkToken build() { - return new CollectionNoCursorNetworkToken( + public NetworkTokens build() { + return new NetworkTokens( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentMethodSummary.java b/src/main/java/com/gr4vy/sdk/models/components/PaymentMethodSummaries.java similarity index 80% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentMethodSummary.java rename to src/main/java/com/gr4vy/sdk/models/components/PaymentMethodSummaries.java index 6726d27d..0a18d3ac 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentMethodSummary.java +++ b/src/main/java/com/gr4vy/sdk/models/components/PaymentMethodSummaries.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorPaymentMethodSummary { +public class PaymentMethodSummaries { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorPaymentMethodSummary { private List items; @JsonCreator - public CollectionNoCursorPaymentMethodSummary( + public PaymentMethodSummaries( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorPaymentMethodSummary withItems(List items) { + public PaymentMethodSummaries withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorPaymentMethodSummary other = (CollectionNoCursorPaymentMethodSummary) o; + PaymentMethodSummaries other = (PaymentMethodSummaries) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorPaymentMethodSummary.class, + return Utils.toString(PaymentMethodSummaries.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorPaymentMethodSummary build() { - return new CollectionNoCursorPaymentMethodSummary( + public PaymentMethodSummaries build() { + return new PaymentMethodSummaries( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentMethod.java b/src/main/java/com/gr4vy/sdk/models/components/PaymentMethods.java similarity index 90% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentMethod.java rename to src/main/java/com/gr4vy/sdk/models/components/PaymentMethods.java index 40cd9d28..1fea4c0c 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentMethod.java +++ b/src/main/java/com/gr4vy/sdk/models/components/PaymentMethods.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionPaymentMethod { +public class PaymentMethods { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionPaymentMethod { private JsonNullable previousCursor; @JsonCreator - public CollectionPaymentMethod( + public PaymentMethods( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionPaymentMethod( this.previousCursor = previousCursor; } - public CollectionPaymentMethod( + public PaymentMethods( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionPaymentMethod withItems(List items) { + public PaymentMethods withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionPaymentMethod withItems(List items) { /** * The number of items for this page. */ - public CollectionPaymentMethod withLimit(long limit) { + public PaymentMethods withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionPaymentMethod withLimit(long limit) { /** * The number of items for this page. */ - public CollectionPaymentMethod withLimit(Optional limit) { + public PaymentMethods withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionPaymentMethod withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionPaymentMethod withNextCursor(String nextCursor) { + public PaymentMethods withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionPaymentMethod withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionPaymentMethod withNextCursor(JsonNullable nextCursor) { + public PaymentMethods withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionPaymentMethod withNextCursor(JsonNullable nextCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionPaymentMethod withPreviousCursor(String previousCursor) { + public PaymentMethods withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionPaymentMethod withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionPaymentMethod withPreviousCursor(JsonNullable previousCursor) { + public PaymentMethods withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionPaymentMethod other = (CollectionPaymentMethod) o; + PaymentMethods other = (PaymentMethods) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionPaymentMethod.class, + return Utils.toString(PaymentMethods.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionPaymentMethod build() { + public PaymentMethods build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionPaymentMethod( + return new PaymentMethods( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentOption.java b/src/main/java/com/gr4vy/sdk/models/components/PaymentOptions.java similarity index 82% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentOption.java rename to src/main/java/com/gr4vy/sdk/models/components/PaymentOptions.java index f767c552..acb46b7b 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentOption.java +++ b/src/main/java/com/gr4vy/sdk/models/components/PaymentOptions.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorPaymentOption { +public class PaymentOptions { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorPaymentOption { private List items; @JsonCreator - public CollectionNoCursorPaymentOption( + public PaymentOptions( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorPaymentOption withItems(List items) { + public PaymentOptions withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorPaymentOption other = (CollectionNoCursorPaymentOption) o; + PaymentOptions other = (PaymentOptions) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorPaymentOption.class, + return Utils.toString(PaymentOptions.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorPaymentOption build() { - return new CollectionNoCursorPaymentOption( + public PaymentOptions build() { + return new PaymentOptions( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentServiceDefinition.java b/src/main/java/com/gr4vy/sdk/models/components/PaymentServiceDefinitions.java similarity index 88% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentServiceDefinition.java rename to src/main/java/com/gr4vy/sdk/models/components/PaymentServiceDefinitions.java index 560235eb..21735a6a 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentServiceDefinition.java +++ b/src/main/java/com/gr4vy/sdk/models/components/PaymentServiceDefinitions.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionPaymentServiceDefinition { +public class PaymentServiceDefinitions { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionPaymentServiceDefinition { private JsonNullable previousCursor; @JsonCreator - public CollectionPaymentServiceDefinition( + public PaymentServiceDefinitions( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionPaymentServiceDefinition( this.previousCursor = previousCursor; } - public CollectionPaymentServiceDefinition( + public PaymentServiceDefinitions( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionPaymentServiceDefinition withItems(List items) { + public PaymentServiceDefinitions withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionPaymentServiceDefinition withItems(List limit) { + public PaymentServiceDefinitions withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionPaymentServiceDefinition withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionPaymentServiceDefinition withNextCursor(String nextCursor) { + public PaymentServiceDefinitions withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionPaymentServiceDefinition withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionPaymentServiceDefinition withNextCursor(JsonNullable nextCursor) { + public PaymentServiceDefinitions withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionPaymentServiceDefinition withNextCursor(JsonNullable ne /** * The cursor pointing at the previous page of items. */ - public CollectionPaymentServiceDefinition withPreviousCursor(String previousCursor) { + public PaymentServiceDefinitions withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionPaymentServiceDefinition withPreviousCursor(String previousCurs /** * The cursor pointing at the previous page of items. */ - public CollectionPaymentServiceDefinition withPreviousCursor(JsonNullable previousCursor) { + public PaymentServiceDefinitions withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionPaymentServiceDefinition other = (CollectionPaymentServiceDefinition) o; + PaymentServiceDefinitions other = (PaymentServiceDefinitions) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionPaymentServiceDefinition.class, + return Utils.toString(PaymentServiceDefinitions.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionPaymentServiceDefinition build() { + public PaymentServiceDefinitions build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionPaymentServiceDefinition( + return new PaymentServiceDefinitions( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentServiceToken.java b/src/main/java/com/gr4vy/sdk/models/components/PaymentServiceTokens.java similarity index 81% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentServiceToken.java rename to src/main/java/com/gr4vy/sdk/models/components/PaymentServiceTokens.java index 088a09ca..a3818adf 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorPaymentServiceToken.java +++ b/src/main/java/com/gr4vy/sdk/models/components/PaymentServiceTokens.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorPaymentServiceToken { +public class PaymentServiceTokens { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorPaymentServiceToken { private List items; @JsonCreator - public CollectionNoCursorPaymentServiceToken( + public PaymentServiceTokens( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorPaymentServiceToken withItems(List items) { + public PaymentServiceTokens withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorPaymentServiceToken other = (CollectionNoCursorPaymentServiceToken) o; + PaymentServiceTokens other = (PaymentServiceTokens) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorPaymentServiceToken.class, + return Utils.toString(PaymentServiceTokens.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorPaymentServiceToken build() { - return new CollectionNoCursorPaymentServiceToken( + public PaymentServiceTokens build() { + return new PaymentServiceTokens( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentService.java b/src/main/java/com/gr4vy/sdk/models/components/PaymentServices.java similarity index 90% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentService.java rename to src/main/java/com/gr4vy/sdk/models/components/PaymentServices.java index 8be0cd52..1cf28bb5 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionPaymentService.java +++ b/src/main/java/com/gr4vy/sdk/models/components/PaymentServices.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionPaymentService { +public class PaymentServices { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionPaymentService { private JsonNullable previousCursor; @JsonCreator - public CollectionPaymentService( + public PaymentServices( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionPaymentService( this.previousCursor = previousCursor; } - public CollectionPaymentService( + public PaymentServices( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionPaymentService withItems(List items) { + public PaymentServices withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionPaymentService withItems(List items) { /** * The number of items for this page. */ - public CollectionPaymentService withLimit(long limit) { + public PaymentServices withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionPaymentService withLimit(long limit) { /** * The number of items for this page. */ - public CollectionPaymentService withLimit(Optional limit) { + public PaymentServices withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionPaymentService withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionPaymentService withNextCursor(String nextCursor) { + public PaymentServices withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionPaymentService withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionPaymentService withNextCursor(JsonNullable nextCursor) { + public PaymentServices withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionPaymentService withNextCursor(JsonNullable nextCursor) /** * The cursor pointing at the previous page of items. */ - public CollectionPaymentService withPreviousCursor(String previousCursor) { + public PaymentServices withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionPaymentService withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionPaymentService withPreviousCursor(JsonNullable previousCursor) { + public PaymentServices withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionPaymentService other = (CollectionPaymentService) o; + PaymentServices other = (PaymentServices) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionPaymentService.class, + return Utils.toString(PaymentServices.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionPaymentService build() { + public PaymentServices build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionPaymentService( + return new PaymentServices( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionPayoutSummary.java b/src/main/java/com/gr4vy/sdk/models/components/PayoutSummaries.java similarity index 90% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionPayoutSummary.java rename to src/main/java/com/gr4vy/sdk/models/components/PayoutSummaries.java index 012b6d55..13916c9d 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionPayoutSummary.java +++ b/src/main/java/com/gr4vy/sdk/models/components/PayoutSummaries.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionPayoutSummary { +public class PayoutSummaries { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionPayoutSummary { private JsonNullable previousCursor; @JsonCreator - public CollectionPayoutSummary( + public PayoutSummaries( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionPayoutSummary( this.previousCursor = previousCursor; } - public CollectionPayoutSummary( + public PayoutSummaries( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionPayoutSummary withItems(List items) { + public PayoutSummaries withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionPayoutSummary withItems(List items) { /** * The number of items for this page. */ - public CollectionPayoutSummary withLimit(long limit) { + public PayoutSummaries withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionPayoutSummary withLimit(long limit) { /** * The number of items for this page. */ - public CollectionPayoutSummary withLimit(Optional limit) { + public PayoutSummaries withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionPayoutSummary withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionPayoutSummary withNextCursor(String nextCursor) { + public PayoutSummaries withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionPayoutSummary withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionPayoutSummary withNextCursor(JsonNullable nextCursor) { + public PayoutSummaries withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionPayoutSummary withNextCursor(JsonNullable nextCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionPayoutSummary withPreviousCursor(String previousCursor) { + public PayoutSummaries withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionPayoutSummary withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionPayoutSummary withPreviousCursor(JsonNullable previousCursor) { + public PayoutSummaries withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionPayoutSummary other = (CollectionPayoutSummary) o; + PayoutSummaries other = (PayoutSummaries) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionPayoutSummary.class, + return Utils.toString(PayoutSummaries.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionPayoutSummary build() { + public PayoutSummaries build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionPayoutSummary( + return new PayoutSummaries( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionRefund.java b/src/main/java/com/gr4vy/sdk/models/components/Refunds.java similarity index 91% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionRefund.java rename to src/main/java/com/gr4vy/sdk/models/components/Refunds.java index b4ecfd00..dff4ca04 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionRefund.java +++ b/src/main/java/com/gr4vy/sdk/models/components/Refunds.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionRefund { +public class Refunds { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionRefund { private JsonNullable previousCursor; @JsonCreator - public CollectionRefund( + public Refunds( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionRefund( this.previousCursor = previousCursor; } - public CollectionRefund( + public Refunds( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionRefund withItems(List items) { + public Refunds withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionRefund withItems(List items) { /** * The number of items for this page. */ - public CollectionRefund withLimit(long limit) { + public Refunds withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionRefund withLimit(long limit) { /** * The number of items for this page. */ - public CollectionRefund withLimit(Optional limit) { + public Refunds withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionRefund withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionRefund withNextCursor(String nextCursor) { + public Refunds withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionRefund withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionRefund withNextCursor(JsonNullable nextCursor) { + public Refunds withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionRefund withNextCursor(JsonNullable nextCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionRefund withPreviousCursor(String previousCursor) { + public Refunds withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionRefund withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionRefund withPreviousCursor(JsonNullable previousCursor) { + public Refunds withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionRefund other = (CollectionRefund) o; + Refunds other = (Refunds) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionRefund.class, + return Utils.toString(Refunds.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionRefund build() { + public Refunds build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionRefund( + return new Refunds( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionReportExecution.java b/src/main/java/com/gr4vy/sdk/models/components/ReportExecutions.java similarity index 89% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionReportExecution.java rename to src/main/java/com/gr4vy/sdk/models/components/ReportExecutions.java index c3c47060..ea79f068 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionReportExecution.java +++ b/src/main/java/com/gr4vy/sdk/models/components/ReportExecutions.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionReportExecution { +public class ReportExecutions { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionReportExecution { private JsonNullable previousCursor; @JsonCreator - public CollectionReportExecution( + public ReportExecutions( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionReportExecution( this.previousCursor = previousCursor; } - public CollectionReportExecution( + public ReportExecutions( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionReportExecution withItems(List items) { + public ReportExecutions withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionReportExecution withItems(List items) { /** * The number of items for this page. */ - public CollectionReportExecution withLimit(long limit) { + public ReportExecutions withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionReportExecution withLimit(long limit) { /** * The number of items for this page. */ - public CollectionReportExecution withLimit(Optional limit) { + public ReportExecutions withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionReportExecution withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionReportExecution withNextCursor(String nextCursor) { + public ReportExecutions withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionReportExecution withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionReportExecution withNextCursor(JsonNullable nextCursor) { + public ReportExecutions withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionReportExecution withNextCursor(JsonNullable nextCursor) /** * The cursor pointing at the previous page of items. */ - public CollectionReportExecution withPreviousCursor(String previousCursor) { + public ReportExecutions withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionReportExecution withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionReportExecution withPreviousCursor(JsonNullable previousCursor) { + public ReportExecutions withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionReportExecution other = (CollectionReportExecution) o; + ReportExecutions other = (ReportExecutions) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionReportExecution.class, + return Utils.toString(ReportExecutions.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionReportExecution build() { + public ReportExecutions build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionReportExecution( + return new ReportExecutions( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionReport.java b/src/main/java/com/gr4vy/sdk/models/components/Reports.java similarity index 91% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionReport.java rename to src/main/java/com/gr4vy/sdk/models/components/Reports.java index 3d06142d..667951a0 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionReport.java +++ b/src/main/java/com/gr4vy/sdk/models/components/Reports.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionReport { +public class Reports { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionReport { private JsonNullable previousCursor; @JsonCreator - public CollectionReport( + public Reports( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionReport( this.previousCursor = previousCursor; } - public CollectionReport( + public Reports( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionReport withItems(List items) { + public Reports withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionReport withItems(List items) { /** * The number of items for this page. */ - public CollectionReport withLimit(long limit) { + public Reports withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionReport withLimit(long limit) { /** * The number of items for this page. */ - public CollectionReport withLimit(Optional limit) { + public Reports withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionReport withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionReport withNextCursor(String nextCursor) { + public Reports withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionReport withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionReport withNextCursor(JsonNullable nextCursor) { + public Reports withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionReport withNextCursor(JsonNullable nextCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionReport withPreviousCursor(String previousCursor) { + public Reports withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionReport withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionReport withPreviousCursor(JsonNullable previousCursor) { + public Reports withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionReport other = (CollectionReport) o; + Reports other = (Reports) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionReport.class, + return Utils.toString(Reports.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionReport build() { + public Reports build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionReport( + return new Reports( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorShippingDetails.java b/src/main/java/com/gr4vy/sdk/models/components/ShippingDetailsList.java similarity index 82% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorShippingDetails.java rename to src/main/java/com/gr4vy/sdk/models/components/ShippingDetailsList.java index 6a9a03c4..10de85d8 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionNoCursorShippingDetails.java +++ b/src/main/java/com/gr4vy/sdk/models/components/ShippingDetailsList.java @@ -12,7 +12,7 @@ import java.util.List; import java.util.Objects; -public class CollectionNoCursorShippingDetails { +public class ShippingDetailsList { /** * A list of items returned for this request. @@ -21,7 +21,7 @@ public class CollectionNoCursorShippingDetails { private List items; @JsonCreator - public CollectionNoCursorShippingDetails( + public ShippingDetailsList( @JsonProperty("items") List items) { Utils.checkNotNull(items, "items"); this.items = items; @@ -42,7 +42,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionNoCursorShippingDetails withItems(List items) { + public ShippingDetailsList withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -57,7 +57,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionNoCursorShippingDetails other = (CollectionNoCursorShippingDetails) o; + ShippingDetailsList other = (ShippingDetailsList) o; return Objects.deepEquals(this.items, other.items); } @@ -70,7 +70,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionNoCursorShippingDetails.class, + return Utils.toString(ShippingDetailsList.class, "items", items); } @@ -91,8 +91,8 @@ public Builder items(List items) { return this; } - public CollectionNoCursorShippingDetails build() { - return new CollectionNoCursorShippingDetails( + public ShippingDetailsList build() { + return new ShippingDetailsList( items); } } diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionEvent.java b/src/main/java/com/gr4vy/sdk/models/components/TransactionEvents.java similarity index 89% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionEvent.java rename to src/main/java/com/gr4vy/sdk/models/components/TransactionEvents.java index 21c9a55a..1c0d5563 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionEvent.java +++ b/src/main/java/com/gr4vy/sdk/models/components/TransactionEvents.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionTransactionEvent { +public class TransactionEvents { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionTransactionEvent { private JsonNullable previousCursor; @JsonCreator - public CollectionTransactionEvent( + public TransactionEvents( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionTransactionEvent( this.previousCursor = previousCursor; } - public CollectionTransactionEvent( + public TransactionEvents( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionTransactionEvent withItems(List items) { + public TransactionEvents withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionTransactionEvent withItems(List items) { /** * The number of items for this page. */ - public CollectionTransactionEvent withLimit(long limit) { + public TransactionEvents withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionTransactionEvent withLimit(long limit) { /** * The number of items for this page. */ - public CollectionTransactionEvent withLimit(Optional limit) { + public TransactionEvents withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionTransactionEvent withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionTransactionEvent withNextCursor(String nextCursor) { + public TransactionEvents withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionTransactionEvent withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionTransactionEvent withNextCursor(JsonNullable nextCursor) { + public TransactionEvents withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionTransactionEvent withNextCursor(JsonNullable nextCursor /** * The cursor pointing at the previous page of items. */ - public CollectionTransactionEvent withPreviousCursor(String previousCursor) { + public TransactionEvents withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionTransactionEvent withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionTransactionEvent withPreviousCursor(JsonNullable previousCursor) { + public TransactionEvents withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionTransactionEvent other = (CollectionTransactionEvent) o; + TransactionEvents other = (TransactionEvents) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionTransactionEvent.class, + return Utils.toString(TransactionEvents.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionTransactionEvent build() { + public TransactionEvents build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionTransactionEvent( + return new TransactionEvents( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionSummary.java b/src/main/java/com/gr4vy/sdk/models/components/TransactionSummaries.java similarity index 89% rename from src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionSummary.java rename to src/main/java/com/gr4vy/sdk/models/components/TransactionSummaries.java index fe65552c..abcf9e89 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/CollectionTransactionSummary.java +++ b/src/main/java/com/gr4vy/sdk/models/components/TransactionSummaries.java @@ -19,7 +19,7 @@ import java.util.Optional; import org.openapitools.jackson.nullable.JsonNullable; -public class CollectionTransactionSummary { +public class TransactionSummaries { /** * A list of items returned for this request. @@ -49,7 +49,7 @@ public class CollectionTransactionSummary { private JsonNullable previousCursor; @JsonCreator - public CollectionTransactionSummary( + public TransactionSummaries( @JsonProperty("items") List items, @JsonProperty("limit") Optional limit, @JsonProperty("next_cursor") JsonNullable nextCursor, @@ -64,7 +64,7 @@ public CollectionTransactionSummary( this.previousCursor = previousCursor; } - public CollectionTransactionSummary( + public TransactionSummaries( List items) { this(items, Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -108,7 +108,7 @@ public final static Builder builder() { /** * A list of items returned for this request. */ - public CollectionTransactionSummary withItems(List items) { + public TransactionSummaries withItems(List items) { Utils.checkNotNull(items, "items"); this.items = items; return this; @@ -117,7 +117,7 @@ public CollectionTransactionSummary withItems(List items) { /** * The number of items for this page. */ - public CollectionTransactionSummary withLimit(long limit) { + public TransactionSummaries withLimit(long limit) { Utils.checkNotNull(limit, "limit"); this.limit = Optional.ofNullable(limit); return this; @@ -126,7 +126,7 @@ public CollectionTransactionSummary withLimit(long limit) { /** * The number of items for this page. */ - public CollectionTransactionSummary withLimit(Optional limit) { + public TransactionSummaries withLimit(Optional limit) { Utils.checkNotNull(limit, "limit"); this.limit = limit; return this; @@ -135,7 +135,7 @@ public CollectionTransactionSummary withLimit(Optional limit) { /** * The cursor pointing at the next page of items. */ - public CollectionTransactionSummary withNextCursor(String nextCursor) { + public TransactionSummaries withNextCursor(String nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = JsonNullable.of(nextCursor); return this; @@ -144,7 +144,7 @@ public CollectionTransactionSummary withNextCursor(String nextCursor) { /** * The cursor pointing at the next page of items. */ - public CollectionTransactionSummary withNextCursor(JsonNullable nextCursor) { + public TransactionSummaries withNextCursor(JsonNullable nextCursor) { Utils.checkNotNull(nextCursor, "nextCursor"); this.nextCursor = nextCursor; return this; @@ -153,7 +153,7 @@ public CollectionTransactionSummary withNextCursor(JsonNullable nextCurs /** * The cursor pointing at the previous page of items. */ - public CollectionTransactionSummary withPreviousCursor(String previousCursor) { + public TransactionSummaries withPreviousCursor(String previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = JsonNullable.of(previousCursor); return this; @@ -162,7 +162,7 @@ public CollectionTransactionSummary withPreviousCursor(String previousCursor) { /** * The cursor pointing at the previous page of items. */ - public CollectionTransactionSummary withPreviousCursor(JsonNullable previousCursor) { + public TransactionSummaries withPreviousCursor(JsonNullable previousCursor) { Utils.checkNotNull(previousCursor, "previousCursor"); this.previousCursor = previousCursor; return this; @@ -177,7 +177,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CollectionTransactionSummary other = (CollectionTransactionSummary) o; + TransactionSummaries other = (TransactionSummaries) o; return Objects.deepEquals(this.items, other.items) && Objects.deepEquals(this.limit, other.limit) && @@ -196,7 +196,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CollectionTransactionSummary.class, + return Utils.toString(TransactionSummaries.class, "items", items, "limit", limit, "nextCursor", nextCursor, @@ -280,11 +280,11 @@ public Builder previousCursor(JsonNullable previousCursor) { return this; } - public CollectionTransactionSummary build() { + public TransactionSummaries build() { if (limit == null) { limit = _SINGLETON_VALUE_Limit.value(); } - return new CollectionTransactionSummary( + return new TransactionSummaries( items, limit, nextCursor, diff --git a/src/main/java/com/gr4vy/sdk/models/operations/CreateFullTransactionRefundResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/CreateFullTransactionRefundResponse.java index f4f8b776..8e76577a 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/CreateFullTransactionRefundResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/CreateFullTransactionRefundResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionRefund; +import com.gr4vy.sdk.models.components.Refunds; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class CreateFullTransactionRefundResponse implements Response { /** * Successful Response */ - private Optional collectionRefund; + private Optional refunds; @JsonCreator public CreateFullTransactionRefundResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionRefund) { + Optional refunds) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionRefund, "collectionRefund"); + Utils.checkNotNull(refunds, "refunds"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionRefund = collectionRefund; + this.refunds = refunds; } public CreateFullTransactionRefundResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionRefund() { - return (Optional) collectionRefund; + public Optional refunds() { + return (Optional) refunds; } public final static Builder builder() { @@ -129,18 +129,18 @@ public CreateFullTransactionRefundResponse withRawResponse(HttpResponse collectionRefund) { - Utils.checkNotNull(collectionRefund, "collectionRefund"); - this.collectionRefund = collectionRefund; + public CreateFullTransactionRefundResponse withRefunds(Optional refunds) { + Utils.checkNotNull(refunds, "refunds"); + this.refunds = refunds; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionRefund, other.collectionRefund); + Objects.deepEquals(this.refunds, other.refunds); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionRefund); + refunds); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionRefund", collectionRefund); + "refunds", refunds); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionRefund = Optional.empty(); + private Optional refunds = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionRefund(CollectionRefund collectionRefund) { - Utils.checkNotNull(collectionRefund, "collectionRefund"); - this.collectionRefund = Optional.ofNullable(collectionRefund); + public Builder refunds(Refunds refunds) { + Utils.checkNotNull(refunds, "refunds"); + this.refunds = Optional.ofNullable(refunds); return this; } /** * Successful Response */ - public Builder collectionRefund(Optional collectionRefund) { - Utils.checkNotNull(collectionRefund, "collectionRefund"); - this.collectionRefund = collectionRefund; + public Builder refunds(Optional refunds) { + Utils.checkNotNull(refunds, "refunds"); + this.refunds = refunds; return this; } @@ -243,7 +243,7 @@ public CreateFullTransactionRefundResponse build() { contentType, statusCode, rawResponse, - collectionRefund); + refunds); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListAllReportExecutionsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListAllReportExecutionsResponse.java index a7b9588b..c07b9e72 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListAllReportExecutionsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListAllReportExecutionsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionReportExecution; +import com.gr4vy.sdk.models.components.ReportExecutions; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListAllReportExecutionsResponse implements Response { /** * Successful Response */ - private Optional collectionReportExecution; + private Optional reportExecutions; @JsonCreator public ListAllReportExecutionsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionReportExecution) { + Optional reportExecutions) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); + Utils.checkNotNull(reportExecutions, "reportExecutions"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionReportExecution = collectionReportExecution; + this.reportExecutions = reportExecutions; } public ListAllReportExecutionsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionReportExecution() { - return (Optional) collectionReportExecution; + public Optional reportExecutions() { + return (Optional) reportExecutions; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListAllReportExecutionsResponse withRawResponse(HttpResponse /** * Successful Response */ - public ListAllReportExecutionsResponse withCollectionReportExecution(CollectionReportExecution collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = Optional.ofNullable(collectionReportExecution); + public ListAllReportExecutionsResponse withReportExecutions(ReportExecutions reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = Optional.ofNullable(reportExecutions); return this; } /** * Successful Response */ - public ListAllReportExecutionsResponse withCollectionReportExecution(Optional collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = collectionReportExecution; + public ListAllReportExecutionsResponse withReportExecutions(Optional reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = reportExecutions; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionReportExecution, other.collectionReportExecution); + Objects.deepEquals(this.reportExecutions, other.reportExecutions); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionReportExecution); + reportExecutions); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionReportExecution", collectionReportExecution); + "reportExecutions", reportExecutions); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionReportExecution = Optional.empty(); + private Optional reportExecutions = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionReportExecution(CollectionReportExecution collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = Optional.ofNullable(collectionReportExecution); + public Builder reportExecutions(ReportExecutions reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = Optional.ofNullable(reportExecutions); return this; } /** * Successful Response */ - public Builder collectionReportExecution(Optional collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = collectionReportExecution; + public Builder reportExecutions(Optional reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = reportExecutions; return this; } @@ -243,7 +243,7 @@ public ListAllReportExecutionsResponse build() { contentType, statusCode, rawResponse, - collectionReportExecution); + reportExecutions); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListAuditLogsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListAuditLogsResponse.java index 48d609ff..bafa6d4a 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListAuditLogsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListAuditLogsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionAuditLogEntry; +import com.gr4vy.sdk.models.components.AuditLogEntries; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListAuditLogsResponse implements Response { /** * Successful Response */ - private Optional collectionAuditLogEntry; + private Optional auditLogEntries; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListAuditLogsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionAuditLogEntry) { + Optional auditLogEntries) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionAuditLogEntry, "collectionAuditLogEntry"); + Utils.checkNotNull(auditLogEntries, "auditLogEntries"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionAuditLogEntry = collectionAuditLogEntry; + this.auditLogEntries = auditLogEntries; } public ListAuditLogsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionAuditLogEntry() { - return (Optional) collectionAuditLogEntry; + public Optional auditLogEntries() { + return (Optional) auditLogEntries; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListAuditLogsResponse withRawResponse(HttpResponse rawRespon /** * Successful Response */ - public ListAuditLogsResponse withCollectionAuditLogEntry(CollectionAuditLogEntry collectionAuditLogEntry) { - Utils.checkNotNull(collectionAuditLogEntry, "collectionAuditLogEntry"); - this.collectionAuditLogEntry = Optional.ofNullable(collectionAuditLogEntry); + public ListAuditLogsResponse withAuditLogEntries(AuditLogEntries auditLogEntries) { + Utils.checkNotNull(auditLogEntries, "auditLogEntries"); + this.auditLogEntries = Optional.ofNullable(auditLogEntries); return this; } /** * Successful Response */ - public ListAuditLogsResponse withCollectionAuditLogEntry(Optional collectionAuditLogEntry) { - Utils.checkNotNull(collectionAuditLogEntry, "collectionAuditLogEntry"); - this.collectionAuditLogEntry = collectionAuditLogEntry; + public ListAuditLogsResponse withAuditLogEntries(Optional auditLogEntries) { + Utils.checkNotNull(auditLogEntries, "auditLogEntries"); + this.auditLogEntries = auditLogEntries; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionAuditLogEntry, other.collectionAuditLogEntry); + Objects.deepEquals(this.auditLogEntries, other.auditLogEntries); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionAuditLogEntry); + auditLogEntries); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionAuditLogEntry", collectionAuditLogEntry); + "auditLogEntries", auditLogEntries); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionAuditLogEntry = Optional.empty(); + private Optional auditLogEntries = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionAuditLogEntry(CollectionAuditLogEntry collectionAuditLogEntry) { - Utils.checkNotNull(collectionAuditLogEntry, "collectionAuditLogEntry"); - this.collectionAuditLogEntry = Optional.ofNullable(collectionAuditLogEntry); + public Builder auditLogEntries(AuditLogEntries auditLogEntries) { + Utils.checkNotNull(auditLogEntries, "auditLogEntries"); + this.auditLogEntries = Optional.ofNullable(auditLogEntries); return this; } /** * Successful Response */ - public Builder collectionAuditLogEntry(Optional collectionAuditLogEntry) { - Utils.checkNotNull(collectionAuditLogEntry, "collectionAuditLogEntry"); - this.collectionAuditLogEntry = collectionAuditLogEntry; + public Builder auditLogEntries(Optional auditLogEntries) { + Utils.checkNotNull(auditLogEntries, "auditLogEntries"); + this.auditLogEntries = auditLogEntries; return this; } @@ -271,7 +271,7 @@ public ListAuditLogsResponse build() { contentType, statusCode, rawResponse, - collectionAuditLogEntry) + auditLogEntries) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerGiftCardsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerGiftCardsResponse.java index d94d2a90..01252d44 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerGiftCardsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerGiftCardsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorGiftCardSummary; +import com.gr4vy.sdk.models.components.GiftCardSummaries; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListBuyerGiftCardsResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorGiftCardSummary; + private Optional giftCardSummaries; @JsonCreator public ListBuyerGiftCardsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorGiftCardSummary) { + Optional giftCardSummaries) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorGiftCardSummary = collectionNoCursorGiftCardSummary; + this.giftCardSummaries = giftCardSummaries; } public ListBuyerGiftCardsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorGiftCardSummary() { - return (Optional) collectionNoCursorGiftCardSummary; + public Optional giftCardSummaries() { + return (Optional) giftCardSummaries; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListBuyerGiftCardsResponse withRawResponse(HttpResponse rawR /** * Successful Response */ - public ListBuyerGiftCardsResponse withCollectionNoCursorGiftCardSummary(CollectionNoCursorGiftCardSummary collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = Optional.ofNullable(collectionNoCursorGiftCardSummary); + public ListBuyerGiftCardsResponse withGiftCardSummaries(GiftCardSummaries giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = Optional.ofNullable(giftCardSummaries); return this; } /** * Successful Response */ - public ListBuyerGiftCardsResponse withCollectionNoCursorGiftCardSummary(Optional collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = collectionNoCursorGiftCardSummary; + public ListBuyerGiftCardsResponse withGiftCardSummaries(Optional giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = giftCardSummaries; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorGiftCardSummary, other.collectionNoCursorGiftCardSummary); + Objects.deepEquals(this.giftCardSummaries, other.giftCardSummaries); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorGiftCardSummary); + giftCardSummaries); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorGiftCardSummary", collectionNoCursorGiftCardSummary); + "giftCardSummaries", giftCardSummaries); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorGiftCardSummary = Optional.empty(); + private Optional giftCardSummaries = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorGiftCardSummary(CollectionNoCursorGiftCardSummary collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = Optional.ofNullable(collectionNoCursorGiftCardSummary); + public Builder giftCardSummaries(GiftCardSummaries giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = Optional.ofNullable(giftCardSummaries); return this; } /** * Successful Response */ - public Builder collectionNoCursorGiftCardSummary(Optional collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = collectionNoCursorGiftCardSummary; + public Builder giftCardSummaries(Optional giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = giftCardSummaries; return this; } @@ -243,7 +243,7 @@ public ListBuyerGiftCardsResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorGiftCardSummary); + giftCardSummaries); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerPaymentMethodsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerPaymentMethodsResponse.java index 4278338a..5a033403 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerPaymentMethodsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerPaymentMethodsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorPaymentMethodSummary; +import com.gr4vy.sdk.models.components.PaymentMethodSummaries; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListBuyerPaymentMethodsResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorPaymentMethodSummary; + private Optional paymentMethodSummaries; @JsonCreator public ListBuyerPaymentMethodsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorPaymentMethodSummary) { + Optional paymentMethodSummaries) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorPaymentMethodSummary, "collectionNoCursorPaymentMethodSummary"); + Utils.checkNotNull(paymentMethodSummaries, "paymentMethodSummaries"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorPaymentMethodSummary = collectionNoCursorPaymentMethodSummary; + this.paymentMethodSummaries = paymentMethodSummaries; } public ListBuyerPaymentMethodsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorPaymentMethodSummary() { - return (Optional) collectionNoCursorPaymentMethodSummary; + public Optional paymentMethodSummaries() { + return (Optional) paymentMethodSummaries; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListBuyerPaymentMethodsResponse withRawResponse(HttpResponse /** * Successful Response */ - public ListBuyerPaymentMethodsResponse withCollectionNoCursorPaymentMethodSummary(CollectionNoCursorPaymentMethodSummary collectionNoCursorPaymentMethodSummary) { - Utils.checkNotNull(collectionNoCursorPaymentMethodSummary, "collectionNoCursorPaymentMethodSummary"); - this.collectionNoCursorPaymentMethodSummary = Optional.ofNullable(collectionNoCursorPaymentMethodSummary); + public ListBuyerPaymentMethodsResponse withPaymentMethodSummaries(PaymentMethodSummaries paymentMethodSummaries) { + Utils.checkNotNull(paymentMethodSummaries, "paymentMethodSummaries"); + this.paymentMethodSummaries = Optional.ofNullable(paymentMethodSummaries); return this; } /** * Successful Response */ - public ListBuyerPaymentMethodsResponse withCollectionNoCursorPaymentMethodSummary(Optional collectionNoCursorPaymentMethodSummary) { - Utils.checkNotNull(collectionNoCursorPaymentMethodSummary, "collectionNoCursorPaymentMethodSummary"); - this.collectionNoCursorPaymentMethodSummary = collectionNoCursorPaymentMethodSummary; + public ListBuyerPaymentMethodsResponse withPaymentMethodSummaries(Optional paymentMethodSummaries) { + Utils.checkNotNull(paymentMethodSummaries, "paymentMethodSummaries"); + this.paymentMethodSummaries = paymentMethodSummaries; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorPaymentMethodSummary, other.collectionNoCursorPaymentMethodSummary); + Objects.deepEquals(this.paymentMethodSummaries, other.paymentMethodSummaries); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorPaymentMethodSummary); + paymentMethodSummaries); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorPaymentMethodSummary", collectionNoCursorPaymentMethodSummary); + "paymentMethodSummaries", paymentMethodSummaries); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorPaymentMethodSummary = Optional.empty(); + private Optional paymentMethodSummaries = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorPaymentMethodSummary(CollectionNoCursorPaymentMethodSummary collectionNoCursorPaymentMethodSummary) { - Utils.checkNotNull(collectionNoCursorPaymentMethodSummary, "collectionNoCursorPaymentMethodSummary"); - this.collectionNoCursorPaymentMethodSummary = Optional.ofNullable(collectionNoCursorPaymentMethodSummary); + public Builder paymentMethodSummaries(PaymentMethodSummaries paymentMethodSummaries) { + Utils.checkNotNull(paymentMethodSummaries, "paymentMethodSummaries"); + this.paymentMethodSummaries = Optional.ofNullable(paymentMethodSummaries); return this; } /** * Successful Response */ - public Builder collectionNoCursorPaymentMethodSummary(Optional collectionNoCursorPaymentMethodSummary) { - Utils.checkNotNull(collectionNoCursorPaymentMethodSummary, "collectionNoCursorPaymentMethodSummary"); - this.collectionNoCursorPaymentMethodSummary = collectionNoCursorPaymentMethodSummary; + public Builder paymentMethodSummaries(Optional paymentMethodSummaries) { + Utils.checkNotNull(paymentMethodSummaries, "paymentMethodSummaries"); + this.paymentMethodSummaries = paymentMethodSummaries; return this; } @@ -243,7 +243,7 @@ public ListBuyerPaymentMethodsResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorPaymentMethodSummary); + paymentMethodSummaries); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerShippingDetailsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerShippingDetailsResponse.java index f2f1e03c..91ea3514 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerShippingDetailsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyerShippingDetailsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorShippingDetails; +import com.gr4vy.sdk.models.components.ShippingDetailsList; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListBuyerShippingDetailsResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorShippingDetails; + private Optional shippingDetailsList; @JsonCreator public ListBuyerShippingDetailsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorShippingDetails) { + Optional shippingDetailsList) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorShippingDetails, "collectionNoCursorShippingDetails"); + Utils.checkNotNull(shippingDetailsList, "shippingDetailsList"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorShippingDetails = collectionNoCursorShippingDetails; + this.shippingDetailsList = shippingDetailsList; } public ListBuyerShippingDetailsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorShippingDetails() { - return (Optional) collectionNoCursorShippingDetails; + public Optional shippingDetailsList() { + return (Optional) shippingDetailsList; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListBuyerShippingDetailsResponse withRawResponse(HttpResponse collectionNoCursorShippingDetails) { - Utils.checkNotNull(collectionNoCursorShippingDetails, "collectionNoCursorShippingDetails"); - this.collectionNoCursorShippingDetails = collectionNoCursorShippingDetails; + public ListBuyerShippingDetailsResponse withShippingDetailsList(Optional shippingDetailsList) { + Utils.checkNotNull(shippingDetailsList, "shippingDetailsList"); + this.shippingDetailsList = shippingDetailsList; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorShippingDetails, other.collectionNoCursorShippingDetails); + Objects.deepEquals(this.shippingDetailsList, other.shippingDetailsList); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorShippingDetails); + shippingDetailsList); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorShippingDetails", collectionNoCursorShippingDetails); + "shippingDetailsList", shippingDetailsList); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorShippingDetails = Optional.empty(); + private Optional shippingDetailsList = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorShippingDetails(CollectionNoCursorShippingDetails collectionNoCursorShippingDetails) { - Utils.checkNotNull(collectionNoCursorShippingDetails, "collectionNoCursorShippingDetails"); - this.collectionNoCursorShippingDetails = Optional.ofNullable(collectionNoCursorShippingDetails); + public Builder shippingDetailsList(ShippingDetailsList shippingDetailsList) { + Utils.checkNotNull(shippingDetailsList, "shippingDetailsList"); + this.shippingDetailsList = Optional.ofNullable(shippingDetailsList); return this; } /** * Successful Response */ - public Builder collectionNoCursorShippingDetails(Optional collectionNoCursorShippingDetails) { - Utils.checkNotNull(collectionNoCursorShippingDetails, "collectionNoCursorShippingDetails"); - this.collectionNoCursorShippingDetails = collectionNoCursorShippingDetails; + public Builder shippingDetailsList(Optional shippingDetailsList) { + Utils.checkNotNull(shippingDetailsList, "shippingDetailsList"); + this.shippingDetailsList = shippingDetailsList; return this; } @@ -243,7 +243,7 @@ public ListBuyerShippingDetailsResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorShippingDetails); + shippingDetailsList); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyersResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyersResponse.java index 42ec4d9a..827d6e45 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListBuyersResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListBuyersResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionBuyer; +import com.gr4vy.sdk.models.components.Buyers; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListBuyersResponse implements Response { /** * Successful Response */ - private Optional collectionBuyer; + private Optional buyers; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListBuyersResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionBuyer) { + Optional buyers) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionBuyer, "collectionBuyer"); + Utils.checkNotNull(buyers, "buyers"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionBuyer = collectionBuyer; + this.buyers = buyers; } public ListBuyersResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionBuyer() { - return (Optional) collectionBuyer; + public Optional buyers() { + return (Optional) buyers; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListBuyersResponse withRawResponse(HttpResponse rawResponse) /** * Successful Response */ - public ListBuyersResponse withCollectionBuyer(CollectionBuyer collectionBuyer) { - Utils.checkNotNull(collectionBuyer, "collectionBuyer"); - this.collectionBuyer = Optional.ofNullable(collectionBuyer); + public ListBuyersResponse withBuyers(Buyers buyers) { + Utils.checkNotNull(buyers, "buyers"); + this.buyers = Optional.ofNullable(buyers); return this; } /** * Successful Response */ - public ListBuyersResponse withCollectionBuyer(Optional collectionBuyer) { - Utils.checkNotNull(collectionBuyer, "collectionBuyer"); - this.collectionBuyer = collectionBuyer; + public ListBuyersResponse withBuyers(Optional buyers) { + Utils.checkNotNull(buyers, "buyers"); + this.buyers = buyers; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionBuyer, other.collectionBuyer); + Objects.deepEquals(this.buyers, other.buyers); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionBuyer); + buyers); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionBuyer", collectionBuyer); + "buyers", buyers); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionBuyer = Optional.empty(); + private Optional buyers = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionBuyer(CollectionBuyer collectionBuyer) { - Utils.checkNotNull(collectionBuyer, "collectionBuyer"); - this.collectionBuyer = Optional.ofNullable(collectionBuyer); + public Builder buyers(Buyers buyers) { + Utils.checkNotNull(buyers, "buyers"); + this.buyers = Optional.ofNullable(buyers); return this; } /** * Successful Response */ - public Builder collectionBuyer(Optional collectionBuyer) { - Utils.checkNotNull(collectionBuyer, "collectionBuyer"); - this.collectionBuyer = collectionBuyer; + public Builder buyers(Optional buyers) { + Utils.checkNotNull(buyers, "buyers"); + this.buyers = buyers; return this; } @@ -271,7 +271,7 @@ public ListBuyersResponse build() { contentType, statusCode, rawResponse, - collectionBuyer) + buyers) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListCardSchemeDefinitionsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListCardSchemeDefinitionsResponse.java index 16b09729..e5227e0c 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListCardSchemeDefinitionsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListCardSchemeDefinitionsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorCardSchemeDefinition; +import com.gr4vy.sdk.models.components.CardSchemeDefinitions; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListCardSchemeDefinitionsResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorCardSchemeDefinition; + private Optional cardSchemeDefinitions; @JsonCreator public ListCardSchemeDefinitionsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorCardSchemeDefinition) { + Optional cardSchemeDefinitions) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorCardSchemeDefinition, "collectionNoCursorCardSchemeDefinition"); + Utils.checkNotNull(cardSchemeDefinitions, "cardSchemeDefinitions"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorCardSchemeDefinition = collectionNoCursorCardSchemeDefinition; + this.cardSchemeDefinitions = cardSchemeDefinitions; } public ListCardSchemeDefinitionsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorCardSchemeDefinition() { - return (Optional) collectionNoCursorCardSchemeDefinition; + public Optional cardSchemeDefinitions() { + return (Optional) cardSchemeDefinitions; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListCardSchemeDefinitionsResponse withRawResponse(HttpResponse collectionNoCursorCardSchemeDefinition) { - Utils.checkNotNull(collectionNoCursorCardSchemeDefinition, "collectionNoCursorCardSchemeDefinition"); - this.collectionNoCursorCardSchemeDefinition = collectionNoCursorCardSchemeDefinition; + public ListCardSchemeDefinitionsResponse withCardSchemeDefinitions(Optional cardSchemeDefinitions) { + Utils.checkNotNull(cardSchemeDefinitions, "cardSchemeDefinitions"); + this.cardSchemeDefinitions = cardSchemeDefinitions; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorCardSchemeDefinition, other.collectionNoCursorCardSchemeDefinition); + Objects.deepEquals(this.cardSchemeDefinitions, other.cardSchemeDefinitions); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorCardSchemeDefinition); + cardSchemeDefinitions); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorCardSchemeDefinition", collectionNoCursorCardSchemeDefinition); + "cardSchemeDefinitions", cardSchemeDefinitions); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorCardSchemeDefinition = Optional.empty(); + private Optional cardSchemeDefinitions = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorCardSchemeDefinition(CollectionNoCursorCardSchemeDefinition collectionNoCursorCardSchemeDefinition) { - Utils.checkNotNull(collectionNoCursorCardSchemeDefinition, "collectionNoCursorCardSchemeDefinition"); - this.collectionNoCursorCardSchemeDefinition = Optional.ofNullable(collectionNoCursorCardSchemeDefinition); + public Builder cardSchemeDefinitions(CardSchemeDefinitions cardSchemeDefinitions) { + Utils.checkNotNull(cardSchemeDefinitions, "cardSchemeDefinitions"); + this.cardSchemeDefinitions = Optional.ofNullable(cardSchemeDefinitions); return this; } /** * Successful Response */ - public Builder collectionNoCursorCardSchemeDefinition(Optional collectionNoCursorCardSchemeDefinition) { - Utils.checkNotNull(collectionNoCursorCardSchemeDefinition, "collectionNoCursorCardSchemeDefinition"); - this.collectionNoCursorCardSchemeDefinition = collectionNoCursorCardSchemeDefinition; + public Builder cardSchemeDefinitions(Optional cardSchemeDefinitions) { + Utils.checkNotNull(cardSchemeDefinitions, "cardSchemeDefinitions"); + this.cardSchemeDefinitions = cardSchemeDefinitions; return this; } @@ -243,7 +243,7 @@ public ListCardSchemeDefinitionsResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorCardSchemeDefinition); + cardSchemeDefinitions); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListDigitalWalletsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListDigitalWalletsResponse.java index 1b6212c6..2db27891 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListDigitalWalletsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListDigitalWalletsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorDigitalWallet; +import com.gr4vy.sdk.models.components.DigitalWallets; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListDigitalWalletsResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorDigitalWallet; + private Optional digitalWallets; @JsonCreator public ListDigitalWalletsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorDigitalWallet) { + Optional digitalWallets) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorDigitalWallet, "collectionNoCursorDigitalWallet"); + Utils.checkNotNull(digitalWallets, "digitalWallets"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorDigitalWallet = collectionNoCursorDigitalWallet; + this.digitalWallets = digitalWallets; } public ListDigitalWalletsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorDigitalWallet() { - return (Optional) collectionNoCursorDigitalWallet; + public Optional digitalWallets() { + return (Optional) digitalWallets; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListDigitalWalletsResponse withRawResponse(HttpResponse rawR /** * Successful Response */ - public ListDigitalWalletsResponse withCollectionNoCursorDigitalWallet(CollectionNoCursorDigitalWallet collectionNoCursorDigitalWallet) { - Utils.checkNotNull(collectionNoCursorDigitalWallet, "collectionNoCursorDigitalWallet"); - this.collectionNoCursorDigitalWallet = Optional.ofNullable(collectionNoCursorDigitalWallet); + public ListDigitalWalletsResponse withDigitalWallets(DigitalWallets digitalWallets) { + Utils.checkNotNull(digitalWallets, "digitalWallets"); + this.digitalWallets = Optional.ofNullable(digitalWallets); return this; } /** * Successful Response */ - public ListDigitalWalletsResponse withCollectionNoCursorDigitalWallet(Optional collectionNoCursorDigitalWallet) { - Utils.checkNotNull(collectionNoCursorDigitalWallet, "collectionNoCursorDigitalWallet"); - this.collectionNoCursorDigitalWallet = collectionNoCursorDigitalWallet; + public ListDigitalWalletsResponse withDigitalWallets(Optional digitalWallets) { + Utils.checkNotNull(digitalWallets, "digitalWallets"); + this.digitalWallets = digitalWallets; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorDigitalWallet, other.collectionNoCursorDigitalWallet); + Objects.deepEquals(this.digitalWallets, other.digitalWallets); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorDigitalWallet); + digitalWallets); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorDigitalWallet", collectionNoCursorDigitalWallet); + "digitalWallets", digitalWallets); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorDigitalWallet = Optional.empty(); + private Optional digitalWallets = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorDigitalWallet(CollectionNoCursorDigitalWallet collectionNoCursorDigitalWallet) { - Utils.checkNotNull(collectionNoCursorDigitalWallet, "collectionNoCursorDigitalWallet"); - this.collectionNoCursorDigitalWallet = Optional.ofNullable(collectionNoCursorDigitalWallet); + public Builder digitalWallets(DigitalWallets digitalWallets) { + Utils.checkNotNull(digitalWallets, "digitalWallets"); + this.digitalWallets = Optional.ofNullable(digitalWallets); return this; } /** * Successful Response */ - public Builder collectionNoCursorDigitalWallet(Optional collectionNoCursorDigitalWallet) { - Utils.checkNotNull(collectionNoCursorDigitalWallet, "collectionNoCursorDigitalWallet"); - this.collectionNoCursorDigitalWallet = collectionNoCursorDigitalWallet; + public Builder digitalWallets(Optional digitalWallets) { + Utils.checkNotNull(digitalWallets, "digitalWallets"); + this.digitalWallets = digitalWallets; return this; } @@ -243,7 +243,7 @@ public ListDigitalWalletsResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorDigitalWallet); + digitalWallets); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardBalancesResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardBalancesResponse.java index f7476fe7..e1277976 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardBalancesResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardBalancesResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorGiftCardSummary; +import com.gr4vy.sdk.models.components.GiftCardSummaries; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListGiftCardBalancesResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorGiftCardSummary; + private Optional giftCardSummaries; @JsonCreator public ListGiftCardBalancesResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorGiftCardSummary) { + Optional giftCardSummaries) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorGiftCardSummary = collectionNoCursorGiftCardSummary; + this.giftCardSummaries = giftCardSummaries; } public ListGiftCardBalancesResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorGiftCardSummary() { - return (Optional) collectionNoCursorGiftCardSummary; + public Optional giftCardSummaries() { + return (Optional) giftCardSummaries; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListGiftCardBalancesResponse withRawResponse(HttpResponse ra /** * Successful Response */ - public ListGiftCardBalancesResponse withCollectionNoCursorGiftCardSummary(CollectionNoCursorGiftCardSummary collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = Optional.ofNullable(collectionNoCursorGiftCardSummary); + public ListGiftCardBalancesResponse withGiftCardSummaries(GiftCardSummaries giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = Optional.ofNullable(giftCardSummaries); return this; } /** * Successful Response */ - public ListGiftCardBalancesResponse withCollectionNoCursorGiftCardSummary(Optional collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = collectionNoCursorGiftCardSummary; + public ListGiftCardBalancesResponse withGiftCardSummaries(Optional giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = giftCardSummaries; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorGiftCardSummary, other.collectionNoCursorGiftCardSummary); + Objects.deepEquals(this.giftCardSummaries, other.giftCardSummaries); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorGiftCardSummary); + giftCardSummaries); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorGiftCardSummary", collectionNoCursorGiftCardSummary); + "giftCardSummaries", giftCardSummaries); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorGiftCardSummary = Optional.empty(); + private Optional giftCardSummaries = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorGiftCardSummary(CollectionNoCursorGiftCardSummary collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = Optional.ofNullable(collectionNoCursorGiftCardSummary); + public Builder giftCardSummaries(GiftCardSummaries giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = Optional.ofNullable(giftCardSummaries); return this; } /** * Successful Response */ - public Builder collectionNoCursorGiftCardSummary(Optional collectionNoCursorGiftCardSummary) { - Utils.checkNotNull(collectionNoCursorGiftCardSummary, "collectionNoCursorGiftCardSummary"); - this.collectionNoCursorGiftCardSummary = collectionNoCursorGiftCardSummary; + public Builder giftCardSummaries(Optional giftCardSummaries) { + Utils.checkNotNull(giftCardSummaries, "giftCardSummaries"); + this.giftCardSummaries = giftCardSummaries; return this; } @@ -243,7 +243,7 @@ public ListGiftCardBalancesResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorGiftCardSummary); + giftCardSummaries); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardsResponse.java index f78e8aeb..f7639fb5 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListGiftCardsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionGiftCard; +import com.gr4vy.sdk.models.components.GiftCards; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListGiftCardsResponse implements Response { /** * Successful Response */ - private Optional collectionGiftCard; + private Optional giftCards; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListGiftCardsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionGiftCard) { + Optional giftCards) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionGiftCard, "collectionGiftCard"); + Utils.checkNotNull(giftCards, "giftCards"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionGiftCard = collectionGiftCard; + this.giftCards = giftCards; } public ListGiftCardsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionGiftCard() { - return (Optional) collectionGiftCard; + public Optional giftCards() { + return (Optional) giftCards; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListGiftCardsResponse withRawResponse(HttpResponse rawRespon /** * Successful Response */ - public ListGiftCardsResponse withCollectionGiftCard(CollectionGiftCard collectionGiftCard) { - Utils.checkNotNull(collectionGiftCard, "collectionGiftCard"); - this.collectionGiftCard = Optional.ofNullable(collectionGiftCard); + public ListGiftCardsResponse withGiftCards(GiftCards giftCards) { + Utils.checkNotNull(giftCards, "giftCards"); + this.giftCards = Optional.ofNullable(giftCards); return this; } /** * Successful Response */ - public ListGiftCardsResponse withCollectionGiftCard(Optional collectionGiftCard) { - Utils.checkNotNull(collectionGiftCard, "collectionGiftCard"); - this.collectionGiftCard = collectionGiftCard; + public ListGiftCardsResponse withGiftCards(Optional giftCards) { + Utils.checkNotNull(giftCards, "giftCards"); + this.giftCards = giftCards; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionGiftCard, other.collectionGiftCard); + Objects.deepEquals(this.giftCards, other.giftCards); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionGiftCard); + giftCards); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionGiftCard", collectionGiftCard); + "giftCards", giftCards); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionGiftCard = Optional.empty(); + private Optional giftCards = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionGiftCard(CollectionGiftCard collectionGiftCard) { - Utils.checkNotNull(collectionGiftCard, "collectionGiftCard"); - this.collectionGiftCard = Optional.ofNullable(collectionGiftCard); + public Builder giftCards(GiftCards giftCards) { + Utils.checkNotNull(giftCards, "giftCards"); + this.giftCards = Optional.ofNullable(giftCards); return this; } /** * Successful Response */ - public Builder collectionGiftCard(Optional collectionGiftCard) { - Utils.checkNotNull(collectionGiftCard, "collectionGiftCard"); - this.collectionGiftCard = collectionGiftCard; + public Builder giftCards(Optional giftCards) { + Utils.checkNotNull(giftCards, "giftCards"); + this.giftCards = giftCards; return this; } @@ -271,7 +271,7 @@ public ListGiftCardsResponse build() { contentType, statusCode, rawResponse, - collectionGiftCard) + giftCards) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListMerchantAccountsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListMerchantAccountsResponse.java index faaa0b83..27450252 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListMerchantAccountsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListMerchantAccountsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionMerchantAccount; +import com.gr4vy.sdk.models.components.MerchantAccounts; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListMerchantAccountsResponse implements Response { /** * Successful Response */ - private Optional collectionMerchantAccount; + private Optional merchantAccounts; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListMerchantAccountsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionMerchantAccount) { + Optional merchantAccounts) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionMerchantAccount, "collectionMerchantAccount"); + Utils.checkNotNull(merchantAccounts, "merchantAccounts"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionMerchantAccount = collectionMerchantAccount; + this.merchantAccounts = merchantAccounts; } public ListMerchantAccountsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionMerchantAccount() { - return (Optional) collectionMerchantAccount; + public Optional merchantAccounts() { + return (Optional) merchantAccounts; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListMerchantAccountsResponse withRawResponse(HttpResponse ra /** * Successful Response */ - public ListMerchantAccountsResponse withCollectionMerchantAccount(CollectionMerchantAccount collectionMerchantAccount) { - Utils.checkNotNull(collectionMerchantAccount, "collectionMerchantAccount"); - this.collectionMerchantAccount = Optional.ofNullable(collectionMerchantAccount); + public ListMerchantAccountsResponse withMerchantAccounts(MerchantAccounts merchantAccounts) { + Utils.checkNotNull(merchantAccounts, "merchantAccounts"); + this.merchantAccounts = Optional.ofNullable(merchantAccounts); return this; } /** * Successful Response */ - public ListMerchantAccountsResponse withCollectionMerchantAccount(Optional collectionMerchantAccount) { - Utils.checkNotNull(collectionMerchantAccount, "collectionMerchantAccount"); - this.collectionMerchantAccount = collectionMerchantAccount; + public ListMerchantAccountsResponse withMerchantAccounts(Optional merchantAccounts) { + Utils.checkNotNull(merchantAccounts, "merchantAccounts"); + this.merchantAccounts = merchantAccounts; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionMerchantAccount, other.collectionMerchantAccount); + Objects.deepEquals(this.merchantAccounts, other.merchantAccounts); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionMerchantAccount); + merchantAccounts); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionMerchantAccount", collectionMerchantAccount); + "merchantAccounts", merchantAccounts); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionMerchantAccount = Optional.empty(); + private Optional merchantAccounts = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionMerchantAccount(CollectionMerchantAccount collectionMerchantAccount) { - Utils.checkNotNull(collectionMerchantAccount, "collectionMerchantAccount"); - this.collectionMerchantAccount = Optional.ofNullable(collectionMerchantAccount); + public Builder merchantAccounts(MerchantAccounts merchantAccounts) { + Utils.checkNotNull(merchantAccounts, "merchantAccounts"); + this.merchantAccounts = Optional.ofNullable(merchantAccounts); return this; } /** * Successful Response */ - public Builder collectionMerchantAccount(Optional collectionMerchantAccount) { - Utils.checkNotNull(collectionMerchantAccount, "collectionMerchantAccount"); - this.collectionMerchantAccount = collectionMerchantAccount; + public Builder merchantAccounts(Optional merchantAccounts) { + Utils.checkNotNull(merchantAccounts, "merchantAccounts"); + this.merchantAccounts = merchantAccounts; return this; } @@ -271,7 +271,7 @@ public ListMerchantAccountsResponse build() { contentType, statusCode, rawResponse, - collectionMerchantAccount) + merchantAccounts) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodNetworkTokensResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodNetworkTokensResponse.java index e096958a..9678e4e8 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodNetworkTokensResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodNetworkTokensResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorNetworkToken; +import com.gr4vy.sdk.models.components.NetworkTokens; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListPaymentMethodNetworkTokensResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorNetworkToken; + private Optional networkTokens; @JsonCreator public ListPaymentMethodNetworkTokensResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorNetworkToken) { + Optional networkTokens) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorNetworkToken, "collectionNoCursorNetworkToken"); + Utils.checkNotNull(networkTokens, "networkTokens"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorNetworkToken = collectionNoCursorNetworkToken; + this.networkTokens = networkTokens; } public ListPaymentMethodNetworkTokensResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorNetworkToken() { - return (Optional) collectionNoCursorNetworkToken; + public Optional networkTokens() { + return (Optional) networkTokens; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListPaymentMethodNetworkTokensResponse withRawResponse(HttpResponse collectionNoCursorNetworkToken) { - Utils.checkNotNull(collectionNoCursorNetworkToken, "collectionNoCursorNetworkToken"); - this.collectionNoCursorNetworkToken = collectionNoCursorNetworkToken; + public ListPaymentMethodNetworkTokensResponse withNetworkTokens(Optional networkTokens) { + Utils.checkNotNull(networkTokens, "networkTokens"); + this.networkTokens = networkTokens; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorNetworkToken, other.collectionNoCursorNetworkToken); + Objects.deepEquals(this.networkTokens, other.networkTokens); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorNetworkToken); + networkTokens); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorNetworkToken", collectionNoCursorNetworkToken); + "networkTokens", networkTokens); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorNetworkToken = Optional.empty(); + private Optional networkTokens = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorNetworkToken(CollectionNoCursorNetworkToken collectionNoCursorNetworkToken) { - Utils.checkNotNull(collectionNoCursorNetworkToken, "collectionNoCursorNetworkToken"); - this.collectionNoCursorNetworkToken = Optional.ofNullable(collectionNoCursorNetworkToken); + public Builder networkTokens(NetworkTokens networkTokens) { + Utils.checkNotNull(networkTokens, "networkTokens"); + this.networkTokens = Optional.ofNullable(networkTokens); return this; } /** * Successful Response */ - public Builder collectionNoCursorNetworkToken(Optional collectionNoCursorNetworkToken) { - Utils.checkNotNull(collectionNoCursorNetworkToken, "collectionNoCursorNetworkToken"); - this.collectionNoCursorNetworkToken = collectionNoCursorNetworkToken; + public Builder networkTokens(Optional networkTokens) { + Utils.checkNotNull(networkTokens, "networkTokens"); + this.networkTokens = networkTokens; return this; } @@ -243,7 +243,7 @@ public ListPaymentMethodNetworkTokensResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorNetworkToken); + networkTokens); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodPaymentServiceTokensResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodPaymentServiceTokensResponse.java index 62b6c378..6cfd03a1 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodPaymentServiceTokensResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodPaymentServiceTokensResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorPaymentServiceToken; +import com.gr4vy.sdk.models.components.PaymentServiceTokens; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListPaymentMethodPaymentServiceTokensResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorPaymentServiceToken; + private Optional paymentServiceTokens; @JsonCreator public ListPaymentMethodPaymentServiceTokensResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorPaymentServiceToken) { + Optional paymentServiceTokens) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorPaymentServiceToken, "collectionNoCursorPaymentServiceToken"); + Utils.checkNotNull(paymentServiceTokens, "paymentServiceTokens"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorPaymentServiceToken = collectionNoCursorPaymentServiceToken; + this.paymentServiceTokens = paymentServiceTokens; } public ListPaymentMethodPaymentServiceTokensResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorPaymentServiceToken() { - return (Optional) collectionNoCursorPaymentServiceToken; + public Optional paymentServiceTokens() { + return (Optional) paymentServiceTokens; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListPaymentMethodPaymentServiceTokensResponse withRawResponse(HttpRespons /** * Successful Response */ - public ListPaymentMethodPaymentServiceTokensResponse withCollectionNoCursorPaymentServiceToken(CollectionNoCursorPaymentServiceToken collectionNoCursorPaymentServiceToken) { - Utils.checkNotNull(collectionNoCursorPaymentServiceToken, "collectionNoCursorPaymentServiceToken"); - this.collectionNoCursorPaymentServiceToken = Optional.ofNullable(collectionNoCursorPaymentServiceToken); + public ListPaymentMethodPaymentServiceTokensResponse withPaymentServiceTokens(PaymentServiceTokens paymentServiceTokens) { + Utils.checkNotNull(paymentServiceTokens, "paymentServiceTokens"); + this.paymentServiceTokens = Optional.ofNullable(paymentServiceTokens); return this; } /** * Successful Response */ - public ListPaymentMethodPaymentServiceTokensResponse withCollectionNoCursorPaymentServiceToken(Optional collectionNoCursorPaymentServiceToken) { - Utils.checkNotNull(collectionNoCursorPaymentServiceToken, "collectionNoCursorPaymentServiceToken"); - this.collectionNoCursorPaymentServiceToken = collectionNoCursorPaymentServiceToken; + public ListPaymentMethodPaymentServiceTokensResponse withPaymentServiceTokens(Optional paymentServiceTokens) { + Utils.checkNotNull(paymentServiceTokens, "paymentServiceTokens"); + this.paymentServiceTokens = paymentServiceTokens; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorPaymentServiceToken, other.collectionNoCursorPaymentServiceToken); + Objects.deepEquals(this.paymentServiceTokens, other.paymentServiceTokens); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorPaymentServiceToken); + paymentServiceTokens); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorPaymentServiceToken", collectionNoCursorPaymentServiceToken); + "paymentServiceTokens", paymentServiceTokens); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorPaymentServiceToken = Optional.empty(); + private Optional paymentServiceTokens = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorPaymentServiceToken(CollectionNoCursorPaymentServiceToken collectionNoCursorPaymentServiceToken) { - Utils.checkNotNull(collectionNoCursorPaymentServiceToken, "collectionNoCursorPaymentServiceToken"); - this.collectionNoCursorPaymentServiceToken = Optional.ofNullable(collectionNoCursorPaymentServiceToken); + public Builder paymentServiceTokens(PaymentServiceTokens paymentServiceTokens) { + Utils.checkNotNull(paymentServiceTokens, "paymentServiceTokens"); + this.paymentServiceTokens = Optional.ofNullable(paymentServiceTokens); return this; } /** * Successful Response */ - public Builder collectionNoCursorPaymentServiceToken(Optional collectionNoCursorPaymentServiceToken) { - Utils.checkNotNull(collectionNoCursorPaymentServiceToken, "collectionNoCursorPaymentServiceToken"); - this.collectionNoCursorPaymentServiceToken = collectionNoCursorPaymentServiceToken; + public Builder paymentServiceTokens(Optional paymentServiceTokens) { + Utils.checkNotNull(paymentServiceTokens, "paymentServiceTokens"); + this.paymentServiceTokens = paymentServiceTokens; return this; } @@ -243,7 +243,7 @@ public ListPaymentMethodPaymentServiceTokensResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorPaymentServiceToken); + paymentServiceTokens); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodsResponse.java index 2a7ba84e..0da0a702 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentMethodsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionPaymentMethod; +import com.gr4vy.sdk.models.components.PaymentMethods; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListPaymentMethodsResponse implements Response { /** * Successful Response */ - private Optional collectionPaymentMethod; + private Optional paymentMethods; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListPaymentMethodsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionPaymentMethod) { + Optional paymentMethods) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionPaymentMethod, "collectionPaymentMethod"); + Utils.checkNotNull(paymentMethods, "paymentMethods"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionPaymentMethod = collectionPaymentMethod; + this.paymentMethods = paymentMethods; } public ListPaymentMethodsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionPaymentMethod() { - return (Optional) collectionPaymentMethod; + public Optional paymentMethods() { + return (Optional) paymentMethods; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListPaymentMethodsResponse withRawResponse(HttpResponse rawR /** * Successful Response */ - public ListPaymentMethodsResponse withCollectionPaymentMethod(CollectionPaymentMethod collectionPaymentMethod) { - Utils.checkNotNull(collectionPaymentMethod, "collectionPaymentMethod"); - this.collectionPaymentMethod = Optional.ofNullable(collectionPaymentMethod); + public ListPaymentMethodsResponse withPaymentMethods(PaymentMethods paymentMethods) { + Utils.checkNotNull(paymentMethods, "paymentMethods"); + this.paymentMethods = Optional.ofNullable(paymentMethods); return this; } /** * Successful Response */ - public ListPaymentMethodsResponse withCollectionPaymentMethod(Optional collectionPaymentMethod) { - Utils.checkNotNull(collectionPaymentMethod, "collectionPaymentMethod"); - this.collectionPaymentMethod = collectionPaymentMethod; + public ListPaymentMethodsResponse withPaymentMethods(Optional paymentMethods) { + Utils.checkNotNull(paymentMethods, "paymentMethods"); + this.paymentMethods = paymentMethods; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionPaymentMethod, other.collectionPaymentMethod); + Objects.deepEquals(this.paymentMethods, other.paymentMethods); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionPaymentMethod); + paymentMethods); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionPaymentMethod", collectionPaymentMethod); + "paymentMethods", paymentMethods); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionPaymentMethod = Optional.empty(); + private Optional paymentMethods = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionPaymentMethod(CollectionPaymentMethod collectionPaymentMethod) { - Utils.checkNotNull(collectionPaymentMethod, "collectionPaymentMethod"); - this.collectionPaymentMethod = Optional.ofNullable(collectionPaymentMethod); + public Builder paymentMethods(PaymentMethods paymentMethods) { + Utils.checkNotNull(paymentMethods, "paymentMethods"); + this.paymentMethods = Optional.ofNullable(paymentMethods); return this; } /** * Successful Response */ - public Builder collectionPaymentMethod(Optional collectionPaymentMethod) { - Utils.checkNotNull(collectionPaymentMethod, "collectionPaymentMethod"); - this.collectionPaymentMethod = collectionPaymentMethod; + public Builder paymentMethods(Optional paymentMethods) { + Utils.checkNotNull(paymentMethods, "paymentMethods"); + this.paymentMethods = paymentMethods; return this; } @@ -271,7 +271,7 @@ public ListPaymentMethodsResponse build() { contentType, statusCode, rawResponse, - collectionPaymentMethod) + paymentMethods) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentOptionsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentOptionsResponse.java index dea73eb5..5bb7ea20 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentOptionsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentOptionsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionNoCursorPaymentOption; +import com.gr4vy.sdk.models.components.PaymentOptions; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListPaymentOptionsResponse implements Response { /** * Successful Response */ - private Optional collectionNoCursorPaymentOption; + private Optional paymentOptions; @JsonCreator public ListPaymentOptionsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionNoCursorPaymentOption) { + Optional paymentOptions) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionNoCursorPaymentOption, "collectionNoCursorPaymentOption"); + Utils.checkNotNull(paymentOptions, "paymentOptions"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionNoCursorPaymentOption = collectionNoCursorPaymentOption; + this.paymentOptions = paymentOptions; } public ListPaymentOptionsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionNoCursorPaymentOption() { - return (Optional) collectionNoCursorPaymentOption; + public Optional paymentOptions() { + return (Optional) paymentOptions; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListPaymentOptionsResponse withRawResponse(HttpResponse rawR /** * Successful Response */ - public ListPaymentOptionsResponse withCollectionNoCursorPaymentOption(CollectionNoCursorPaymentOption collectionNoCursorPaymentOption) { - Utils.checkNotNull(collectionNoCursorPaymentOption, "collectionNoCursorPaymentOption"); - this.collectionNoCursorPaymentOption = Optional.ofNullable(collectionNoCursorPaymentOption); + public ListPaymentOptionsResponse withPaymentOptions(PaymentOptions paymentOptions) { + Utils.checkNotNull(paymentOptions, "paymentOptions"); + this.paymentOptions = Optional.ofNullable(paymentOptions); return this; } /** * Successful Response */ - public ListPaymentOptionsResponse withCollectionNoCursorPaymentOption(Optional collectionNoCursorPaymentOption) { - Utils.checkNotNull(collectionNoCursorPaymentOption, "collectionNoCursorPaymentOption"); - this.collectionNoCursorPaymentOption = collectionNoCursorPaymentOption; + public ListPaymentOptionsResponse withPaymentOptions(Optional paymentOptions) { + Utils.checkNotNull(paymentOptions, "paymentOptions"); + this.paymentOptions = paymentOptions; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionNoCursorPaymentOption, other.collectionNoCursorPaymentOption); + Objects.deepEquals(this.paymentOptions, other.paymentOptions); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionNoCursorPaymentOption); + paymentOptions); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionNoCursorPaymentOption", collectionNoCursorPaymentOption); + "paymentOptions", paymentOptions); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionNoCursorPaymentOption = Optional.empty(); + private Optional paymentOptions = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionNoCursorPaymentOption(CollectionNoCursorPaymentOption collectionNoCursorPaymentOption) { - Utils.checkNotNull(collectionNoCursorPaymentOption, "collectionNoCursorPaymentOption"); - this.collectionNoCursorPaymentOption = Optional.ofNullable(collectionNoCursorPaymentOption); + public Builder paymentOptions(PaymentOptions paymentOptions) { + Utils.checkNotNull(paymentOptions, "paymentOptions"); + this.paymentOptions = Optional.ofNullable(paymentOptions); return this; } /** * Successful Response */ - public Builder collectionNoCursorPaymentOption(Optional collectionNoCursorPaymentOption) { - Utils.checkNotNull(collectionNoCursorPaymentOption, "collectionNoCursorPaymentOption"); - this.collectionNoCursorPaymentOption = collectionNoCursorPaymentOption; + public Builder paymentOptions(Optional paymentOptions) { + Utils.checkNotNull(paymentOptions, "paymentOptions"); + this.paymentOptions = paymentOptions; return this; } @@ -243,7 +243,7 @@ public ListPaymentOptionsResponse build() { contentType, statusCode, rawResponse, - collectionNoCursorPaymentOption); + paymentOptions); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServiceDefinitionsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServiceDefinitionsResponse.java index de7c15e8..85856f00 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServiceDefinitionsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServiceDefinitionsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionPaymentServiceDefinition; +import com.gr4vy.sdk.models.components.PaymentServiceDefinitions; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListPaymentServiceDefinitionsResponse implements Response { /** * Successful Response */ - private Optional collectionPaymentServiceDefinition; + private Optional paymentServiceDefinitions; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListPaymentServiceDefinitionsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionPaymentServiceDefinition) { + Optional paymentServiceDefinitions) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionPaymentServiceDefinition, "collectionPaymentServiceDefinition"); + Utils.checkNotNull(paymentServiceDefinitions, "paymentServiceDefinitions"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionPaymentServiceDefinition = collectionPaymentServiceDefinition; + this.paymentServiceDefinitions = paymentServiceDefinitions; } public ListPaymentServiceDefinitionsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionPaymentServiceDefinition() { - return (Optional) collectionPaymentServiceDefinition; + public Optional paymentServiceDefinitions() { + return (Optional) paymentServiceDefinitions; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListPaymentServiceDefinitionsResponse withRawResponse(HttpResponse collectionPaymentServiceDefinition) { - Utils.checkNotNull(collectionPaymentServiceDefinition, "collectionPaymentServiceDefinition"); - this.collectionPaymentServiceDefinition = collectionPaymentServiceDefinition; + public ListPaymentServiceDefinitionsResponse withPaymentServiceDefinitions(Optional paymentServiceDefinitions) { + Utils.checkNotNull(paymentServiceDefinitions, "paymentServiceDefinitions"); + this.paymentServiceDefinitions = paymentServiceDefinitions; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionPaymentServiceDefinition, other.collectionPaymentServiceDefinition); + Objects.deepEquals(this.paymentServiceDefinitions, other.paymentServiceDefinitions); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionPaymentServiceDefinition); + paymentServiceDefinitions); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionPaymentServiceDefinition", collectionPaymentServiceDefinition); + "paymentServiceDefinitions", paymentServiceDefinitions); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionPaymentServiceDefinition = Optional.empty(); + private Optional paymentServiceDefinitions = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionPaymentServiceDefinition(CollectionPaymentServiceDefinition collectionPaymentServiceDefinition) { - Utils.checkNotNull(collectionPaymentServiceDefinition, "collectionPaymentServiceDefinition"); - this.collectionPaymentServiceDefinition = Optional.ofNullable(collectionPaymentServiceDefinition); + public Builder paymentServiceDefinitions(PaymentServiceDefinitions paymentServiceDefinitions) { + Utils.checkNotNull(paymentServiceDefinitions, "paymentServiceDefinitions"); + this.paymentServiceDefinitions = Optional.ofNullable(paymentServiceDefinitions); return this; } /** * Successful Response */ - public Builder collectionPaymentServiceDefinition(Optional collectionPaymentServiceDefinition) { - Utils.checkNotNull(collectionPaymentServiceDefinition, "collectionPaymentServiceDefinition"); - this.collectionPaymentServiceDefinition = collectionPaymentServiceDefinition; + public Builder paymentServiceDefinitions(Optional paymentServiceDefinitions) { + Utils.checkNotNull(paymentServiceDefinitions, "paymentServiceDefinitions"); + this.paymentServiceDefinitions = paymentServiceDefinitions; return this; } @@ -271,7 +271,7 @@ public ListPaymentServiceDefinitionsResponse build() { contentType, statusCode, rawResponse, - collectionPaymentServiceDefinition) + paymentServiceDefinitions) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesResponse.java index 59233444..40c9a471 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionPaymentService; +import com.gr4vy.sdk.models.components.PaymentServices; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListPaymentServicesResponse implements Response { /** * Successful Response */ - private Optional collectionPaymentService; + private Optional paymentServices; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListPaymentServicesResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionPaymentService) { + Optional paymentServices) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionPaymentService, "collectionPaymentService"); + Utils.checkNotNull(paymentServices, "paymentServices"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionPaymentService = collectionPaymentService; + this.paymentServices = paymentServices; } public ListPaymentServicesResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionPaymentService() { - return (Optional) collectionPaymentService; + public Optional paymentServices() { + return (Optional) paymentServices; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListPaymentServicesResponse withRawResponse(HttpResponse raw /** * Successful Response */ - public ListPaymentServicesResponse withCollectionPaymentService(CollectionPaymentService collectionPaymentService) { - Utils.checkNotNull(collectionPaymentService, "collectionPaymentService"); - this.collectionPaymentService = Optional.ofNullable(collectionPaymentService); + public ListPaymentServicesResponse withPaymentServices(PaymentServices paymentServices) { + Utils.checkNotNull(paymentServices, "paymentServices"); + this.paymentServices = Optional.ofNullable(paymentServices); return this; } /** * Successful Response */ - public ListPaymentServicesResponse withCollectionPaymentService(Optional collectionPaymentService) { - Utils.checkNotNull(collectionPaymentService, "collectionPaymentService"); - this.collectionPaymentService = collectionPaymentService; + public ListPaymentServicesResponse withPaymentServices(Optional paymentServices) { + Utils.checkNotNull(paymentServices, "paymentServices"); + this.paymentServices = paymentServices; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionPaymentService, other.collectionPaymentService); + Objects.deepEquals(this.paymentServices, other.paymentServices); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionPaymentService); + paymentServices); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionPaymentService", collectionPaymentService); + "paymentServices", paymentServices); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionPaymentService = Optional.empty(); + private Optional paymentServices = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionPaymentService(CollectionPaymentService collectionPaymentService) { - Utils.checkNotNull(collectionPaymentService, "collectionPaymentService"); - this.collectionPaymentService = Optional.ofNullable(collectionPaymentService); + public Builder paymentServices(PaymentServices paymentServices) { + Utils.checkNotNull(paymentServices, "paymentServices"); + this.paymentServices = Optional.ofNullable(paymentServices); return this; } /** * Successful Response */ - public Builder collectionPaymentService(Optional collectionPaymentService) { - Utils.checkNotNull(collectionPaymentService, "collectionPaymentService"); - this.collectionPaymentService = collectionPaymentService; + public Builder paymentServices(Optional paymentServices) { + Utils.checkNotNull(paymentServices, "paymentServices"); + this.paymentServices = paymentServices; return this; } @@ -271,7 +271,7 @@ public ListPaymentServicesResponse build() { contentType, statusCode, rawResponse, - collectionPaymentService) + paymentServices) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPayoutsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPayoutsResponse.java index fa906a09..a4458e3c 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListPayoutsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPayoutsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionPayoutSummary; +import com.gr4vy.sdk.models.components.PayoutSummaries; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListPayoutsResponse implements Response { /** * Successful Response */ - private Optional collectionPayoutSummary; + private Optional payoutSummaries; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListPayoutsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionPayoutSummary) { + Optional payoutSummaries) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionPayoutSummary, "collectionPayoutSummary"); + Utils.checkNotNull(payoutSummaries, "payoutSummaries"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionPayoutSummary = collectionPayoutSummary; + this.payoutSummaries = payoutSummaries; } public ListPayoutsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionPayoutSummary() { - return (Optional) collectionPayoutSummary; + public Optional payoutSummaries() { + return (Optional) payoutSummaries; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListPayoutsResponse withRawResponse(HttpResponse rawResponse /** * Successful Response */ - public ListPayoutsResponse withCollectionPayoutSummary(CollectionPayoutSummary collectionPayoutSummary) { - Utils.checkNotNull(collectionPayoutSummary, "collectionPayoutSummary"); - this.collectionPayoutSummary = Optional.ofNullable(collectionPayoutSummary); + public ListPayoutsResponse withPayoutSummaries(PayoutSummaries payoutSummaries) { + Utils.checkNotNull(payoutSummaries, "payoutSummaries"); + this.payoutSummaries = Optional.ofNullable(payoutSummaries); return this; } /** * Successful Response */ - public ListPayoutsResponse withCollectionPayoutSummary(Optional collectionPayoutSummary) { - Utils.checkNotNull(collectionPayoutSummary, "collectionPayoutSummary"); - this.collectionPayoutSummary = collectionPayoutSummary; + public ListPayoutsResponse withPayoutSummaries(Optional payoutSummaries) { + Utils.checkNotNull(payoutSummaries, "payoutSummaries"); + this.payoutSummaries = payoutSummaries; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionPayoutSummary, other.collectionPayoutSummary); + Objects.deepEquals(this.payoutSummaries, other.payoutSummaries); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionPayoutSummary); + payoutSummaries); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionPayoutSummary", collectionPayoutSummary); + "payoutSummaries", payoutSummaries); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionPayoutSummary = Optional.empty(); + private Optional payoutSummaries = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionPayoutSummary(CollectionPayoutSummary collectionPayoutSummary) { - Utils.checkNotNull(collectionPayoutSummary, "collectionPayoutSummary"); - this.collectionPayoutSummary = Optional.ofNullable(collectionPayoutSummary); + public Builder payoutSummaries(PayoutSummaries payoutSummaries) { + Utils.checkNotNull(payoutSummaries, "payoutSummaries"); + this.payoutSummaries = Optional.ofNullable(payoutSummaries); return this; } /** * Successful Response */ - public Builder collectionPayoutSummary(Optional collectionPayoutSummary) { - Utils.checkNotNull(collectionPayoutSummary, "collectionPayoutSummary"); - this.collectionPayoutSummary = collectionPayoutSummary; + public Builder payoutSummaries(Optional payoutSummaries) { + Utils.checkNotNull(payoutSummaries, "payoutSummaries"); + this.payoutSummaries = payoutSummaries; return this; } @@ -271,7 +271,7 @@ public ListPayoutsResponse build() { contentType, statusCode, rawResponse, - collectionPayoutSummary) + payoutSummaries) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListReportExecutionsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListReportExecutionsResponse.java index e85f21ca..9d95c98c 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListReportExecutionsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListReportExecutionsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionReportExecution; +import com.gr4vy.sdk.models.components.ReportExecutions; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListReportExecutionsResponse implements Response { /** * Successful Response */ - private Optional collectionReportExecution; + private Optional reportExecutions; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListReportExecutionsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionReportExecution) { + Optional reportExecutions) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); + Utils.checkNotNull(reportExecutions, "reportExecutions"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionReportExecution = collectionReportExecution; + this.reportExecutions = reportExecutions; } public ListReportExecutionsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionReportExecution() { - return (Optional) collectionReportExecution; + public Optional reportExecutions() { + return (Optional) reportExecutions; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListReportExecutionsResponse withRawResponse(HttpResponse ra /** * Successful Response */ - public ListReportExecutionsResponse withCollectionReportExecution(CollectionReportExecution collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = Optional.ofNullable(collectionReportExecution); + public ListReportExecutionsResponse withReportExecutions(ReportExecutions reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = Optional.ofNullable(reportExecutions); return this; } /** * Successful Response */ - public ListReportExecutionsResponse withCollectionReportExecution(Optional collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = collectionReportExecution; + public ListReportExecutionsResponse withReportExecutions(Optional reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = reportExecutions; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionReportExecution, other.collectionReportExecution); + Objects.deepEquals(this.reportExecutions, other.reportExecutions); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionReportExecution); + reportExecutions); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionReportExecution", collectionReportExecution); + "reportExecutions", reportExecutions); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionReportExecution = Optional.empty(); + private Optional reportExecutions = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionReportExecution(CollectionReportExecution collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = Optional.ofNullable(collectionReportExecution); + public Builder reportExecutions(ReportExecutions reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = Optional.ofNullable(reportExecutions); return this; } /** * Successful Response */ - public Builder collectionReportExecution(Optional collectionReportExecution) { - Utils.checkNotNull(collectionReportExecution, "collectionReportExecution"); - this.collectionReportExecution = collectionReportExecution; + public Builder reportExecutions(Optional reportExecutions) { + Utils.checkNotNull(reportExecutions, "reportExecutions"); + this.reportExecutions = reportExecutions; return this; } @@ -271,7 +271,7 @@ public ListReportExecutionsResponse build() { contentType, statusCode, rawResponse, - collectionReportExecution) + reportExecutions) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListReportsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListReportsResponse.java index bbca3bb2..1ba80a32 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListReportsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListReportsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionReport; +import com.gr4vy.sdk.models.components.Reports; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListReportsResponse implements Response { /** * Successful Response */ - private Optional collectionReport; + private Optional reports; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListReportsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionReport) { + Optional reports) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionReport, "collectionReport"); + Utils.checkNotNull(reports, "reports"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionReport = collectionReport; + this.reports = reports; } public ListReportsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionReport() { - return (Optional) collectionReport; + public Optional reports() { + return (Optional) reports; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListReportsResponse withRawResponse(HttpResponse rawResponse /** * Successful Response */ - public ListReportsResponse withCollectionReport(CollectionReport collectionReport) { - Utils.checkNotNull(collectionReport, "collectionReport"); - this.collectionReport = Optional.ofNullable(collectionReport); + public ListReportsResponse withReports(Reports reports) { + Utils.checkNotNull(reports, "reports"); + this.reports = Optional.ofNullable(reports); return this; } /** * Successful Response */ - public ListReportsResponse withCollectionReport(Optional collectionReport) { - Utils.checkNotNull(collectionReport, "collectionReport"); - this.collectionReport = collectionReport; + public ListReportsResponse withReports(Optional reports) { + Utils.checkNotNull(reports, "reports"); + this.reports = reports; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionReport, other.collectionReport); + Objects.deepEquals(this.reports, other.reports); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionReport); + reports); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionReport", collectionReport); + "reports", reports); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionReport = Optional.empty(); + private Optional reports = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionReport(CollectionReport collectionReport) { - Utils.checkNotNull(collectionReport, "collectionReport"); - this.collectionReport = Optional.ofNullable(collectionReport); + public Builder reports(Reports reports) { + Utils.checkNotNull(reports, "reports"); + this.reports = Optional.ofNullable(reports); return this; } /** * Successful Response */ - public Builder collectionReport(Optional collectionReport) { - Utils.checkNotNull(collectionReport, "collectionReport"); - this.collectionReport = collectionReport; + public Builder reports(Optional reports) { + Utils.checkNotNull(reports, "reports"); + this.reports = reports; return this; } @@ -271,7 +271,7 @@ public ListReportsResponse build() { contentType, statusCode, rawResponse, - collectionReport) + reports) .withNext(next); } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionEventsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionEventsResponse.java index 8baf5e8e..8e884ca3 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionEventsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionEventsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionTransactionEvent; +import com.gr4vy.sdk.models.components.TransactionEvents; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListTransactionEventsResponse implements Response { /** * Successful Response */ - private Optional collectionTransactionEvent; + private Optional transactionEvents; @JsonCreator public ListTransactionEventsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionTransactionEvent) { + Optional transactionEvents) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionTransactionEvent, "collectionTransactionEvent"); + Utils.checkNotNull(transactionEvents, "transactionEvents"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionTransactionEvent = collectionTransactionEvent; + this.transactionEvents = transactionEvents; } public ListTransactionEventsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionTransactionEvent() { - return (Optional) collectionTransactionEvent; + public Optional transactionEvents() { + return (Optional) transactionEvents; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListTransactionEventsResponse withRawResponse(HttpResponse r /** * Successful Response */ - public ListTransactionEventsResponse withCollectionTransactionEvent(CollectionTransactionEvent collectionTransactionEvent) { - Utils.checkNotNull(collectionTransactionEvent, "collectionTransactionEvent"); - this.collectionTransactionEvent = Optional.ofNullable(collectionTransactionEvent); + public ListTransactionEventsResponse withTransactionEvents(TransactionEvents transactionEvents) { + Utils.checkNotNull(transactionEvents, "transactionEvents"); + this.transactionEvents = Optional.ofNullable(transactionEvents); return this; } /** * Successful Response */ - public ListTransactionEventsResponse withCollectionTransactionEvent(Optional collectionTransactionEvent) { - Utils.checkNotNull(collectionTransactionEvent, "collectionTransactionEvent"); - this.collectionTransactionEvent = collectionTransactionEvent; + public ListTransactionEventsResponse withTransactionEvents(Optional transactionEvents) { + Utils.checkNotNull(transactionEvents, "transactionEvents"); + this.transactionEvents = transactionEvents; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionTransactionEvent, other.collectionTransactionEvent); + Objects.deepEquals(this.transactionEvents, other.transactionEvents); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionTransactionEvent); + transactionEvents); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionTransactionEvent", collectionTransactionEvent); + "transactionEvents", transactionEvents); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionTransactionEvent = Optional.empty(); + private Optional transactionEvents = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionTransactionEvent(CollectionTransactionEvent collectionTransactionEvent) { - Utils.checkNotNull(collectionTransactionEvent, "collectionTransactionEvent"); - this.collectionTransactionEvent = Optional.ofNullable(collectionTransactionEvent); + public Builder transactionEvents(TransactionEvents transactionEvents) { + Utils.checkNotNull(transactionEvents, "transactionEvents"); + this.transactionEvents = Optional.ofNullable(transactionEvents); return this; } /** * Successful Response */ - public Builder collectionTransactionEvent(Optional collectionTransactionEvent) { - Utils.checkNotNull(collectionTransactionEvent, "collectionTransactionEvent"); - this.collectionTransactionEvent = collectionTransactionEvent; + public Builder transactionEvents(Optional transactionEvents) { + Utils.checkNotNull(transactionEvents, "transactionEvents"); + this.transactionEvents = transactionEvents; return this; } @@ -243,7 +243,7 @@ public ListTransactionEventsResponse build() { contentType, statusCode, rawResponse, - collectionTransactionEvent); + transactionEvents); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionRefundsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionRefundsResponse.java index 04becc2d..d5bc2083 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionRefundsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionRefundsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionRefund; +import com.gr4vy.sdk.models.components.Refunds; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -37,22 +37,22 @@ public class ListTransactionRefundsResponse implements Response { /** * Successful Response */ - private Optional collectionRefund; + private Optional refunds; @JsonCreator public ListTransactionRefundsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionRefund) { + Optional refunds) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionRefund, "collectionRefund"); + Utils.checkNotNull(refunds, "refunds"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionRefund = collectionRefund; + this.refunds = refunds; } public ListTransactionRefundsResponse( @@ -91,8 +91,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionRefund() { - return (Optional) collectionRefund; + public Optional refunds() { + return (Optional) refunds; } public final static Builder builder() { @@ -129,18 +129,18 @@ public ListTransactionRefundsResponse withRawResponse(HttpResponse /** * Successful Response */ - public ListTransactionRefundsResponse withCollectionRefund(CollectionRefund collectionRefund) { - Utils.checkNotNull(collectionRefund, "collectionRefund"); - this.collectionRefund = Optional.ofNullable(collectionRefund); + public ListTransactionRefundsResponse withRefunds(Refunds refunds) { + Utils.checkNotNull(refunds, "refunds"); + this.refunds = Optional.ofNullable(refunds); return this; } /** * Successful Response */ - public ListTransactionRefundsResponse withCollectionRefund(Optional collectionRefund) { - Utils.checkNotNull(collectionRefund, "collectionRefund"); - this.collectionRefund = collectionRefund; + public ListTransactionRefundsResponse withRefunds(Optional refunds) { + Utils.checkNotNull(refunds, "refunds"); + this.refunds = refunds; return this; } @@ -158,7 +158,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionRefund, other.collectionRefund); + Objects.deepEquals(this.refunds, other.refunds); } @Override @@ -167,7 +167,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionRefund); + refunds); } @Override @@ -176,7 +176,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionRefund", collectionRefund); + "refunds", refunds); } public final static class Builder { @@ -187,7 +187,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionRefund = Optional.empty(); + private Optional refunds = Optional.empty(); private Builder() { // force use of static builder() method @@ -223,18 +223,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionRefund(CollectionRefund collectionRefund) { - Utils.checkNotNull(collectionRefund, "collectionRefund"); - this.collectionRefund = Optional.ofNullable(collectionRefund); + public Builder refunds(Refunds refunds) { + Utils.checkNotNull(refunds, "refunds"); + this.refunds = Optional.ofNullable(refunds); return this; } /** * Successful Response */ - public Builder collectionRefund(Optional collectionRefund) { - Utils.checkNotNull(collectionRefund, "collectionRefund"); - this.collectionRefund = collectionRefund; + public Builder refunds(Optional refunds) { + Utils.checkNotNull(refunds, "refunds"); + this.refunds = refunds; return this; } @@ -243,7 +243,7 @@ public ListTransactionRefundsResponse build() { contentType, statusCode, rawResponse, - collectionRefund); + refunds); } } } diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionsResponse.java b/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionsResponse.java index 348d47c1..1bee79f9 100644 --- a/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionsResponse.java +++ b/src/main/java/com/gr4vy/sdk/models/operations/ListTransactionsResponse.java @@ -5,7 +5,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.gr4vy.sdk.models.components.CollectionTransactionSummary; +import com.gr4vy.sdk.models.components.TransactionSummaries; import com.gr4vy.sdk.utils.Response; import com.gr4vy.sdk.utils.Utils; import java.io.InputStream; @@ -40,7 +40,7 @@ public class ListTransactionsResponse implements Response { /** * Successful Response */ - private Optional collectionTransactionSummary; + private Optional transactionSummaries; private Callable> next = () -> Optional.empty(); @@ -49,15 +49,15 @@ public ListTransactionsResponse( String contentType, int statusCode, HttpResponse rawResponse, - Optional collectionTransactionSummary) { + Optional transactionSummaries) { Utils.checkNotNull(contentType, "contentType"); Utils.checkNotNull(statusCode, "statusCode"); Utils.checkNotNull(rawResponse, "rawResponse"); - Utils.checkNotNull(collectionTransactionSummary, "collectionTransactionSummary"); + Utils.checkNotNull(transactionSummaries, "transactionSummaries"); this.contentType = contentType; this.statusCode = statusCode; this.rawResponse = rawResponse; - this.collectionTransactionSummary = collectionTransactionSummary; + this.transactionSummaries = transactionSummaries; } public ListTransactionsResponse( @@ -96,8 +96,8 @@ public HttpResponse rawResponse() { */ @SuppressWarnings("unchecked") @JsonIgnore - public Optional collectionTransactionSummary() { - return (Optional) collectionTransactionSummary; + public Optional transactionSummaries() { + return (Optional) transactionSummaries; } public Optional next() throws Exception { @@ -144,18 +144,18 @@ public ListTransactionsResponse withRawResponse(HttpResponse rawRes /** * Successful Response */ - public ListTransactionsResponse withCollectionTransactionSummary(CollectionTransactionSummary collectionTransactionSummary) { - Utils.checkNotNull(collectionTransactionSummary, "collectionTransactionSummary"); - this.collectionTransactionSummary = Optional.ofNullable(collectionTransactionSummary); + public ListTransactionsResponse withTransactionSummaries(TransactionSummaries transactionSummaries) { + Utils.checkNotNull(transactionSummaries, "transactionSummaries"); + this.transactionSummaries = Optional.ofNullable(transactionSummaries); return this; } /** * Successful Response */ - public ListTransactionsResponse withCollectionTransactionSummary(Optional collectionTransactionSummary) { - Utils.checkNotNull(collectionTransactionSummary, "collectionTransactionSummary"); - this.collectionTransactionSummary = collectionTransactionSummary; + public ListTransactionsResponse withTransactionSummaries(Optional transactionSummaries) { + Utils.checkNotNull(transactionSummaries, "transactionSummaries"); + this.transactionSummaries = transactionSummaries; return this; } @@ -173,7 +173,7 @@ public boolean equals(java.lang.Object o) { Objects.deepEquals(this.contentType, other.contentType) && Objects.deepEquals(this.statusCode, other.statusCode) && Objects.deepEquals(this.rawResponse, other.rawResponse) && - Objects.deepEquals(this.collectionTransactionSummary, other.collectionTransactionSummary); + Objects.deepEquals(this.transactionSummaries, other.transactionSummaries); } @Override @@ -182,7 +182,7 @@ public int hashCode() { contentType, statusCode, rawResponse, - collectionTransactionSummary); + transactionSummaries); } @Override @@ -191,7 +191,7 @@ public String toString() { "contentType", contentType, "statusCode", statusCode, "rawResponse", rawResponse, - "collectionTransactionSummary", collectionTransactionSummary); + "transactionSummaries", transactionSummaries); } public final static class Builder { @@ -203,7 +203,7 @@ public final static class Builder { private HttpResponse rawResponse; - private Optional collectionTransactionSummary = Optional.empty(); + private Optional transactionSummaries = Optional.empty(); private Builder() { // force use of static builder() method @@ -239,18 +239,18 @@ public Builder rawResponse(HttpResponse rawResponse) { /** * Successful Response */ - public Builder collectionTransactionSummary(CollectionTransactionSummary collectionTransactionSummary) { - Utils.checkNotNull(collectionTransactionSummary, "collectionTransactionSummary"); - this.collectionTransactionSummary = Optional.ofNullable(collectionTransactionSummary); + public Builder transactionSummaries(TransactionSummaries transactionSummaries) { + Utils.checkNotNull(transactionSummaries, "transactionSummaries"); + this.transactionSummaries = Optional.ofNullable(transactionSummaries); return this; } /** * Successful Response */ - public Builder collectionTransactionSummary(Optional collectionTransactionSummary) { - Utils.checkNotNull(collectionTransactionSummary, "collectionTransactionSummary"); - this.collectionTransactionSummary = collectionTransactionSummary; + public Builder transactionSummaries(Optional transactionSummaries) { + Utils.checkNotNull(transactionSummaries, "transactionSummaries"); + this.transactionSummaries = transactionSummaries; return this; } @@ -271,7 +271,7 @@ public ListTransactionsResponse build() { contentType, statusCode, rawResponse, - collectionTransactionSummary) + transactionSummaries) .withNext(next); } } From a5fd5c2d991b7b235d79c546743312c891afa6ab Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Tue, 3 Jun 2025 15:09:48 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow