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