From aed6f6dd35c34dfacf6d243589d6da6798fc198e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 12:07:15 +0000 Subject: [PATCH 1/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index e94784dad..ad2212664 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 238 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-8444ba4d474e25e8bd4474e53e985998c050b982eac5693a3168116c578bea64.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-6e46d23ba59eb2a6d914e53e75f68231b3c5259bb792e44b9bd57b5ee7af9a7b.yml openapi_spec_hash: 8a7faa0b93068b32ed26567fcf2c7158 -config_hash: 20a19f4f8eba684f97ba7cdc0007f818 +config_hash: ac050010e5453883d5e5fa603554a2e0 From 0cba430cc763aa6afba2074d1c61b3fe9fce7fe8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 15:25:31 +0000 Subject: [PATCH 2/4] docs: clarify forwards compat behavior --- README.md | 4 +- .../api/client/okhttp/IncreaseOkHttpClient.kt | 3 + .../okhttp/IncreaseOkHttpClientAsync.kt | 3 + .../com/increase/api/core/ClientOptions.kt | 6 + .../com/increase/api/core/RequestOptions.kt | 9 + .../models/accountnumbers/AccountNumber.kt | 64 + .../AccountNumberCreateParams.kt | 47 + .../AccountNumberListPageResponse.kt | 8 + .../accountnumbers/AccountNumberListParams.kt | 20 + .../AccountNumberUpdateParams.kt | 56 + .../increase/api/models/accounts/Account.kt | 72 + .../models/accounts/AccountCreateParams.kt | 37 + .../accounts/AccountListPageResponse.kt | 8 + .../api/models/accounts/AccountListParams.kt | 10 + .../models/accounts/AccountUpdateParams.kt | 18 + .../api/models/accounts/BalanceLookup.kt | 26 + .../accountstatements/AccountStatement.kt | 26 + .../AccountStatementListPageResponse.kt | 8 + .../accounttransfers/AccountTransfer.kt | 102 + .../AccountTransferCreateParams.kt | 9 + .../AccountTransferListPageResponse.kt | 8 + .../achprenotifications/AchPrenotification.kt | 82 + .../AchPrenotificationCreateParams.kt | 27 + .../AchPrenotificationListPageResponse.kt | 8 + .../api/models/achtransfers/AchTransfer.kt | 330 ++ .../achtransfers/AchTransferCreateParams.kt | 123 + .../AchTransferListPageResponse.kt | 8 + .../achtransfers/AchTransferListParams.kt | 10 + .../BeneficialOwnerCreateParams.kt | 87 + .../BeneficialOwnerListPageResponse.kt | 8 + .../BeneficialOwnerUpdateParams.kt | 67 + .../beneficialowners/EntityBeneficialOwner.kt | 65 + .../api/models/carddisputes/CardDispute.kt | 1601 +++++++++ .../carddisputes/CardDisputeCreateParams.kt | 1100 +++++- .../CardDisputeListPageResponse.kt | 8 + .../carddisputes/CardDisputeListParams.kt | 10 + .../CardDisputeSubmitUserSubmissionParams.kt | 1156 +++++++ .../carddisputes/CardDisputeWithdrawParams.kt | 9 + .../api/models/cardpayments/CardPayment.kt | 2985 +++++++++++++++++ .../CardPaymentListPageResponse.kt | 8 + .../CardPurchaseSupplement.kt | 75 + .../CardPurchaseSupplementListPageResponse.kt | 8 + .../cardpushtransfers/CardPushTransfer.kt | 177 + .../CardPushTransferCreateParams.kt | 37 + .../CardPushTransferListPageResponse.kt | 8 + .../CardPushTransferListParams.kt | 10 + .../com/increase/api/models/cards/Card.kt | 233 ++ .../cards/CardCreateDetailsIframeParams.kt | 9 + .../api/models/cards/CardCreateParams.kt | 216 ++ .../increase/api/models/cards/CardDetails.kt | 17 + .../api/models/cards/CardIframeUrl.kt | 17 + .../api/models/cards/CardListPageResponse.kt | 8 + .../api/models/cards/CardListParams.kt | 10 + .../api/models/cards/CardUpdateParams.kt | 225 ++ .../api/models/cards/CardUpdatePinParams.kt | 9 + .../api/models/cardtokens/CardToken.kt | 17 + .../cardtokens/CardTokenCapabilities.kt | 56 + .../cardtokens/CardTokenListPageResponse.kt | 8 + .../models/cardvalidations/CardValidation.kt | 191 ++ .../CardValidationCreateParams.kt | 9 + .../CardValidationListPageResponse.kt | 8 + .../CardValidationListParams.kt | 10 + .../api/models/checkdeposits/CheckDeposit.kt | 170 + .../checkdeposits/CheckDepositCreateParams.kt | 9 + .../CheckDepositListPageResponse.kt | 8 + .../models/checktransfers/CheckTransfer.kt | 265 ++ .../CheckTransferCreateParams.kt | 95 + .../CheckTransferListPageResponse.kt | 8 + .../checktransfers/CheckTransferListParams.kt | 10 + .../CheckTransferStopPaymentParams.kt | 18 + .../DeclinedTransaction.kt | 574 ++++ .../DeclinedTransactionListPageResponse.kt | 8 + .../DeclinedTransactionListParams.kt | 10 + .../digitalcardprofiles/DigitalCardProfile.kt | 35 + .../DigitalCardProfileCloneParams.kt | 18 + .../DigitalCardProfileCreateParams.kt | 18 + .../DigitalCardProfileListPageResponse.kt | 8 + .../DigitalCardProfileListParams.kt | 10 + .../digitalwallettokens/DigitalWalletToken.kt | 91 + .../DigitalWalletTokenListPageResponse.kt | 8 + .../increase/api/models/entities/Entity.kt | 536 +++ .../api/models/entities/EntityCreateParams.kt | 589 ++++ .../models/entities/EntityListPageResponse.kt | 8 + .../api/models/entities/EntityListParams.kt | 10 + .../api/models/entities/EntityUpdateParams.kt | 202 ++ .../EntityOnboardingSession.kt | 26 + .../EntityOnboardingSessionCreateParams.kt | 9 + ...EntityOnboardingSessionListPageResponse.kt | 8 + .../EntityOnboardingSessionListParams.kt | 10 + .../com/increase/api/models/events/Event.kt | 26 + .../models/events/EventListPageResponse.kt | 8 + .../api/models/events/EventListParams.kt | 30 + .../api/models/events/UnwrapWebhookEvent.kt | 26 + .../eventsubscriptions/EventSubscription.kt | 45 + .../EventSubscriptionCreateParams.kt | 37 + .../EventSubscriptionListPageResponse.kt | 8 + .../EventSubscriptionUpdateParams.kt | 18 + .../com/increase/api/models/exports/Export.kt | 229 ++ .../api/models/exports/ExportCreateParams.kt | 138 + .../models/exports/ExportListPageResponse.kt | 8 + .../api/models/exports/ExportListParams.kt | 19 + .../externalaccounts/ExternalAccount.kt | 44 + .../ExternalAccountCreateParams.kt | 27 + .../ExternalAccountListPageResponse.kt | 8 + .../ExternalAccountListParams.kt | 10 + .../ExternalAccountUpdateParams.kt | 36 + .../models/fednowtransfers/FednowTransfer.kt | 130 + .../FednowTransferCreateParams.kt | 27 + .../FednowTransferListPageResponse.kt | 8 + .../FednowTransferListParams.kt | 10 + .../increase/api/models/filelinks/FileLink.kt | 17 + .../models/filelinks/FileLinkCreateParams.kt | 9 + .../com/increase/api/models/files/File.kt | 35 + .../api/models/files/FileCreateParams.kt | 18 + .../api/models/files/FileListPageResponse.kt | 8 + .../api/models/files/FileListParams.kt | 10 + .../com/increase/api/models/groups/Group.kt | 17 + .../inboundachtransfers/InboundAchTransfer.kt | 217 ++ ...ransferCreateNotificationOfChangeParams.kt | 9 + .../InboundAchTransferDeclineParams.kt | 18 + .../InboundAchTransferListPageResponse.kt | 8 + .../InboundAchTransferListParams.kt | 10 + .../InboundAchTransferTransferReturnParams.kt | 18 + .../InboundCheckDeposit.kt | 82 + .../InboundCheckDepositListPageResponse.kt | 8 + .../InboundCheckDepositReturnParams.kt | 18 + .../InboundFednowTransfer.kt | 63 + .../InboundFednowTransferListPageResponse.kt | 8 + .../inboundmailitems/InboundMailItem.kt | 54 + .../InboundMailItemActionParams.kt | 28 + .../InboundMailItemListPageResponse.kt | 8 + .../InboundRealTimePaymentsTransfer.kt | 63 + ...ealTimePaymentsTransferListPageResponse.kt | 8 + .../InboundWireDrawdownRequest.kt | 17 + ...oundWireDrawdownRequestListPageResponse.kt | 8 + .../InboundWireTransfer.kt | 54 + .../InboundWireTransferListPageResponse.kt | 8 + .../InboundWireTransferListParams.kt | 10 + .../InboundWireTransferReverseParams.kt | 18 + .../IntrafiAccountEnrollment.kt | 26 + .../IntrafiAccountEnrollmentCreateParams.kt | 9 + ...ntrafiAccountEnrollmentListPageResponse.kt | 8 + .../IntrafiAccountEnrollmentListParams.kt | 10 + .../models/intrafibalances/IntrafiBalance.kt | 45 + .../intrafiexclusions/IntrafiExclusion.kt | 26 + .../IntrafiExclusionCreateParams.kt | 9 + .../IntrafiExclusionListPageResponse.kt | 8 + .../models/lockboxaddresses/LockboxAddress.kt | 35 + .../LockboxAddressCreateParams.kt | 9 + .../LockboxAddressListPageResponse.kt | 8 + .../LockboxAddressUpdateParams.kt | 18 + .../lockboxrecipients/LockboxRecipient.kt | 26 + .../LockboxRecipientCreateParams.kt | 9 + .../LockboxRecipientListPageResponse.kt | 8 + .../LockboxRecipientUpdateParams.kt | 18 + .../oauthapplications/OAuthApplication.kt | 26 + .../OAuthApplicationListPageResponse.kt | 8 + .../OAuthApplicationListParams.kt | 10 + .../oauthconnections/OAuthConnection.kt | 26 + .../OAuthConnectionListPageResponse.kt | 8 + .../OAuthConnectionListParams.kt | 10 + .../api/models/oauthtokens/OAuthToken.kt | 26 + .../oauthtokens/OAuthTokenCreateParams.kt | 18 + .../pendingtransactions/PendingTransaction.kt | 623 ++++ .../PendingTransactionCreateParams.kt | 9 + .../PendingTransactionListPageResponse.kt | 8 + .../PendingTransactionListParams.kt | 20 + .../PhysicalCardProfile.kt | 35 + .../PhysicalCardProfileCloneParams.kt | 18 + .../PhysicalCardProfileCreateParams.kt | 18 + .../PhysicalCardProfileListPageResponse.kt | 8 + .../PhysicalCardProfileListParams.kt | 10 + .../api/models/physicalcards/PhysicalCard.kt | 114 + .../physicalcards/PhysicalCardCreateParams.kt | 57 + .../PhysicalCardListPageResponse.kt | 8 + .../physicalcards/PhysicalCardUpdateParams.kt | 18 + .../increase/api/models/programs/Program.kt | 35 + .../programs/ProgramListPageResponse.kt | 8 + .../realtimedecisions/RealTimeDecision.kt | 949 ++++++ .../RealTimeDecisionActionParams.kt | 223 ++ .../RealTimePaymentsTransfer.kt | 139 + .../RealTimePaymentsTransferCreateParams.kt | 9 + ...ealTimePaymentsTransferListPageResponse.kt | 8 + .../RealTimePaymentsTransferListParams.kt | 10 + .../RoutingNumberListPageResponse.kt | 8 + .../RoutingNumberListResponse.kt | 53 + .../AccountRevenuePaymentCreateParams.kt | 9 + .../AccountStatementCreateParams.kt | 9 + ...ransferCreateNotificationOfChangeParams.kt | 18 + .../achtransfers/AchTransferReturnParams.kt | 18 + .../achtransfers/AchTransferSettleParams.kt | 18 + ...rdAuthenticationChallengeAttemptsParams.kt | 9 + .../CardAuthenticationCreateParams.kt | 27 + ...CardAuthorizationExpirationCreateParams.kt | 9 + .../CardAuthorizationCreateParams.kt | 76 + .../CardAuthorizationCreateResponse.kt | 17 + .../CardBalanceInquiryCreateParams.kt | 47 + .../carddisputes/CardDisputeActionParams.kt | 137 + .../CardFuelConfirmationCreateParams.kt | 9 + .../CardIncrementCreateParams.kt | 9 + .../CardPurchaseSupplementCreateParams.kt | 27 + .../cardrefunds/CardRefundCreateParams.kt | 9 + .../cardreversals/CardReversalCreateParams.kt | 9 + .../CardSettlementCreateParams.kt | 9 + .../cardtokens/CardTokenCreateParams.kt | 87 + .../CheckDepositAdjustmentParams.kt | 18 + .../checkdeposits/CheckDepositSubmitParams.kt | 18 + .../DigitalWalletTokenRequestCreateParams.kt | 9 + ...DigitalWalletTokenRequestCreateResponse.kt | 26 + .../entities/EntityUpdateValidationParams.kt | 28 + .../simulations/exports/ExportCreateParams.kt | 27 + .../InboundAchTransferCreateParams.kt | 57 + .../InboundCheckDepositAdjustmentParams.kt | 18 + .../InboundCheckDepositCreateParams.kt | 18 + .../InboundFednowTransferCreateParams.kt | 9 + .../InboundMailItemCreateParams.kt | 9 + ...undRealTimePaymentsTransferCreateParams.kt | 9 + .../InboundWireDrawdownRequestCreateParams.kt | 9 + .../InboundWireTransferCreateParams.kt | 9 + .../InterestPaymentCreateParams.kt | 9 + .../PhysicalCardAdvanceShipmentParams.kt | 18 + .../physicalcards/PhysicalCardCreateParams.kt | 18 + .../programs/ProgramCreateParams.kt | 18 + .../RealTimePaymentsTransferCompleteParams.kt | 28 + .../EntitySupplementalDocument.kt | 17 + .../SupplementalDocumentCreateParams.kt | 9 + .../SupplementalDocumentListPageResponse.kt | 8 + .../models/swifttransfers/SwiftTransfer.kt | 102 + .../SwiftTransferCreateParams.kt | 36 + .../SwiftTransferListPageResponse.kt | 8 + .../swifttransfers/SwiftTransferListParams.kt | 10 + .../api/models/transactions/Transaction.kt | 1564 +++++++++ .../TransactionListPageResponse.kt | 8 + .../transactions/TransactionListParams.kt | 10 + .../WireDrawdownRequest.kt | 53 + .../WireDrawdownRequestCreateParams.kt | 36 + .../WireDrawdownRequestListPageResponse.kt | 8 + .../WireDrawdownRequestListParams.kt | 10 + .../api/models/wiretransfers/WireTransfer.kt | 226 ++ .../wiretransfers/WireTransferCreateParams.kt | 106 + .../WireTransferListPageResponse.kt | 8 + .../wiretransfers/WireTransferListParams.kt | 10 + 242 files changed, 20022 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e70dd8f86..3a87eee1c 100644 --- a/README.md +++ b/README.md @@ -764,7 +764,9 @@ In rare cases, the API may return a response that doesn't match the expected typ By default, the SDK will not throw an exception in this case. It will throw [`IncreaseInvalidDataException`](increase-java-core/src/main/kotlin/com/increase/api/errors/IncreaseInvalidDataException.kt) only if you directly access the property. -If you would prefer to check that the response is completely well-typed upfront, then either call `validate()`: +Validating the response is _not_ forwards compatible with new types from the API for existing fields. + +If you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`: ```java import com.increase.api.models.accounts.Account; diff --git a/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClient.kt b/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClient.kt index c9f37a7a4..085bd79a4 100644 --- a/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClient.kt +++ b/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClient.kt @@ -236,6 +236,9 @@ class IncreaseOkHttpClient private constructor() { /** * Whether to call `validate` on every response before returning it. * + * Setting this to `true` is _not_ forwards compatible with new types from the API for + * existing fields. + * * Defaults to false, which means the shape of the response will not be validated upfront. * Instead, validation will only occur for the parts of the response that are accessed. */ diff --git a/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClientAsync.kt b/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClientAsync.kt index fa56998d1..2c5d6c476 100644 --- a/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClientAsync.kt +++ b/increase-java-client-okhttp/src/main/kotlin/com/increase/api/client/okhttp/IncreaseOkHttpClientAsync.kt @@ -236,6 +236,9 @@ class IncreaseOkHttpClientAsync private constructor() { /** * Whether to call `validate` on every response before returning it. * + * Setting this to `true` is _not_ forwards compatible with new types from the API for + * existing fields. + * * Defaults to false, which means the shape of the response will not be validated upfront. * Instead, validation will only occur for the parts of the response that are accessed. */ diff --git a/increase-java-core/src/main/kotlin/com/increase/api/core/ClientOptions.kt b/increase-java-core/src/main/kotlin/com/increase/api/core/ClientOptions.kt index 32ed9788c..38aa88f80 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/core/ClientOptions.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/core/ClientOptions.kt @@ -80,6 +80,9 @@ private constructor( /** * Whether to call `validate` on every response before returning it. * + * Setting this to `true` is _not_ forwards compatible with new types from the API for existing + * fields. + * * Defaults to false, which means the shape of the response will not be validated upfront. * Instead, validation will only occur for the parts of the response that are accessed. */ @@ -275,6 +278,9 @@ private constructor( /** * Whether to call `validate` on every response before returning it. * + * Setting this to `true` is _not_ forwards compatible with new types from the API for + * existing fields. + * * Defaults to false, which means the shape of the response will not be validated upfront. * Instead, validation will only occur for the parts of the response that are accessed. */ diff --git a/increase-java-core/src/main/kotlin/com/increase/api/core/RequestOptions.kt b/increase-java-core/src/main/kotlin/com/increase/api/core/RequestOptions.kt index bbd01340d..abf33eb61 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/core/RequestOptions.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/core/RequestOptions.kt @@ -33,6 +33,15 @@ class RequestOptions private constructor(val responseValidation: Boolean?, val t private var responseValidation: Boolean? = null private var timeout: Timeout? = null + /** + * Whether to call `validate` on the response before returning it. + * + * Setting this to `true` is _not_ forwards compatible with new types from the API for + * existing fields. + * + * Defaults to false, which means the shape of the response will not be validated upfront. + * Instead, validation will only occur for the parts of the response that are accessed. + */ fun responseValidation(responseValidation: Boolean) = apply { this.responseValidation = responseValidation } diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumber.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumber.kt index 2869c2ff4..d5fefc299 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumber.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumber.kt @@ -543,6 +543,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountNumber = apply { if (validated) { return@apply @@ -716,6 +724,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundAch = apply { if (validated) { return@apply @@ -845,6 +862,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DebitStatus = apply { if (validated) { return@apply @@ -1015,6 +1042,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundChecks = apply { if (validated) { return@apply @@ -1156,6 +1192,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1317,6 +1363,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1442,6 +1497,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberCreateParams.kt index 54ece8dd8..573d6cd2d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberCreateParams.kt @@ -566,6 +566,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -751,6 +760,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundAch = apply { if (validated) { return@apply @@ -881,6 +899,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DebitStatus = apply { if (validated) { return@apply @@ -1055,6 +1083,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundChecks = apply { if (validated) { return@apply @@ -1199,6 +1236,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListPageResponse.kt index 81b906bc2..fdbf9194a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListPageResponse.kt @@ -196,6 +196,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountNumberListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListParams.kt index 634e0e8c8..12da1fb81 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberListParams.kt @@ -527,6 +527,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply @@ -972,6 +982,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberUpdateParams.kt index 30cbf6f59..ccf1e5738 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accountnumbers/AccountNumberUpdateParams.kt @@ -551,6 +551,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -716,6 +725,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundAch = apply { if (validated) { return@apply @@ -845,6 +863,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DebitStatus = apply { if (validated) { return@apply @@ -1015,6 +1043,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundChecks = apply { if (validated) { return@apply @@ -1156,6 +1193,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1317,6 +1364,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/Account.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/Account.kt index 0d10eeabe..8ac455c12 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/Account.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/Account.kt @@ -752,6 +752,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Account = apply { if (validated) { return@apply @@ -913,6 +921,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Bank = apply { if (validated) { return@apply @@ -1038,6 +1055,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -1181,6 +1207,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Funding = apply { if (validated) { return@apply @@ -1525,6 +1560,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Loan = apply { if (validated) { return@apply @@ -1679,6 +1723,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): StatementPaymentType = apply { if (validated) { return@apply @@ -1844,6 +1898,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1966,6 +2029,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountCreateParams.kt index a2d111a24..7d9e62d2b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountCreateParams.kt @@ -692,6 +692,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -867,6 +876,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Funding = apply { if (validated) { return@apply @@ -1204,6 +1222,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Loan = apply { if (validated) { return@apply @@ -1358,6 +1385,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): StatementPaymentType = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListPageResponse.kt index 41ff8ac3e..ce031f035 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListParams.kt index d8b397aaf..f5240b506 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountListParams.kt @@ -714,6 +714,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountUpdateParams.kt index aaedb4915..458abb425 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/AccountUpdateParams.kt @@ -406,6 +406,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -571,6 +580,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Loan = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/BalanceLookup.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/BalanceLookup.kt index 91c5f8aa6..5f1422115 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/BalanceLookup.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounts/BalanceLookup.kt @@ -299,6 +299,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BalanceLookup = apply { if (validated) { return@apply @@ -536,6 +544,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Loan = apply { if (validated) { return@apply @@ -676,6 +693,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatement.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatement.kt index c34537fb9..d26732bec 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatement.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatement.kt @@ -506,6 +506,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountStatement = apply { if (validated) { return@apply @@ -753,6 +761,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Loan = apply { if (validated) { return@apply @@ -893,6 +910,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatementListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatementListPageResponse.kt index c9b5accf2..613c5a0de 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatementListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accountstatements/AccountStatementListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountStatementListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransfer.kt index 19c28b243..ef91d64c0 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransfer.kt @@ -800,6 +800,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountTransfer = apply { if (validated) { return@apply @@ -1030,6 +1038,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -1254,6 +1271,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cancellation = apply { if (validated) { return@apply @@ -1540,6 +1566,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -1690,6 +1725,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1860,6 +1905,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -2025,6 +2080,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -2186,6 +2251,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -2339,6 +2414,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -2482,6 +2566,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -2607,6 +2700,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferCreateParams.kt index 397e04575..569ff7168 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferCreateParams.kt @@ -676,6 +676,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferListPageResponse.kt index 09473fc1e..22431a8bb 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/accounttransfers/AccountTransferListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotification.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotification.kt index 7bea67f9f..8531b057f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotification.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotification.kt @@ -1024,6 +1024,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AchPrenotification = apply { if (validated) { return@apply @@ -1190,6 +1198,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditDebitIndicator = apply { if (validated) { return@apply @@ -1449,6 +1466,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NotificationsOfChange = apply { if (validated) { return@apply @@ -1824,6 +1850,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ChangeCode = apply { if (validated) { return@apply @@ -2054,6 +2090,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PrenotificationReturn = apply { if (validated) { return@apply @@ -3306,6 +3351,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ReturnReasonCode = apply { if (validated) { return@apply @@ -3519,6 +3574,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): StandardEntryClassCode = apply { if (validated) { return@apply @@ -3671,6 +3735,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -3796,6 +3869,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationCreateParams.kt index a4a8ea572..62cd6276d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationCreateParams.kt @@ -1260,6 +1260,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1460,6 +1469,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditDebitIndicator = apply { if (validated) { return@apply @@ -1652,6 +1670,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): StandardEntryClassCode = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationListPageResponse.kt index 6a3d9b62a..f98b699a1 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achprenotifications/AchPrenotificationListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AchPrenotificationListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt index a62ed8aba..23dcf4412 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransfer.kt @@ -1707,6 +1707,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AchTransfer = apply { if (validated) { return@apply @@ -1933,6 +1941,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Acknowledgement = apply { if (validated) { return@apply @@ -2193,6 +2210,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Addenda = apply { if (validated) { return@apply @@ -2345,6 +2371,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2522,6 +2558,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Freeform = apply { if (validated) { return@apply @@ -2679,6 +2725,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Entry = apply { if (validated) { return@apply @@ -2890,6 +2946,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): PaymentOrderRemittanceAdvice = apply { if (validated) { return@apply @@ -3094,6 +3160,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Invoice = apply { if (validated) { return@apply @@ -3358,6 +3434,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -3582,6 +3667,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cancellation = apply { if (validated) { return@apply @@ -3868,6 +3962,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -4018,6 +4121,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -4188,6 +4301,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -4353,6 +4476,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -4514,6 +4647,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -4670,6 +4813,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -4821,6 +4973,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DestinationAccountHolder = apply { if (validated) { return@apply @@ -4964,6 +5125,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Funding = apply { if (validated) { return@apply @@ -5483,6 +5653,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundFundsHold = apply { if (validated) { return@apply @@ -5616,6 +5795,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -5752,6 +5941,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -5877,6 +6076,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -6038,6 +6247,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -6297,6 +6515,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NotificationsOfChange = apply { if (validated) { return@apply @@ -6672,6 +6899,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ChangeCode = apply { if (validated) { return@apply @@ -6910,6 +7147,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PreferredEffectiveDate = apply { if (validated) { return@apply @@ -7069,6 +7315,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SettlementSchedule = apply { if (validated) { return@apply @@ -7480,6 +7736,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Return = apply { if (validated) { return@apply @@ -8743,6 +9008,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ReturnReasonCode = apply { if (validated) { return@apply @@ -8944,6 +9219,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Settlement = apply { if (validated) { return@apply @@ -9141,6 +9425,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): StandardEntryClassCode = apply { if (validated) { return@apply @@ -9339,6 +9632,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -9767,6 +10069,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -9913,6 +10224,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ExpectedSettlementSchedule = apply { if (validated) { return@apply @@ -10071,6 +10392,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt index 5dae8c692..79f0121bf 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt @@ -1775,6 +1775,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -2107,6 +2116,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Addenda = apply { if (validated) { return@apply @@ -2247,6 +2265,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2433,6 +2461,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Freeform = apply { if (validated) { return@apply @@ -2590,6 +2628,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Entry = apply { if (validated) { return@apply @@ -2802,6 +2850,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): PaymentOrderRemittanceAdvice = apply { if (validated) { return@apply @@ -3006,6 +3064,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Invoice = apply { if (validated) { return@apply @@ -3209,6 +3277,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DestinationAccountHolder = apply { if (validated) { return@apply @@ -3352,6 +3429,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Funding = apply { if (validated) { return@apply @@ -3544,6 +3630,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PreferredEffectiveDate = apply { if (validated) { return@apply @@ -3703,6 +3798,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SettlementSchedule = apply { if (validated) { return@apply @@ -3916,6 +4021,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): StandardEntryClassCode = apply { if (validated) { return@apply @@ -4054,6 +4168,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TransactionTiming = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponse.kt index 6c57c9c16..b96bdf0eb 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AchTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListParams.kt index 7eb3b7d57..d01a2a6f3 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferListParams.kt @@ -764,6 +764,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerCreateParams.kt index 009935d3d..e137aa6d6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerCreateParams.kt @@ -602,6 +602,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -942,6 +951,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -1273,6 +1291,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -1624,6 +1652,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -1790,6 +1828,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -2075,6 +2123,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -2426,6 +2484,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -2704,6 +2772,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply @@ -2907,6 +2985,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Prong = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerListPageResponse.kt index 0a6f32287..440ef604b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BeneficialOwnerListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt index 91cb650c1..d15f19013 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt @@ -588,6 +588,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -932,6 +941,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -1270,6 +1288,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -1434,6 +1461,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -1715,6 +1752,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -2064,6 +2111,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -2340,6 +2397,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/EntityBeneficialOwner.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/EntityBeneficialOwner.kt index 379847e76..f6fef4e71 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/EntityBeneficialOwner.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/EntityBeneficialOwner.kt @@ -445,6 +445,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EntityBeneficialOwner = apply { if (validated) { return@apply @@ -723,6 +731,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -1066,6 +1083,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -1297,6 +1324,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -1457,6 +1494,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -1634,6 +1681,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Prong = apply { if (validated) { return@apply @@ -1759,6 +1815,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDispute.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDispute.kt index 31172bde1..93cf88a9b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDispute.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDispute.kt @@ -673,6 +673,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardDispute = apply { if (validated) { return@apply @@ -882,6 +890,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Loss = apply { if (validated) { return@apply @@ -1009,6 +1026,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -1162,6 +1189,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -1353,6 +1389,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1478,6 +1523,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -1772,6 +1826,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -2931,6 +2994,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): NetworkEvent = apply { if (validated) { return@apply @@ -3114,6 +3187,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AttachmentFile = apply { if (validated) { return@apply @@ -3485,6 +3568,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3601,6 +3694,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ChargebackAccepted = apply { if (validated) { return@apply @@ -3720,6 +3823,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ChargebackSubmitted = apply { if (validated) { return@apply @@ -3839,6 +3952,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ChargebackTimedOut = apply { if (validated) { return@apply @@ -3963,6 +4086,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantPrearbitrationDeclineSubmitted = apply { if (validated) { return@apply @@ -4659,6 +4792,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantPrearbitrationReceived = apply { if (validated) { return@apply @@ -4849,6 +4992,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderNoLongerDisputes = apply { if (validated) { return@apply @@ -5077,6 +5230,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CompellingEvidence = apply { if (validated) { return@apply @@ -5429,6 +5592,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -5765,6 +5938,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CreditOrReversalProcessed = apply { if (validated) { return@apply @@ -5968,6 +6151,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DelayedChargeTransaction = apply { if (validated) { return@apply @@ -6154,6 +6347,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): EvidenceOfImprint = apply { if (validated) { return@apply @@ -6381,6 +6584,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): InvalidDispute = apply { if (validated) { return@apply @@ -6518,6 +6731,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -6830,6 +7053,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NonFiatCurrencyOrNonFungibleTokenReceived = apply { if (validated) { return@apply @@ -7035,6 +7268,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PriorUndisputedNonFraudTransactions = apply { if (validated) { return@apply @@ -7253,6 +7496,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -7413,6 +7666,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantPrearbitrationTimedOut = apply { if (validated) { return@apply @@ -8045,6 +8308,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Represented = apply { if (validated) { return@apply @@ -8235,6 +8508,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderNoLongerDisputes = apply { if (validated) { return@apply @@ -8557,6 +8840,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CreditOrReversalProcessed = apply { if (validated) { return@apply @@ -8800,6 +9093,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): InvalidDispute = apply { if (validated) { return@apply @@ -9365,6 +9668,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -9510,6 +9823,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NonFiatCurrencyOrNonFungibleTokenAsDescribed = apply { if (validated) { return@apply @@ -9803,6 +10126,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NonFiatCurrencyOrNonFungibleTokenReceived = apply { if (validated) { return@apply @@ -10006,6 +10339,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProofOfCashDisbursement = apply { if (validated) { return@apply @@ -10221,6 +10564,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -10400,6 +10753,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReversalIssued = apply { if (validated) { return@apply @@ -10563,6 +10926,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): RepresentmentTimedOut = apply { if (validated) { return@apply @@ -10683,6 +11056,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): UserPrearbitrationAccepted = apply { if (validated) { return@apply @@ -10803,6 +11186,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): UserPrearbitrationDeclined = apply { if (validated) { return@apply @@ -10923,6 +11316,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): UserPrearbitrationSubmitted = apply { if (validated) { return@apply @@ -11043,6 +11446,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): UserPrearbitrationTimedOut = apply { if (validated) { return@apply @@ -11162,6 +11575,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): UserWithdrawalSubmitted = apply { if (validated) { return@apply @@ -11380,6 +11803,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RequiredUserSubmissionCategory = apply { if (validated) { return@apply @@ -12196,6 +12629,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): UserSubmission = apply { if (validated) { return@apply @@ -12370,6 +12813,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AttachmentFile = apply { if (validated) { return@apply @@ -12554,6 +13007,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -12720,6 +13183,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -14185,6 +14658,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Chargeback = apply { if (validated) { return@apply @@ -14387,6 +14870,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Authorization = apply { if (validated) { return@apply @@ -14530,6 +15023,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AccountStatus = apply { if (validated) { return@apply @@ -14886,6 +15389,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -15421,6 +15934,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCanceledMerchandise = apply { if (validated) { return@apply @@ -15753,6 +16276,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -15901,6 +16434,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CanceledPriorToShipDate = apply { if (validated) { return@apply @@ -16050,6 +16593,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CancellationPolicyProvided = apply { if (validated) { return@apply @@ -16226,6 +16779,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -16341,6 +16904,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -16657,6 +17230,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -16832,6 +17415,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -17016,6 +17609,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -17396,6 +17999,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -17575,6 +18188,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -17998,6 +18621,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCanceledRecurringTransaction = apply { if (validated) { return@apply @@ -18139,6 +18772,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CancellationTarget = apply { if (validated) { return@apply @@ -18579,6 +19222,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantContactMethods = apply { if (validated) { return@apply @@ -19165,6 +19818,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCanceledServices = apply { if (validated) { return@apply @@ -19437,6 +20100,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -19579,6 +20252,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CancellationPolicyProvided = apply { if (validated) { return@apply @@ -19782,6 +20465,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): GuaranteedReservation = apply { if (validated) { return@apply @@ -19945,6 +20638,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Explanation = apply { if (validated) { return@apply @@ -20112,6 +20815,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -20227,6 +20940,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -20384,6 +21107,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ServiceType = apply { if (validated) { return@apply @@ -20499,6 +21232,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Timeshare = apply { if (validated) { return@apply @@ -20855,6 +21598,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCounterfeitMerchandise = apply { if (validated) { return@apply @@ -21112,6 +21865,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCreditNotProcessed = apply { if (validated) { return@apply @@ -21601,6 +22364,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerDamagedOrDefectiveMerchandise = apply { if (validated) { return@apply @@ -21748,6 +22521,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -21863,6 +22646,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -22179,6 +22972,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -22354,6 +23157,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -22538,6 +23351,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -22918,6 +23741,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -23097,6 +23930,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -23692,6 +24535,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerMerchandiseMisrepresentation = apply { if (validated) { return@apply @@ -23841,6 +24694,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -23956,6 +24819,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -24272,6 +25145,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -24447,6 +25330,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -24631,6 +25524,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -25011,6 +25914,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -25190,6 +26103,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -25636,6 +26559,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerMerchandiseNotAsDescribed = apply { if (validated) { return@apply @@ -25779,6 +26712,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -26093,6 +27036,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -26268,6 +27221,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -26443,6 +27406,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -26823,6 +27796,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -27002,6 +27985,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -27747,6 +28740,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerMerchandiseNotReceived = apply { if (validated) { return@apply @@ -27916,6 +28919,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CancellationOutcome = apply { if (validated) { return@apply @@ -28140,6 +29153,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderCancellationPriorToExpectedReceipt = apply { if (validated) { return@apply @@ -28528,6 +29551,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Delayed = apply { if (validated) { return@apply @@ -28642,6 +29675,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -28820,6 +29863,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -28985,6 +30038,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -29210,6 +30273,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -29432,6 +30505,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): DeliveredToWrongLocation = apply { if (validated) { return@apply @@ -29587,6 +30670,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): DeliveryIssue = apply { if (validated) { return@apply @@ -29762,6 +30855,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantCancellation = apply { if (validated) { return@apply @@ -29917,6 +31020,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -30035,6 +31148,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoCancellation = apply { if (validated) { return@apply @@ -30197,6 +31320,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerNonReceiptOfCash = apply { if (validated) { return@apply @@ -30418,6 +31551,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerOriginalCreditTransactionNotAccepted = apply { if (validated) { return@apply @@ -30555,6 +31698,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -31153,6 +32306,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerQualityMerchandise = apply { if (validated) { return@apply @@ -31304,6 +32467,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -31419,6 +32592,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -31687,6 +32870,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): OngoingNegotiations = apply { if (validated) { return@apply @@ -32020,6 +33213,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -32195,6 +33398,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -32379,6 +33592,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -32759,6 +33982,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -32938,6 +34171,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -33571,6 +34814,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerQualityServices = apply { if (validated) { return@apply @@ -33835,6 +35088,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -33975,6 +35238,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -34154,6 +35427,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderPaidToHaveWorkRedone = apply { if (validated) { return@apply @@ -34313,6 +35596,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NonFiatCurrencyOrNonFungibleTokenRelatedAndNotMatchingDescription = apply { @@ -34583,6 +35876,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): OngoingNegotiations = apply { if (validated) { return@apply @@ -34753,6 +36056,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): RestaurantFoodRelated = apply { if (validated) { return@apply @@ -35173,6 +36486,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerServicesMisrepresentation = apply { if (validated) { return@apply @@ -35428,6 +36751,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -35568,6 +36901,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -35742,6 +37085,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -36100,6 +37453,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerServicesNotAsDescribed = apply { if (validated) { return@apply @@ -36353,6 +37716,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -36493,6 +37866,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -36667,6 +38050,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -37229,6 +38622,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerServicesNotReceived = apply { if (validated) { return@apply @@ -37392,6 +38795,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CancellationOutcome = apply { if (validated) { return@apply @@ -37616,6 +39029,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CardholderCancellationPriorToExpectedReceipt = apply { if (validated) { return@apply @@ -37802,6 +39225,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantCancellation = apply { if (validated) { return@apply @@ -37957,6 +39390,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -38075,6 +39518,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoCancellation = apply { if (validated) { return@apply @@ -38281,6 +39734,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Fraud = apply { if (validated) { return@apply @@ -38509,6 +39972,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): FraudType = apply { if (validated) { return@apply @@ -38926,6 +40399,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingError = apply { if (validated) { return@apply @@ -39098,6 +40581,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): DuplicateTransaction = apply { if (validated) { return@apply @@ -39261,6 +40754,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ErrorReason = apply { if (validated) { return@apply @@ -39436,6 +40939,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): IncorrectAmount = apply { if (validated) { return@apply @@ -39591,6 +41104,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -39830,6 +41353,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PaidByOtherMeans = apply { if (validated) { return@apply @@ -40005,6 +41538,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): OtherFormOfPaymentEvidence = apply { if (validated) { return@apply @@ -40304,6 +41847,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantPrearbitrationDecline = apply { if (validated) { return@apply @@ -40529,6 +42082,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): UserPrearbitration = apply { if (validated) { return@apply @@ -40729,6 +42292,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CategoryChange = apply { if (validated) { return@apply @@ -41062,6 +42635,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -41337,6 +42920,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Win = apply { if (validated) { return@apply @@ -41505,6 +43097,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Withdrawal = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeCreateParams.kt index d62da14b3..e79398db9 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeCreateParams.kt @@ -770,6 +770,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -930,6 +939,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -1085,6 +1103,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AttachmentFile = apply { if (validated) { return@apply @@ -2205,6 +2232,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -2547,6 +2583,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2714,6 +2760,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Authorization = apply { if (validated) { return@apply @@ -2851,6 +2907,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AccountStatus = apply { if (validated) { return@apply @@ -3351,6 +3417,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerCanceledMerchandise = apply { if (validated) { return@apply @@ -3499,6 +3575,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -3648,6 +3734,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -3955,6 +4051,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -4098,6 +4204,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CanceledPriorToShipDate = apply { if (validated) { return@apply @@ -4245,6 +4361,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationPolicyProvided = apply { if (validated) { return@apply @@ -4380,6 +4506,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -4685,6 +4821,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -4854,6 +5000,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -5224,6 +5380,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -5400,6 +5566,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -5787,6 +5963,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerCanceledRecurringTransaction = apply { if (validated) { return@apply @@ -5924,6 +6110,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationTarget = apply { if (validated) { return@apply @@ -6293,6 +6489,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantContactMethods = apply { if (validated) { return@apply @@ -6835,6 +7041,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerCanceledServices = apply { if (validated) { return@apply @@ -7094,6 +7310,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -7233,6 +7459,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationPolicyProvided = apply { if (validated) { return@apply @@ -7406,6 +7642,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -7554,6 +7800,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ServiceType = apply { if (validated) { return@apply @@ -7726,6 +7982,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): GuaranteedReservation = apply { if (validated) { return@apply @@ -7876,6 +8142,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Explanation = apply { if (validated) { return@apply @@ -8004,6 +8280,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -8110,6 +8396,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Timeshare = apply { if (validated) { return@apply @@ -8459,6 +8755,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerCounterfeitMerchandise = apply { if (validated) { return@apply @@ -8684,6 +8990,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerCreditNotProcessed = apply { if (validated) { return@apply @@ -9134,6 +9450,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerDamagedOrDefectiveMerchandise = apply { if (validated) { return@apply @@ -9280,6 +9606,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -9429,6 +9765,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -9534,6 +9880,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -9839,6 +10195,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -10008,6 +10374,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -10378,6 +10754,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -10554,6 +10940,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -11105,6 +11501,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerMerchandiseMisrepresentation = apply { if (validated) { return@apply @@ -11253,6 +11659,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -11402,6 +11818,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -11507,6 +11933,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -11812,6 +12248,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -11981,6 +12427,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -12351,6 +12807,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -12527,6 +12993,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -12948,6 +13424,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerMerchandiseNotAsDescribed = apply { if (validated) { return@apply @@ -13090,6 +13576,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -13230,6 +13726,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -13533,6 +14039,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -13702,6 +14218,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -14072,8 +14598,18 @@ private constructor( private var validated: Boolean = false - fun validate(): Returned = apply { - if (validated) { + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ + fun validate(): Returned = apply { + if (validated) { return@apply } @@ -14248,6 +14784,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -14920,6 +15466,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerMerchandiseNotReceived = apply { if (validated) { return@apply @@ -15085,6 +15641,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationOutcome = apply { if (validated) { return@apply @@ -15225,6 +15791,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DeliveryIssue = apply { if (validated) { return@apply @@ -15370,6 +15946,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -15581,6 +16167,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellationPriorToExpectedReceipt = apply { if (validated) { return@apply @@ -15930,6 +16526,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Delayed = apply { if (validated) { return@apply @@ -16079,6 +16685,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -16190,6 +16806,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -16365,6 +16991,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -16584,6 +17220,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -16799,6 +17445,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DeliveredToWrongLocation = apply { if (validated) { return@apply @@ -16978,6 +17634,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantCancellation = apply { if (validated) { return@apply @@ -17094,6 +17760,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NoCancellation = apply { if (validated) { return@apply @@ -17252,6 +17928,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerNonReceiptOfCash = apply { if (validated) { return@apply @@ -17465,6 +18151,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerOriginalCreditTransactionNotAccepted = apply { if (validated) { return@apply @@ -17598,6 +18294,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -18144,6 +18850,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerQualityMerchandise = apply { if (validated) { return@apply @@ -18294,6 +19010,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -18443,6 +19169,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -18548,6 +19284,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -18808,6 +19554,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): OngoingNegotiations = apply { if (validated) { return@apply @@ -19131,6 +19887,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -19300,6 +20066,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -19670,6 +20446,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -19846,6 +20632,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -20407,6 +21203,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerQualityServices = apply { if (validated) { return@apply @@ -20662,6 +21468,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -20800,6 +21616,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -20978,6 +21804,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NonFiatCurrencyOrNonFungibleTokenRelatedAndNotMatchingDescription = apply { if (validated) { @@ -21127,6 +21963,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderPaidToHaveWorkRedone = apply { if (validated) { return@apply @@ -21385,6 +22231,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): OngoingNegotiations = apply { if (validated) { return@apply @@ -21552,6 +22408,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): RestaurantFoodRelated = apply { if (validated) { return@apply @@ -21953,6 +22819,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerServicesMisrepresentation = apply { if (validated) { return@apply @@ -22201,6 +23077,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -22339,6 +23225,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -22507,6 +23403,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -22853,6 +23759,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerServicesNotAsDescribed = apply { if (validated) { return@apply @@ -23099,6 +24015,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -23237,6 +24163,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -23405,6 +24341,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -23914,6 +24860,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ConsumerServicesNotReceived = apply { if (validated) { return@apply @@ -24073,6 +25029,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationOutcome = apply { if (validated) { return@apply @@ -24218,6 +25184,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -24429,6 +25405,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellationPriorToExpectedReceipt = apply { if (validated) { return@apply @@ -24612,6 +25598,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantCancellation = apply { if (validated) { return@apply @@ -24728,6 +25724,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NoCancellation = apply { if (validated) { return@apply @@ -24933,6 +25939,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Fraud = apply { if (validated) { return@apply @@ -25143,6 +26159,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FraudType = apply { if (validated) { return@apply @@ -25515,6 +26541,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ProcessingError = apply { if (validated) { return@apply @@ -25660,6 +26696,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ErrorReason = apply { if (validated) { return@apply @@ -25805,6 +26851,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -25978,6 +27034,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DuplicateTransaction = apply { if (validated) { return@apply @@ -26154,6 +27220,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): IncorrectAmount = apply { if (validated) { return@apply @@ -26378,6 +27454,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PaidByOtherMeans = apply { if (validated) { return@apply @@ -26551,6 +27637,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): OtherFormOfPaymentEvidence = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListPageResponse.kt index 52cbd4669..fd98a0894 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardDisputeListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListParams.kt index cc5110c91..94a21b2a2 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeListParams.kt @@ -724,6 +724,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeSubmitUserSubmissionParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeSubmitUserSubmissionParams.kt index 78ff0fad8..5f212696f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeSubmitUserSubmissionParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeSubmitUserSubmissionParams.kt @@ -701,6 +701,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -850,6 +859,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -1005,6 +1023,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AttachmentFile = apply { if (validated) { return@apply @@ -1315,6 +1342,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -1460,6 +1496,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2621,6 +2667,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Chargeback = apply { if (validated) { return@apply @@ -2973,6 +3029,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3140,6 +3206,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Authorization = apply { if (validated) { return@apply @@ -3281,6 +3357,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AccountStatus = apply { if (validated) { return@apply @@ -3792,6 +3878,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCanceledMerchandise = apply { if (validated) { return@apply @@ -3941,6 +4037,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -4094,6 +4200,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -4413,6 +4529,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -4559,6 +4685,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CanceledPriorToShipDate = apply { if (validated) { return@apply @@ -4706,6 +4842,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CancellationPolicyProvided = apply { if (validated) { return@apply @@ -4846,6 +4992,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -5159,6 +5315,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -5330,6 +5496,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -5703,6 +5879,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -5881,6 +6067,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -6272,6 +6468,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCanceledRecurringTransaction = apply { if (validated) { return@apply @@ -6412,6 +6618,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationTarget = apply { if (validated) { return@apply @@ -6784,6 +7000,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantContactMethods = apply { if (validated) { return@apply @@ -7340,6 +7566,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCanceledServices = apply { if (validated) { return@apply @@ -7606,6 +7842,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -7745,6 +7991,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CancellationPolicyProvided = apply { if (validated) { return@apply @@ -7919,6 +8175,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -8072,6 +8338,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ServiceType = apply { if (validated) { return@apply @@ -8246,6 +8522,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): GuaranteedReservation = apply { if (validated) { return@apply @@ -8401,6 +8687,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Explanation = apply { if (validated) { return@apply @@ -8533,6 +8829,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -8644,6 +8950,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Timeshare = apply { if (validated) { return@apply @@ -8996,6 +9312,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCounterfeitMerchandise = apply { if (validated) { return@apply @@ -9222,6 +9548,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerCreditNotProcessed = apply { if (validated) { return@apply @@ -9681,6 +10017,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerDamagedOrDefectiveMerchandise = apply { if (validated) { return@apply @@ -9828,6 +10174,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -9981,6 +10337,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -10092,6 +10458,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -10405,6 +10781,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -10576,6 +10962,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -10949,6 +11345,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -11127,6 +11533,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -11689,6 +12105,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerMerchandiseMisrepresentation = apply { if (validated) { return@apply @@ -11838,6 +12264,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -11991,6 +12427,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -12102,6 +12548,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -12415,6 +12871,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -12586,6 +13052,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -12959,6 +13435,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -13137,6 +13623,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -13564,6 +14060,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerMerchandiseNotAsDescribed = apply { if (validated) { return@apply @@ -13707,6 +14213,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -13851,6 +14367,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -14162,6 +14688,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -14333,6 +14869,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -14706,6 +15252,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -14884,6 +15440,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -15570,6 +16136,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerMerchandiseNotReceived = apply { if (validated) { return@apply @@ -15738,6 +16314,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationOutcome = apply { if (validated) { return@apply @@ -15883,6 +16469,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DeliveryIssue = apply { if (validated) { return@apply @@ -16030,6 +16626,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -16245,6 +16851,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellationPriorToExpectedReceipt = apply { if (validated) { return@apply @@ -16602,6 +17218,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Delayed = apply { if (validated) { return@apply @@ -16753,6 +17379,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -16868,6 +17504,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -17045,6 +17691,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -17271,6 +17927,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -17488,6 +18154,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DeliveredToWrongLocation = apply { if (validated) { return@apply @@ -17669,6 +18345,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantCancellation = apply { if (validated) { return@apply @@ -17793,6 +18479,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NoCancellation = apply { if (validated) { return@apply @@ -17951,6 +18647,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerNonReceiptOfCash = apply { if (validated) { return@apply @@ -18168,6 +18874,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerOriginalCreditTransactionNotAccepted = apply { if (validated) { return@apply @@ -18303,6 +19019,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -18862,6 +19588,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerQualityMerchandise = apply { if (validated) { return@apply @@ -19013,6 +19749,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -19166,6 +19912,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnOutcome = apply { if (validated) { return@apply @@ -19277,6 +20033,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NotReturned = apply { if (validated) { return@apply @@ -19543,6 +20309,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): OngoingNegotiations = apply { if (validated) { return@apply @@ -19873,6 +20649,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnAttempted = apply { if (validated) { return@apply @@ -20044,6 +20830,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AttemptReason = apply { if (validated) { return@apply @@ -20417,6 +21213,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Returned = apply { if (validated) { return@apply @@ -20595,6 +21401,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ReturnMethod = apply { if (validated) { return@apply @@ -21177,6 +21993,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerQualityServices = apply { if (validated) { return@apply @@ -21435,6 +22261,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -21574,6 +22410,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -21753,6 +22599,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NonFiatCurrencyOrNonFungibleTokenRelatedAndNotMatchingDescription = apply { if (validated) { @@ -21904,6 +22760,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderPaidToHaveWorkRedone = apply { if (validated) { return@apply @@ -22168,6 +23034,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): OngoingNegotiations = apply { if (validated) { return@apply @@ -22338,6 +23214,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): RestaurantFoodRelated = apply { if (validated) { return@apply @@ -22749,6 +23635,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerServicesMisrepresentation = apply { if (validated) { return@apply @@ -23000,6 +23896,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -23139,6 +24045,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -23308,6 +24224,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -23661,6 +24587,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerServicesNotAsDescribed = apply { if (validated) { return@apply @@ -23910,6 +24846,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellation = apply { if (validated) { return@apply @@ -24049,6 +24995,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): AcceptedByMerchant = apply { if (validated) { return@apply @@ -24218,6 +25174,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -24738,6 +25704,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ConsumerServicesNotReceived = apply { if (validated) { return@apply @@ -24900,6 +25876,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CancellationOutcome = apply { if (validated) { return@apply @@ -25047,6 +26033,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -25262,6 +26258,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderCancellationPriorToExpectedReceipt = apply { if (validated) { return@apply @@ -25446,6 +26452,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantCancellation = apply { if (validated) { return@apply @@ -25570,6 +26586,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NoCancellation = apply { if (validated) { return@apply @@ -25775,6 +26801,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Fraud = apply { if (validated) { return@apply @@ -25993,6 +27029,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FraudType = apply { if (validated) { return@apply @@ -26374,6 +27420,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingError = apply { if (validated) { return@apply @@ -26523,6 +27579,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ErrorReason = apply { if (validated) { return@apply @@ -26670,6 +27736,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantResolutionAttempted = apply { if (validated) { return@apply @@ -26845,6 +27921,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DuplicateTransaction = apply { if (validated) { return@apply @@ -27026,6 +28112,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): IncorrectAmount = apply { if (validated) { return@apply @@ -27259,6 +28355,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PaidByOtherMeans = apply { if (validated) { return@apply @@ -27432,6 +28538,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): OtherFormOfPaymentEvidence = apply { if (validated) { return@apply @@ -27719,6 +28835,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantPrearbitrationDecline = apply { if (validated) { return@apply @@ -27934,6 +29060,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): UserPrearbitration = apply { if (validated) { return@apply @@ -28127,6 +29263,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CategoryChange = apply { if (validated) { return@apply @@ -28452,6 +29598,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeWithdrawParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeWithdrawParams.kt index 4916c40da..8b8e12a08 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeWithdrawParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/carddisputes/CardDisputeWithdrawParams.kt @@ -357,6 +357,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt index 5553e3244..0fa498335 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt @@ -476,6 +476,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardPayment = apply { if (validated) { return@apply @@ -1372,6 +1380,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Element = apply { if (validated) { return@apply @@ -1652,6 +1669,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3775,6 +3802,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardAuthentication = apply { if (validated) { return@apply @@ -4263,6 +4300,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Challenge = apply { if (validated) { return@apply @@ -4473,6 +4520,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Attempt = apply { if (validated) { return@apply @@ -4607,6 +4664,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Outcome = apply { if (validated) { return@apply @@ -4783,6 +4850,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): VerificationMethod = apply { if (validated) { return@apply @@ -4992,6 +5069,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DenyReason = apply { if (validated) { return@apply @@ -5248,6 +5335,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DeviceChannel = apply { if (validated) { return@apply @@ -5609,6 +5706,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Browser = apply { if (validated) { return@apply @@ -5752,6 +5859,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): JavascriptEnabled = apply { if (validated) { return@apply @@ -5935,6 +6052,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -6105,6 +6232,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantInitiated = apply { if (validated) { return@apply @@ -6401,6 +6538,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Indicator = apply { if (validated) { return@apply @@ -6696,6 +6843,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MessageCategory = apply { if (validated) { return@apply @@ -6830,6 +6987,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -6941,6 +7108,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NonPayment = apply { if (validated) { return@apply @@ -7301,6 +7478,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Payment = apply { if (validated) { return@apply @@ -7469,6 +7656,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TransactionType = apply { if (validated) { return@apply @@ -7716,6 +7913,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): RequestorAuthenticationIndicator = apply { if (validated) { return@apply @@ -7966,6 +8173,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): RequestorChallengeIndicator = apply { if (validated) { return@apply @@ -8168,6 +8385,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -8296,6 +8523,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -9917,6 +10154,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardAuthorization = apply { if (validated) { return@apply @@ -10112,6 +10359,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -10700,6 +10957,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -10922,6 +11189,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -11149,6 +11426,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -11376,6 +11663,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -11603,6 +11900,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -11830,6 +12137,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -12061,6 +12378,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -12290,6 +12617,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -12517,6 +12854,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -12744,6 +13091,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -12971,6 +13328,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -13156,6 +13523,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -13306,6 +13683,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -13548,6 +13935,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -13682,6 +14079,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -13791,6 +14198,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -14179,6 +14596,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -14497,6 +14924,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -14733,6 +15170,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -14999,6 +15446,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -15243,6 +15700,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -15659,6 +16126,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -15958,6 +16435,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -16363,6 +16850,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -16497,6 +16994,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -17239,6 +17746,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -17401,6 +17918,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -17671,6 +18198,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -17834,6 +18371,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -17979,6 +18526,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -18379,6 +18936,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -18593,6 +19160,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -18911,6 +19488,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -19421,6 +20008,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardAuthorizationExpiration = apply { if (validated) { return@apply @@ -19552,6 +20149,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -19690,6 +20297,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -19819,6 +20436,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -21040,6 +21667,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardBalanceInquiry = apply { if (validated) { return@apply @@ -21659,6 +22296,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -21881,6 +22528,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -22108,6 +22765,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -22335,6 +23002,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -22562,6 +23239,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -22789,6 +23476,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -23020,6 +23717,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -23249,6 +23956,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -23476,6 +24193,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -23703,6 +24430,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -23930,6 +24667,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -24115,6 +24862,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -24357,6 +25114,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -24491,6 +25258,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -24600,6 +25377,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -24988,6 +25775,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -25306,6 +26103,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -25542,6 +26349,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -25808,6 +26625,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -26052,6 +26879,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -26468,6 +27305,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -26898,6 +27745,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -27032,6 +27889,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -27774,6 +28641,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -27936,6 +28813,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -28206,6 +29093,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -28369,6 +29266,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -28514,6 +29421,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -28914,6 +29831,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -29128,6 +30055,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -29446,6 +30383,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -31138,6 +32085,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardDecline = apply { if (validated) { return@apply @@ -31335,6 +32292,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -31923,6 +32890,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -32145,6 +33122,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -32372,6 +33359,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -32599,6 +33596,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -32826,6 +33833,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -33053,6 +34070,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -33284,6 +34311,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -33513,6 +34550,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -33740,6 +34787,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -33967,6 +35024,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -34194,6 +35261,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -34379,6 +35456,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -34529,6 +35616,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -34771,6 +35868,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -34905,6 +36012,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -35014,6 +36131,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -35402,6 +36529,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -35720,6 +36857,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -35956,6 +37103,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -36222,6 +37379,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -36466,6 +37633,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -36882,6 +38059,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -37181,6 +38368,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -37415,6 +38612,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): RealTimeDecisionReason = apply { if (validated) { return@apply @@ -37771,6 +38978,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -38176,6 +39393,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -38310,6 +39537,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -39052,6 +40289,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -39356,6 +40603,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -39519,6 +40776,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -39664,6 +40931,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -40064,6 +41341,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -40278,6 +41565,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -40596,6 +41893,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -42189,6 +43496,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardFinancial = apply { if (validated) { return@apply @@ -42382,6 +43699,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -42970,6 +44297,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -43192,6 +44529,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -43419,6 +44766,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -43646,6 +45003,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -43873,6 +45240,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -44100,6 +45477,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -44331,6 +45718,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -44560,6 +45957,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -44787,6 +46194,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -45014,6 +46431,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -45241,6 +46668,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -45426,6 +46863,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -45576,6 +47023,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -45818,6 +47275,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -45952,6 +47419,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -46061,6 +47538,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -46449,6 +47936,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -46767,6 +48264,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -47003,6 +48510,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -47269,6 +48786,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -47513,6 +49040,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -47929,6 +49466,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -48228,6 +49775,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -48633,6 +50190,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -48767,6 +50334,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -49509,6 +51086,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -49671,6 +51258,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -49941,6 +51538,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -50104,6 +51711,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -50249,6 +51866,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -50649,6 +52276,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -50863,6 +52500,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -51181,6 +52828,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -51844,6 +53501,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardFuelConfirmation = apply { if (validated) { return@apply @@ -51981,6 +53648,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -52119,6 +53796,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -52483,6 +54170,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -52913,6 +54610,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -53047,6 +54754,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -53789,6 +55506,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -53951,6 +55678,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -54878,6 +56615,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardIncrement = apply { if (validated) { return@apply @@ -55047,6 +56794,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -55635,6 +57392,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -55857,6 +57624,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -56084,6 +57861,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -56311,6 +58098,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -56538,6 +58335,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -56765,6 +58572,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -56996,6 +58813,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -57225,6 +59052,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -57452,6 +59289,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -57679,6 +59526,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -57906,6 +59763,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -58091,6 +59958,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -58229,6 +60106,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -58593,6 +60480,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -59023,6 +60920,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -59157,6 +61064,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -59899,6 +61816,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -60061,6 +61988,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -61158,6 +63095,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardRefund = apply { if (validated) { return@apply @@ -61398,6 +63345,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Cashback = apply { if (validated) { return@apply @@ -61521,6 +63478,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -61675,6 +63642,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -61929,6 +63906,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Interchange = apply { if (validated) { return@apply @@ -62057,6 +64044,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -62430,6 +64427,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -63107,6 +65114,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseDetails = apply { if (validated) { return@apply @@ -64153,6 +66170,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CarRental = apply { if (validated) { return@apply @@ -64353,6 +66380,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -64506,6 +66543,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -65604,6 +67651,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Lodging = apply { if (validated) { return@apply @@ -65813,6 +67870,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -65962,6 +68029,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -66189,6 +68266,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseIdentifierFormat = apply { if (validated) { return@apply @@ -66972,6 +69059,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Travel = apply { if (validated) { return@apply @@ -67413,6 +69510,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Ancillary = apply { if (validated) { return@apply @@ -67597,6 +69704,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -67827,6 +69944,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Service = apply { if (validated) { return@apply @@ -68167,6 +70294,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the + * API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this + * object doesn't match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -68430,6 +70567,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -68581,6 +70728,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): RestrictedTicketIndicator = apply { if (validated) { return@apply @@ -68738,6 +70895,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TicketChangeIndicator = apply { if (validated) { return@apply @@ -69181,6 +71348,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TripLeg = apply { if (validated) { return@apply @@ -69335,6 +71512,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StopOverCode = apply { if (validated) { return@apply @@ -69860,6 +72047,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -69994,6 +72191,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -70736,6 +72943,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -70898,6 +73115,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -72143,6 +74370,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardReversal = apply { if (validated) { return@apply @@ -72306,6 +74543,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -72444,6 +74691,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -72808,6 +75065,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -72993,6 +75260,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReversalReason = apply { if (validated) { return@apply @@ -73398,6 +75675,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -73532,6 +75819,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -74274,6 +76571,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -74436,6 +76743,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -75740,6 +78057,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardSettlement = apply { if (validated) { return@apply @@ -75988,6 +78315,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Cashback = apply { if (validated) { return@apply @@ -76111,6 +78448,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -76265,6 +78612,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -76519,6 +78876,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Interchange = apply { if (validated) { return@apply @@ -76647,6 +79014,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -76808,6 +79185,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -77158,6 +79545,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -77835,6 +80232,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseDetails = apply { if (validated) { return@apply @@ -78881,6 +81288,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CarRental = apply { if (validated) { return@apply @@ -79081,6 +81498,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -79234,6 +81661,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -80332,6 +82769,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Lodging = apply { if (validated) { return@apply @@ -80541,6 +82988,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -80690,6 +83147,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -80917,6 +83384,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseIdentifierFormat = apply { if (validated) { return@apply @@ -81700,6 +84177,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Travel = apply { if (validated) { return@apply @@ -82141,6 +84628,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Ancillary = apply { if (validated) { return@apply @@ -82325,6 +84822,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -82555,6 +85062,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Service = apply { if (validated) { return@apply @@ -82895,6 +85412,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the + * API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this + * object doesn't match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -83158,6 +85685,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -83309,6 +85846,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): RestrictedTicketIndicator = apply { if (validated) { return@apply @@ -83466,6 +86013,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TicketChangeIndicator = apply { if (validated) { return@apply @@ -83909,6 +86466,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TripLeg = apply { if (validated) { return@apply @@ -84063,6 +86630,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StopOverCode = apply { if (validated) { return@apply @@ -84588,6 +87165,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -84722,6 +87309,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -85464,6 +88061,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -85713,6 +88320,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -85853,6 +88470,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -87113,6 +89740,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardValidation = apply { if (validated) { return@apply @@ -87294,6 +89931,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -87882,6 +90529,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -88104,6 +90761,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -88331,6 +90998,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -88558,6 +91235,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -88785,6 +91472,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -89012,6 +91709,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -89243,6 +91950,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -89472,6 +92189,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -89699,6 +92426,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -89926,6 +92663,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -90153,6 +92900,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -90338,6 +93095,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -90580,6 +93347,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -90714,6 +93491,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -90823,6 +93610,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -91211,6 +94008,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -91529,6 +94336,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -91765,6 +94582,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -92031,6 +94858,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -92275,6 +95112,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -92691,6 +95538,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -93121,6 +95978,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -93255,6 +96122,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -93997,6 +96874,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -94159,6 +97046,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -94429,6 +97326,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -94592,6 +97499,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -94737,6 +97654,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -95137,6 +98064,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -95351,6 +98288,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -95669,6 +98616,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -95889,6 +98846,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -96391,6 +99358,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): State = apply { if (validated) { return@apply @@ -96552,6 +99528,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponse.kt index 02be8c6c5..95562026d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardPaymentListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplement.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplement.kt index 26d514dcd..71b2454e5 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplement.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplement.kt @@ -353,6 +353,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardPurchaseSupplement = apply { if (validated) { return@apply @@ -1297,6 +1305,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Invoice = apply { if (validated) { return@apply @@ -1476,6 +1493,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DiscountTreatmentCode = apply { if (validated) { return@apply @@ -1641,6 +1668,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): TaxTreatments = apply { if (validated) { return@apply @@ -2636,6 +2673,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): LineItem = apply { if (validated) { return@apply @@ -2805,6 +2851,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DetailIndicator = apply { if (validated) { return@apply @@ -2968,6 +3024,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DiscountTreatmentCode = apply { if (validated) { return@apply @@ -3148,6 +3214,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplementListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplementListPageResponse.kt index 1bc7db547..7c81c7961 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplementListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpurchasesupplements/CardPurchaseSupplementListPageResponse.kt @@ -201,6 +201,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardPurchaseSupplementListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt index 6f764f509..59c86b323 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt @@ -1343,6 +1343,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardPushTransfer = apply { if (validated) { return@apply @@ -1760,6 +1768,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Acceptance = apply { if (validated) { return@apply @@ -1901,6 +1918,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardVerificationValue2Result = apply { if (validated) { return@apply @@ -2144,6 +2171,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -2412,6 +2448,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BusinessApplicationIdentifier = apply { if (validated) { return@apply @@ -2624,6 +2669,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cancellation = apply { if (validated) { return@apply @@ -2910,6 +2964,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -3060,6 +3123,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3230,6 +3303,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -3395,6 +3478,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -3556,6 +3649,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -3837,6 +3940,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -4676,6 +4788,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -4897,6 +5019,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PresentmentAmount = apply { if (validated) { return@apply @@ -6447,6 +6578,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -6609,6 +6750,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Route = apply { if (validated) { return@apply @@ -6797,6 +6947,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -7101,6 +7260,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -7250,6 +7418,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferCreateParams.kt index 4ba6dacf4..99e0c146d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferCreateParams.kt @@ -2120,6 +2120,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -2476,6 +2485,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BusinessApplicationIdentifier = apply { if (validated) { return@apply @@ -2680,6 +2698,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PresentmentAmount = apply { if (validated) { return@apply @@ -4230,6 +4257,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponse.kt index ea50c9843..b843c0ff1 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardPushTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListParams.kt index 5597a2fdb..6f6310fa1 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListParams.kt @@ -742,6 +742,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/Card.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/Card.kt index 5498a3f5c..223fb61b6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/Card.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/Card.kt @@ -681,6 +681,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Card = apply { if (validated) { return@apply @@ -1022,6 +1030,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AuthorizationControls = apply { if (validated) { return@apply @@ -1256,6 +1273,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantAcceptorIdentifier = apply { if (validated) { return@apply @@ -1412,6 +1439,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -1583,6 +1620,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -1847,6 +1894,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantCategoryCode = apply { if (validated) { return@apply @@ -1994,6 +2051,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -2156,6 +2223,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -2420,6 +2497,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantCountry = apply { if (validated) { return@apply @@ -2572,6 +2659,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -2739,6 +2836,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -3021,6 +3128,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Usage = apply { if (validated) { return@apply @@ -3152,6 +3269,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3344,6 +3471,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MultiUse = apply { if (validated) { return@apply @@ -3624,6 +3761,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SpendingLimit = apply { if (validated) { return@apply @@ -3813,6 +3960,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Interval = apply { if (validated) { return@apply @@ -3979,6 +4136,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantCategoryCode = apply { if (validated) { return@apply @@ -4204,6 +4371,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SingleUse = apply { if (validated) { return@apply @@ -4401,6 +4578,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SettlementAmount = apply { if (validated) { return@apply @@ -4544,6 +4731,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Comparison = apply { if (validated) { return@apply @@ -4947,6 +5144,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BillingAddress = apply { if (validated) { return@apply @@ -5227,6 +5433,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWallet = apply { if (validated) { return@apply @@ -5385,6 +5600,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -5507,6 +5731,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateDetailsIframeParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateDetailsIframeParams.kt index 779a914fd..6ce3984c7 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateDetailsIframeParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateDetailsIframeParams.kt @@ -372,6 +372,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateParams.kt index 62d34ca4f..d77fbc6ea 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardCreateParams.kt @@ -741,6 +741,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1060,6 +1069,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AuthorizationControls = apply { if (validated) { return@apply @@ -1282,6 +1300,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantAcceptorIdentifier = apply { if (validated) { return@apply @@ -1438,6 +1466,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -1609,6 +1647,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -1861,6 +1909,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantCategoryCode = apply { if (validated) { return@apply @@ -2008,6 +2066,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -2170,6 +2238,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -2420,6 +2498,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantCountry = apply { if (validated) { return@apply @@ -2572,6 +2660,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -2739,6 +2837,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -3011,6 +3119,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Usage = apply { if (validated) { return@apply @@ -3142,6 +3260,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3311,6 +3439,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MultiUse = apply { if (validated) { return@apply @@ -3581,6 +3719,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SpendingLimit = apply { if (validated) { return@apply @@ -3770,6 +3918,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Interval = apply { if (validated) { return@apply @@ -3936,6 +4094,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantCategoryCode = apply { if (validated) { return@apply @@ -4161,6 +4329,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SingleUse = apply { if (validated) { return@apply @@ -4358,6 +4536,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SettlementAmount = apply { if (validated) { return@apply @@ -4501,6 +4689,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Comparison = apply { if (validated) { return@apply @@ -4887,6 +5085,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BillingAddress = apply { if (validated) { return@apply @@ -5135,6 +5342,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWallet = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardDetails.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardDetails.kt index c5fe1512f..760b3be62 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardDetails.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardDetails.kt @@ -385,6 +385,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardDetails = apply { if (validated) { return@apply @@ -510,6 +518,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardIframeUrl.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardIframeUrl.kt index ee93dfb6f..1d36899cf 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardIframeUrl.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardIframeUrl.kt @@ -210,6 +210,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardIframeUrl = apply { if (validated) { return@apply @@ -327,6 +335,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListPageResponse.kt index 5405a372e..549413abe 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListPageResponse.kt @@ -192,6 +192,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListParams.kt index 12efbd40a..9f5ea3a6e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardListParams.kt @@ -689,6 +689,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdateParams.kt index 83700d5e6..b75152fca 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdateParams.kt @@ -726,6 +726,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1045,6 +1054,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AuthorizationControls = apply { if (validated) { return@apply @@ -1267,6 +1285,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantAcceptorIdentifier = apply { if (validated) { return@apply @@ -1423,6 +1451,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -1594,6 +1632,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -1846,6 +1894,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantCategoryCode = apply { if (validated) { return@apply @@ -1993,6 +2051,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -2155,6 +2223,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -2405,6 +2483,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MerchantCountry = apply { if (validated) { return@apply @@ -2557,6 +2645,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Allowed = apply { if (validated) { return@apply @@ -2724,6 +2822,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Blocked = apply { if (validated) { return@apply @@ -2996,6 +3104,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Usage = apply { if (validated) { return@apply @@ -3127,6 +3245,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3296,6 +3424,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MultiUse = apply { if (validated) { return@apply @@ -3566,6 +3704,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SpendingLimit = apply { if (validated) { return@apply @@ -3755,6 +3903,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Interval = apply { if (validated) { return@apply @@ -3921,6 +4079,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): MerchantCategoryCode = apply { if (validated) { return@apply @@ -4146,6 +4314,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SingleUse = apply { if (validated) { return@apply @@ -4343,6 +4521,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SettlementAmount = apply { if (validated) { return@apply @@ -4486,6 +4674,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Comparison = apply { if (validated) { return@apply @@ -4872,6 +5070,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BillingAddress = apply { if (validated) { return@apply @@ -5117,6 +5324,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWallet = apply { if (validated) { return@apply @@ -5275,6 +5491,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdatePinParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdatePinParams.kt index 15ae91c49..e963b77b5 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdatePinParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cards/CardUpdatePinParams.kt @@ -374,6 +374,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardToken.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardToken.kt index 5717fa86e..20f49a6f8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardToken.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardToken.kt @@ -355,6 +355,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardToken = apply { if (validated) { return@apply @@ -479,6 +487,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenCapabilities.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenCapabilities.kt index b262bdd98..7ca91ae3f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenCapabilities.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenCapabilities.kt @@ -191,6 +191,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardTokenCapabilities = apply { if (validated) { return@apply @@ -470,6 +478,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Route = apply { if (validated) { return@apply @@ -609,6 +626,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CrossBorderPushTransfers = apply { if (validated) { return@apply @@ -751,6 +778,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DomesticPushTransfers = apply { if (validated) { return@apply @@ -898,6 +935,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InnerRoute = apply { if (validated) { return@apply @@ -1052,6 +1099,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenListPageResponse.kt index ed6bd2379..75a126048 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardtokens/CardTokenListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardTokenListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt index 773b4c75f..94177c712 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt @@ -1059,6 +1059,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardValidation = apply { if (validated) { return@apply @@ -1742,6 +1750,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Acceptance = apply { if (validated) { return@apply @@ -1893,6 +1910,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardVerificationValue2Result = apply { if (validated) { return@apply @@ -2046,6 +2073,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardholderFirstNameResult = apply { if (validated) { return@apply @@ -2199,6 +2236,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardholderFullNameResult = apply { if (validated) { return@apply @@ -2352,6 +2399,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardholderLastNameResult = apply { if (validated) { return@apply @@ -2505,6 +2562,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardholderMiddleNameResult = apply { if (validated) { return@apply @@ -2649,6 +2716,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardholderPostalCodeResult = apply { if (validated) { return@apply @@ -2794,6 +2871,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardholderStreetAddressResult = apply { if (validated) { return@apply @@ -3109,6 +3196,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -3259,6 +3355,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3429,6 +3535,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -3594,6 +3710,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -3755,6 +3881,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -4036,6 +4172,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -4875,6 +5020,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -5040,6 +5195,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Route = apply { if (validated) { return@apply @@ -5207,6 +5371,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -5462,6 +5635,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -5602,6 +5784,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationCreateParams.kt index 81cc7f12e..0e61e8395 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationCreateParams.kt @@ -1209,6 +1209,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListPageResponse.kt index 15bc1b3a0..317493f1d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListPageResponse.kt @@ -197,6 +197,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardValidationListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListParams.kt index cb3f5caa9..0a7972300 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidationListParams.kt @@ -716,6 +716,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt index a7b364c39..768acd70d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDeposit.kt @@ -970,6 +970,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CheckDeposit = apply { if (validated) { return@apply @@ -1437,6 +1445,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DepositAcceptance = apply { if (validated) { return@apply @@ -1569,6 +1586,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -1873,6 +1900,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DepositAdjustment = apply { if (validated) { return@apply @@ -2031,6 +2067,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -2424,6 +2470,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DepositRejection = apply { if (validated) { return@apply @@ -2551,6 +2606,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -2778,6 +2843,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -3185,6 +3260,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DepositReturn = apply { if (validated) { return@apply @@ -3315,6 +3399,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -3693,6 +3787,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ReturnReason = apply { if (validated) { return@apply @@ -3981,6 +4085,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DepositSubmission = apply { if (validated) { return@apply @@ -4515,6 +4628,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundFundsHold = apply { if (validated) { return@apply @@ -4648,6 +4770,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -4784,6 +4916,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -4909,6 +5051,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -5100,6 +5252,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -5225,6 +5386,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositCreateParams.kt index cd748d167..22f8abd53 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositCreateParams.kt @@ -644,6 +644,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponse.kt index 728c608ab..e1f118f22 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checkdeposits/CheckDepositListPageResponse.kt @@ -195,6 +195,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CheckDepositListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt index 5d6cacbb1..99bf5e6f7 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt @@ -1202,6 +1202,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CheckTransfer = apply { if (validated) { return@apply @@ -1450,6 +1458,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -1623,6 +1640,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BalanceCheck = apply { if (validated) { return@apply @@ -1835,6 +1861,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cancellation = apply { if (validated) { return@apply @@ -2121,6 +2156,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -2271,6 +2315,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2441,6 +2495,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -2606,6 +2670,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -2767,6 +2841,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -2920,6 +3004,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -3067,6 +3160,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FulfillmentMethod = apply { if (validated) { return@apply @@ -3227,6 +3329,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Mailing = apply { if (validated) { return@apply @@ -3863,6 +3974,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PhysicalCheck = apply { if (validated) { return@apply @@ -4266,6 +4386,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MailingAddress = apply { if (validated) { return@apply @@ -4460,6 +4590,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Payer = apply { if (validated) { return@apply @@ -4860,6 +5000,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ReturnAddress = apply { if (validated) { return@apply @@ -5035,6 +5185,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ShippingMethod = apply { if (validated) { return@apply @@ -5242,6 +5402,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Signature = apply { if (validated) { return@apply @@ -5544,6 +5714,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): TrackingUpdate = apply { if (validated) { return@apply @@ -5716,6 +5896,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -5988,6 +6178,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -6259,6 +6458,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): StopPaymentRequest = apply { if (validated) { return@apply @@ -6426,6 +6634,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -6552,6 +6770,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -6876,6 +7104,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -7217,6 +7454,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SubmittedAddress = apply { if (validated) { return@apply @@ -7440,6 +7687,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ThirdParty = apply { if (validated) { return@apply @@ -7571,6 +7827,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt index 6f4ee131c..5b77e1a8d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt @@ -1073,6 +1073,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1268,6 +1277,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FulfillmentMethod = apply { if (validated) { return@apply @@ -1432,6 +1450,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BalanceCheck = apply { if (validated) { return@apply @@ -1994,6 +2021,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PhysicalCheck = apply { if (validated) { return@apply @@ -2378,6 +2414,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MailingAddress = apply { if (validated) { return@apply @@ -2572,6 +2618,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Payer = apply { if (validated) { return@apply @@ -2957,6 +3013,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ReturnAddress = apply { if (validated) { return@apply @@ -3135,6 +3201,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ShippingMethod = apply { if (validated) { return@apply @@ -3321,6 +3397,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Signature = apply { if (validated) { return@apply @@ -3528,6 +3614,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ThirdParty = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponse.kt index 9a24054a2..180fab344 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponse.kt @@ -196,6 +196,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CheckTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListParams.kt index 0a667588a..867cf7972 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferListParams.kt @@ -752,6 +752,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt index 042f40417..d46f1d7f8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt @@ -354,6 +354,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -510,6 +519,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt index 87b21944d..1a0a6cd9d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt @@ -500,6 +500,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DeclinedTransaction = apply { if (validated) { return@apply @@ -634,6 +642,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -779,6 +796,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RouteType = apply { if (validated) { return@apply @@ -1370,6 +1396,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Source = apply { if (validated) { return@apply @@ -1601,6 +1636,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2286,6 +2331,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AchDecline = apply { if (validated) { return@apply @@ -2599,6 +2654,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -2727,6 +2792,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -4353,6 +4428,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardDecline = apply { if (validated) { return@apply @@ -4550,6 +4635,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -5138,6 +5233,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -5360,6 +5465,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -5587,6 +5702,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -5814,6 +5939,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -6041,6 +6176,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -6268,6 +6413,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -6499,6 +6654,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -6728,6 +6893,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -6955,6 +7130,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -7182,6 +7367,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -7409,6 +7604,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -7594,6 +7799,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -7744,6 +7959,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -7986,6 +8211,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -8120,6 +8355,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -8229,6 +8474,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -8617,6 +8872,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -8935,6 +9200,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -9171,6 +9446,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -9437,6 +9722,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -9681,6 +9976,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -10097,6 +10402,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -10396,6 +10711,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -10630,6 +10955,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): RealTimeDecisionReason = apply { if (validated) { return@apply @@ -10986,6 +11321,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -11391,6 +11736,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -11525,6 +11880,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -12267,6 +12632,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -12571,6 +12946,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -12734,6 +13119,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -12879,6 +13274,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -13279,6 +13684,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -13493,6 +13908,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -13811,6 +14236,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -14405,6 +14840,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CheckDecline = apply { if (validated) { return@apply @@ -14697,6 +15142,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -15120,6 +15575,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CheckDepositRejection = apply { if (validated) { return@apply @@ -15250,6 +15715,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -15480,6 +15955,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -15722,6 +16207,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundFednowTransferDecline = apply { if (validated) { return@apply @@ -15887,6 +16382,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -16496,6 +17001,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundRealTimePaymentsTransferDecline = apply { if (validated) { return@apply @@ -16635,6 +17150,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -16810,6 +17335,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -16959,6 +17494,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -17166,6 +17711,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): WireDecline = apply { if (validated) { return@apply @@ -17331,6 +17886,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -17517,6 +18082,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponse.kt index bbf86709e..df485c4be 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponse.kt @@ -199,6 +199,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DeclinedTransactionListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListParams.kt index 3a07c1c10..527c66121 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListParams.kt @@ -583,6 +583,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfile.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfile.kt index 9d5c0a69d..ffa749a44 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfile.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfile.kt @@ -681,6 +681,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalCardProfile = apply { if (validated) { return@apply @@ -853,6 +861,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1076,6 +1093,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TextColor = apply { if (validated) { return@apply @@ -1214,6 +1240,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCloneParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCloneParams.kt index c8472de59..7496062f9 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCloneParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCloneParams.kt @@ -927,6 +927,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1194,6 +1203,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TextColor = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCreateParams.kt index 5e676b780..654567fa4 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileCreateParams.kt @@ -942,6 +942,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1209,6 +1218,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TextColor = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListPageResponse.kt index 70f882f01..e0545267c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalCardProfileListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListParams.kt index 9190e25fc..7a82cc8e6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalcardprofiles/DigitalCardProfileListParams.kt @@ -481,6 +481,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletToken.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletToken.kt index 9921ae5b9..fce67d731 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletToken.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletToken.kt @@ -509,6 +509,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWalletToken = apply { if (validated) { return@apply @@ -670,6 +678,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cardholder = apply { if (validated) { return@apply @@ -956,6 +973,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Device = apply { if (validated) { return@apply @@ -1152,6 +1178,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DeviceType = apply { if (validated) { return@apply @@ -1366,6 +1402,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DynamicPrimaryAccountNumber = apply { if (validated) { return@apply @@ -1536,6 +1581,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1692,6 +1746,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TokenRequestor = apply { if (validated) { return@apply @@ -1817,6 +1880,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -2015,6 +2087,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Update = apply { if (validated) { return@apply @@ -2169,6 +2250,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletTokenListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletTokenListPageResponse.kt index 33226a9dc..a5824aaf4 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletTokenListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/digitalwallettokens/DigitalWalletTokenListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWalletTokenListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt index 939daeb2e..fc187f6b8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt @@ -995,6 +995,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Entity = apply { if (validated) { return@apply @@ -1503,6 +1511,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Corporation = apply { if (validated) { return@apply @@ -1854,6 +1871,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -2175,6 +2202,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BeneficialOwner = apply { if (validated) { return@apply @@ -2462,6 +2499,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -2826,6 +2873,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -3064,6 +3121,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -3228,6 +3295,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -3410,6 +3487,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prong = apply { if (validated) { return@apply @@ -3632,6 +3719,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): LegalIdentifier = apply { if (validated) { return@apply @@ -3783,6 +3880,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -4207,6 +4314,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): GovernmentAuthority = apply { if (validated) { return@apply @@ -4554,6 +4670,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -4780,6 +4906,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AuthorizedPerson = apply { if (validated) { return@apply @@ -4947,6 +5083,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -5187,6 +5333,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Joint = apply { if (validated) { return@apply @@ -5464,6 +5619,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -5820,6 +5985,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -6052,6 +6227,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -6214,6 +6399,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -6557,6 +6752,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NaturalPerson = apply { if (validated) { return@apply @@ -6900,6 +7104,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -7131,6 +7345,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -7291,6 +7515,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -7535,6 +7769,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RiskRating = apply { if (validated) { return@apply @@ -7671,6 +7914,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Rating = apply { if (validated) { return@apply @@ -7833,6 +8086,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -7996,6 +8258,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Structure = apply { if (validated) { return@apply @@ -8226,6 +8497,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TermsAgreement = apply { if (validated) { return@apply @@ -8435,6 +8715,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ThirdPartyVerification = apply { if (validated) { return@apply @@ -8589,6 +8878,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Vendor = apply { if (validated) { return@apply @@ -9078,6 +9377,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Trust = apply { if (validated) { return@apply @@ -9429,6 +9737,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -9590,6 +9908,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -9877,6 +10205,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Grantor = apply { if (validated) { return@apply @@ -10233,6 +10571,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -10465,6 +10813,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -10627,6 +10985,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -10887,6 +11255,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Trustee = apply { if (validated) { return@apply @@ -11173,6 +11551,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -11537,6 +11925,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -11775,6 +12173,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -11939,6 +12347,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -12113,6 +12531,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Structure = apply { if (validated) { return@apply @@ -12293,6 +12721,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -12505,6 +12942,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Validation = apply { if (validated) { return@apply @@ -12872,6 +13318,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Issue = apply { if (validated) { return@apply @@ -13077,6 +13533,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): BeneficialOwnerAddress = apply { if (validated) { return@apply @@ -13199,6 +13665,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -13391,6 +13867,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): BeneficialOwnerIdentity = apply { if (validated) { return@apply @@ -13603,6 +14089,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -13765,6 +14261,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): EntityAddress = apply { if (validated) { return@apply @@ -13884,6 +14390,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -14013,6 +14529,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): EntityTaxIdentifier = apply { if (validated) { return@apply @@ -14195,6 +14721,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt index 2e1bab767..0d44e3d15 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt @@ -1168,6 +1168,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1384,6 +1393,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Structure = apply { if (validated) { return@apply @@ -1916,6 +1934,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Corporation = apply { if (validated) { return@apply @@ -2255,6 +2282,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -2540,6 +2577,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BeneficialOwner = apply { if (validated) { return@apply @@ -2880,6 +2927,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -3238,6 +3295,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -3604,6 +3671,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -3774,6 +3851,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -4076,6 +4163,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -4450,6 +4547,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -4737,6 +4844,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply @@ -4951,6 +5068,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prong = apply { if (validated) { return@apply @@ -5180,6 +5307,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): LegalIdentifier = apply { if (validated) { return@apply @@ -5334,6 +5471,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -5535,6 +5682,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BeneficialOwnershipExemptionReason = apply { if (validated) { return@apply @@ -5942,6 +6099,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): GovernmentAuthority = apply { if (validated) { return@apply @@ -6244,6 +6410,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -6423,6 +6599,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AuthorizedPerson = apply { if (validated) { return@apply @@ -6583,6 +6769,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -6789,6 +6985,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Joint = apply { if (validated) { return@apply @@ -7110,6 +7315,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -7456,6 +7671,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -7813,6 +8038,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -7981,6 +8216,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -8276,6 +8521,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -8646,6 +8901,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -8929,6 +9194,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply @@ -9350,6 +9625,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NaturalPerson = apply { if (validated) { return@apply @@ -9681,6 +9965,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -10032,6 +10326,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -10198,6 +10502,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -10483,6 +10797,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -10834,6 +11158,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -11112,6 +11446,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply @@ -11382,6 +11726,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RiskRating = apply { if (validated) { return@apply @@ -11518,6 +11871,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Rating = apply { if (validated) { return@apply @@ -11691,6 +12054,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): SupplementalDocument = apply { if (validated) { return@apply @@ -11926,6 +12298,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TermsAgreement = apply { if (validated) { return@apply @@ -12135,6 +12516,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ThirdPartyVerification = apply { if (validated) { return@apply @@ -12289,6 +12679,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Vendor = apply { if (validated) { return@apply @@ -12765,6 +13165,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Trust = apply { if (validated) { return@apply @@ -13071,6 +13480,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -13233,6 +13652,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -13441,6 +13870,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Trustee = apply { if (validated) { return@apply @@ -13561,6 +14000,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Structure = apply { if (validated) { return@apply @@ -13911,6 +14360,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Individual = apply { if (validated) { return@apply @@ -14269,6 +14728,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -14635,6 +15104,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -14805,6 +15284,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -15107,6 +15596,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -15481,6 +15980,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -15768,6 +16277,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply @@ -16199,6 +16718,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Grantor = apply { if (validated) { return@apply @@ -16545,6 +17074,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -16902,6 +17441,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -17070,6 +17619,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -17365,6 +17924,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -17735,6 +18304,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -18018,6 +18597,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListPageResponse.kt index 53ad8ba9d..9ae41e03f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EntityListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListParams.kt index 103212bb2..c0f141923 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityListParams.kt @@ -675,6 +675,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt index 87a844626..6746bab42 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt @@ -955,6 +955,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1392,6 +1401,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Corporation = apply { if (validated) { return@apply @@ -1727,6 +1745,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -1954,6 +1982,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): LegalIdentifier = apply { if (validated) { return@apply @@ -2105,6 +2143,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2337,6 +2385,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): GovernmentAuthority = apply { if (validated) { return@apply @@ -2631,6 +2688,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -2939,6 +3006,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NaturalPerson = apply { if (validated) { return@apply @@ -3268,6 +3344,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -3619,6 +3705,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Identification = apply { if (validated) { return@apply @@ -3785,6 +3881,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -4070,6 +4176,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): DriversLicense = apply { if (validated) { return@apply @@ -4421,6 +4537,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -4699,6 +4825,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Passport = apply { if (validated) { return@apply @@ -4961,6 +5097,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RiskRating = apply { if (validated) { return@apply @@ -5097,6 +5242,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Rating = apply { if (validated) { return@apply @@ -5346,6 +5501,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TermsAgreement = apply { if (validated) { return@apply @@ -5555,6 +5719,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ThirdPartyVerification = apply { if (validated) { return@apply @@ -5709,6 +5882,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Vendor = apply { if (validated) { return@apply @@ -5903,6 +6086,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Trust = apply { if (validated) { return@apply @@ -6197,6 +6389,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSession.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSession.kt index 5051e42b3..a2fb56556 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSession.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSession.kt @@ -516,6 +516,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EntityOnboardingSession = apply { if (validated) { return@apply @@ -656,6 +664,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -781,6 +798,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionCreateParams.kt index 4c752ee2c..ea7382b1c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionCreateParams.kt @@ -517,6 +517,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListPageResponse.kt index d1613597c..c8813bd3d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListPageResponse.kt @@ -201,6 +201,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EntityOnboardingSessionListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListParams.kt index 81bc03ec2..e430dd851 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entityonboardingsessions/EntityOnboardingSessionListParams.kt @@ -457,6 +457,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/events/Event.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/events/Event.kt index ec78cea02..5b74f9740 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/events/Event.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/events/Event.kt @@ -341,6 +341,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Event = apply { if (validated) { return@apply @@ -1537,6 +1545,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1659,6 +1676,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListPageResponse.kt index 4fba27337..57da6a22a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EventListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListParams.kt index 5f90ceacf..f218104aa 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/events/EventListParams.kt @@ -1578,6 +1578,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply @@ -2018,6 +2028,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -2145,6 +2165,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Field = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/events/UnwrapWebhookEvent.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/events/UnwrapWebhookEvent.kt index 05e72d546..1a68194bb 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/events/UnwrapWebhookEvent.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/events/UnwrapWebhookEvent.kt @@ -341,6 +341,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): UnwrapWebhookEvent = apply { if (validated) { return@apply @@ -1537,6 +1545,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1659,6 +1676,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscription.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscription.kt index 431145996..3718aef1b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscription.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscription.kt @@ -466,6 +466,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EventSubscription = apply { if (validated) { return@apply @@ -634,6 +642,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): SelectedEventCategory = apply { if (validated) { return@apply @@ -1833,6 +1850,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): EventCategory = apply { if (validated) { return@apply @@ -2012,6 +2039,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -2137,6 +2173,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionCreateParams.kt index 897f4f047..af8e329b8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionCreateParams.kt @@ -702,6 +702,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -893,6 +902,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): SelectedEventCategory = apply { if (validated) { return@apply @@ -2092,6 +2110,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): EventCategory = apply { if (validated) { return@apply @@ -2244,6 +2272,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionListPageResponse.kt index c11f0ca47..cfc85df22 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EventSubscriptionListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionUpdateParams.kt index d7c8447ea..1bd47061e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/eventsubscriptions/EventSubscriptionUpdateParams.kt @@ -356,6 +356,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -503,6 +512,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt index 6d61ac39c..553887932 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt @@ -1144,6 +1144,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Export = apply { if (validated) { return@apply @@ -1422,6 +1430,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountStatementBai2 = apply { if (validated) { return@apply @@ -1638,6 +1655,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountStatementOfx = apply { if (validated) { return@apply @@ -1840,6 +1866,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CreatedAt = apply { if (validated) { return@apply @@ -2084,6 +2120,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountVerificationLetter = apply { if (validated) { return@apply @@ -2300,6 +2345,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BalanceCsv = apply { if (validated) { return@apply @@ -2495,6 +2549,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CreatedAt = apply { if (validated) { return@apply @@ -2794,6 +2858,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BookkeepingAccountBalanceCsv = apply { if (validated) { return@apply @@ -3108,6 +3181,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3363,6 +3445,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DailyAccountBalanceCsv = apply { if (validated) { return@apply @@ -3483,6 +3574,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DashboardTableCsv = apply { if (validated) { return@apply @@ -3589,6 +3689,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EntityCsv = apply { if (validated) { return@apply @@ -3756,6 +3865,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FeeCsv = apply { if (validated) { return@apply @@ -3951,6 +4069,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CreatedAt = apply { if (validated) { return@apply @@ -4249,6 +4377,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Form1099Int = apply { if (validated) { return@apply @@ -4497,6 +4634,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Form1099Misc = apply { if (validated) { return@apply @@ -4678,6 +4824,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FundingInstructions = apply { if (validated) { return@apply @@ -4839,6 +4994,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -4993,6 +5157,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -5197,6 +5370,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TransactionCsv = apply { if (validated) { return@apply @@ -5392,6 +5574,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CreatedAt = apply { if (validated) { return@apply @@ -5545,6 +5737,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -5650,6 +5851,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): VendorCsv = apply { if (validated) { return@apply @@ -5865,6 +6075,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): VoidedCheck = apply { if (validated) { return@apply @@ -6011,6 +6230,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Payer = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt index 7ab305d29..d9c983db6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportCreateParams.kt @@ -1152,6 +1152,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1446,6 +1455,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1678,6 +1696,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountStatementBai2 = apply { if (validated) { return@apply @@ -1888,6 +1915,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountStatementOfx = apply { if (validated) { return@apply @@ -2062,6 +2098,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CreatedAt = apply { if (validated) { return@apply @@ -2300,6 +2346,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountVerificationLetter = apply { if (validated) { return@apply @@ -2550,6 +2605,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): BookkeepingAccountBalanceCsv = apply { if (validated) { return@apply @@ -2792,6 +2856,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DailyAccountBalanceCsv = apply { if (validated) { return@apply @@ -2909,6 +2982,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EntityCsv = apply { if (validated) { return@apply @@ -3075,6 +3157,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FundingInstructions = apply { if (validated) { return@apply @@ -3256,6 +3347,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TransactionCsv = apply { if (validated) { return@apply @@ -3523,6 +3623,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CreatedAt = apply { if (validated) { return@apply @@ -3664,6 +3774,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): VendorCsv = apply { if (validated) { return@apply @@ -3874,6 +3993,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): VoidedCheck = apply { if (validated) { return@apply @@ -4020,6 +4148,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Payer = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListPageResponse.kt index 5aaf02358..2c7b83c35 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ExportListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt index 068123ef1..cb97d878b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt @@ -597,6 +597,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1259,6 +1268,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt index f73f1935d..77fc33b6c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt @@ -502,6 +502,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ExternalAccount = apply { if (validated) { return@apply @@ -655,6 +663,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountHolder = apply { if (validated) { return@apply @@ -807,6 +824,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Funding = apply { if (validated) { return@apply @@ -941,6 +967,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1066,6 +1101,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt index 416e8bb95..b1eaed71a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt @@ -653,6 +653,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -828,6 +837,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountHolder = apply { if (validated) { return@apply @@ -980,6 +998,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Funding = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListPageResponse.kt index 6aaa9a1fb..772a15403 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ExternalAccountListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListParams.kt index fb07b0822..eef3c528b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountListParams.kt @@ -469,6 +469,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt index 84f751d12..7f7c7ef1f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt @@ -554,6 +554,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -710,6 +719,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AccountHolder = apply { if (validated) { return@apply @@ -862,6 +880,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Funding = apply { if (validated) { return@apply @@ -996,6 +1023,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransfer.kt index 7c19f7b1c..81ee4dbfd 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransfer.kt @@ -1096,6 +1096,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FednowTransfer = apply { if (validated) { return@apply @@ -1294,6 +1302,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Acknowledgement = apply { if (validated) { return@apply @@ -1574,6 +1591,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -1724,6 +1750,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1894,6 +1930,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -2059,6 +2105,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -2220,6 +2276,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -2521,6 +2587,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditorAddress = apply { if (validated) { return@apply @@ -2667,6 +2742,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -2944,6 +3028,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Rejection = apply { if (validated) { return@apply @@ -3325,6 +3418,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RejectReasonCode = apply { if (validated) { return@apply @@ -3549,6 +3652,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -3762,6 +3874,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -3899,6 +4020,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferCreateParams.kt index fe047fcff..de3fd4a7f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferCreateParams.kt @@ -1106,6 +1106,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1417,6 +1426,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditorAddress = apply { if (validated) { return@apply @@ -1694,6 +1712,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DebtorAddress = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListPageResponse.kt index d1638004c..9b65e0715 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListPageResponse.kt @@ -197,6 +197,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FednowTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListParams.kt index f912be17c..417f92044 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/fednowtransfers/FednowTransferListParams.kt @@ -760,6 +760,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLink.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLink.kt index 332756738..efd8bce78 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLink.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLink.kt @@ -395,6 +395,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FileLink = apply { if (validated) { return@apply @@ -519,6 +527,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLinkCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLinkCreateParams.kt index f801318fa..d721ab58e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLinkCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/filelinks/FileLinkCreateParams.kt @@ -433,6 +433,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt index ddcfc8626..11aea9d0d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt @@ -456,6 +456,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): File = apply { if (validated) { return@apply @@ -596,6 +604,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -1106,6 +1123,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Purpose = apply { if (validated) { return@apply @@ -1228,6 +1254,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt index b78623c23..279af41d6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt @@ -538,6 +538,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -912,6 +921,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Purpose = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListPageResponse.kt index a54356435..6231b3e44 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListPageResponse.kt @@ -192,6 +192,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FileListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt index e3de02762..75db7e64a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt @@ -1045,6 +1045,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/groups/Group.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/groups/Group.kt index 1777c3b37..060723fc6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/groups/Group.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/groups/Group.kt @@ -215,6 +215,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Group = apply { if (validated) { return@apply @@ -329,6 +337,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransfer.kt index 0dd96c450..981dfd421 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransfer.kt @@ -1283,6 +1283,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundAchTransfer = apply { if (validated) { return@apply @@ -1525,6 +1533,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Acceptance = apply { if (validated) { return@apply @@ -1733,6 +1750,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Addenda = apply { if (validated) { return@apply @@ -1852,6 +1878,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2029,6 +2065,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Freeform = apply { if (validated) { return@apply @@ -2186,6 +2232,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Entry = apply { if (validated) { return@apply @@ -2470,6 +2526,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -2761,6 +2826,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -2919,6 +2994,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -4793,6 +4877,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InternationalAddenda = apply { if (validated) { return@apply @@ -5033,6 +5126,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ForeignExchangeIndicator = apply { if (validated) { return@apply @@ -5200,6 +5303,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ForeignExchangeReferenceIndicator = apply { if (validated) { return@apply @@ -5507,6 +5620,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InternationalTransactionTypeCode = apply { if (validated) { return@apply @@ -5679,6 +5802,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OriginatingDepositoryFinancialInstitutionIdQualifier = apply { if (validated) { return@apply @@ -5852,6 +5985,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ReceivingDepositoryFinancialInstitutionIdQualifier = apply { if (validated) { return@apply @@ -6172,6 +6315,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NotificationOfChange = apply { if (validated) { return@apply @@ -6393,6 +6545,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Settlement = apply { if (validated) { return@apply @@ -6525,6 +6686,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SettlementSchedule = apply { if (validated) { return@apply @@ -6813,6 +6984,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): StandardEntryClassCode = apply { if (validated) { return@apply @@ -6974,6 +7154,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -7210,6 +7399,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TransferReturn = apply { if (validated) { return@apply @@ -7498,6 +7696,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -7645,6 +7853,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferCreateNotificationOfChangeParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferCreateNotificationOfChangeParams.kt index c67c5bb87..21ddf227a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferCreateNotificationOfChangeParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferCreateNotificationOfChangeParams.kt @@ -458,6 +458,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferDeclineParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferDeclineParams.kt index 3d3c96f3c..dde1b61ac 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferDeclineParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferDeclineParams.kt @@ -370,6 +370,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -642,6 +651,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListPageResponse.kt index c6cfbbb97..a681911b3 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundAchTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListParams.kt index acd9649ee..f7f31e76b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferListParams.kt @@ -702,6 +702,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferTransferReturnParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferTransferReturnParams.kt index 956ab3866..6e3539c4b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferTransferReturnParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundachtransfers/InboundAchTransferTransferReturnParams.kt @@ -400,6 +400,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -672,6 +681,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDeposit.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDeposit.kt index 65ea5f695..636feb30d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDeposit.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDeposit.kt @@ -1003,6 +1003,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundCheckDeposit = apply { if (validated) { return@apply @@ -1298,6 +1306,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Adjustment = apply { if (validated) { return@apply @@ -1447,6 +1464,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -1595,6 +1622,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -1831,6 +1867,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DepositReturn = apply { if (validated) { return@apply @@ -1996,6 +2041,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -2168,6 +2223,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PayeeNameAnalysis = apply { if (validated) { return@apply @@ -2329,6 +2393,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -2454,6 +2527,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositListPageResponse.kt index d94cc4e49..1b28e6b8d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositListPageResponse.kt @@ -199,6 +199,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundCheckDepositListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositReturnParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositReturnParams.kt index c2b7d3a96..bd9282f34 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositReturnParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundcheckdeposits/InboundCheckDepositReturnParams.kt @@ -385,6 +385,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -559,6 +568,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransfer.kt index 6c78e53ee..51fdb4652 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransfer.kt @@ -755,6 +755,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundFednowTransfer = apply { if (validated) { return@apply @@ -932,6 +940,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Confirmation = apply { if (validated) { return@apply @@ -1065,6 +1082,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -1258,6 +1284,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -1421,6 +1456,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -1601,6 +1646,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1726,6 +1780,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransferListPageResponse.kt index 36ea5c381..96fdb4ee1 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundfednowtransfers/InboundFednowTransferListPageResponse.kt @@ -199,6 +199,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundFednowTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItem.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItem.kt index 7826ee029..e233af91f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItem.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItem.kt @@ -528,6 +528,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundMailItem = apply { if (validated) { return@apply @@ -856,6 +864,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Check = apply { if (validated) { return@apply @@ -998,6 +1015,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1194,6 +1221,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RejectionReason = apply { if (validated) { return@apply @@ -1337,6 +1373,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1462,6 +1507,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt index a4419a7e2..8e164487d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt @@ -408,6 +408,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -602,6 +611,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Check = apply { if (validated) { return@apply @@ -729,6 +747,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Action = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemListPageResponse.kt index 0198bc06e..a401d494f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundMailItemListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransfer.kt index f0faa72d6..4f8329511 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransfer.kt @@ -758,6 +758,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundRealTimePaymentsTransfer = apply { if (validated) { return@apply @@ -978,6 +986,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Confirmation = apply { if (validated) { return@apply @@ -1118,6 +1135,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -1356,6 +1382,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -1521,6 +1556,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -1695,6 +1740,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1821,6 +1875,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferListPageResponse.kt index 62d722baf..ee7d73a4d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferListPageResponse.kt @@ -202,6 +202,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundRealTimePaymentsTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt index 477a8da4d..352ec7ba1 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequest.kt @@ -1102,6 +1102,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundWireDrawdownRequest = apply { if (validated) { return@apply @@ -1255,6 +1263,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequestListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequestListPageResponse.kt index 484211c73..001b44f62 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequestListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiredrawdownrequests/InboundWireDrawdownRequestListPageResponse.kt @@ -201,6 +201,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundWireDrawdownRequestListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt index 570533a30..65680820c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransfer.kt @@ -1253,6 +1253,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundWireTransfer = apply { if (validated) { return@apply @@ -1495,6 +1503,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Acceptance = apply { if (validated) { return@apply @@ -1706,6 +1723,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reversal = apply { if (validated) { return@apply @@ -1848,6 +1874,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -2028,6 +2064,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -2153,6 +2198,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponse.kt index ac2063b9b..c42687258 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListPageResponse.kt @@ -199,6 +199,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundWireTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListParams.kt index ceed3cfb5..9043ec2ba 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferListParams.kt @@ -725,6 +725,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferReverseParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferReverseParams.kt index 708a90375..db662bed0 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferReverseParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundwiretransfers/InboundWireTransferReverseParams.kt @@ -385,6 +385,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -532,6 +541,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollment.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollment.kt index ef2d2f60f..10ca0d430 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollment.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollment.kt @@ -433,6 +433,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): IntrafiAccountEnrollment = apply { if (validated) { return@apply @@ -599,6 +607,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -724,6 +741,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentCreateParams.kt index 30a256d26..903385d73 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentCreateParams.kt @@ -437,6 +437,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListPageResponse.kt index f173ece25..ed197bd3e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListPageResponse.kt @@ -201,6 +201,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): IntrafiAccountEnrollmentListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListParams.kt index c16c2a8e5..b268036e6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiaccountenrollments/IntrafiAccountEnrollmentListParams.kt @@ -498,6 +498,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafibalances/IntrafiBalance.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafibalances/IntrafiBalance.kt index 6054a2901..6b7b9b54d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafibalances/IntrafiBalance.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafibalances/IntrafiBalance.kt @@ -314,6 +314,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): IntrafiBalance = apply { if (validated) { return@apply @@ -593,6 +601,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Balance = apply { if (validated) { return@apply @@ -782,6 +799,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BankLocation = apply { if (validated) { return@apply @@ -939,6 +966,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -1064,6 +1100,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt index 3b239d206..e7c4c064e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt @@ -521,6 +521,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): IntrafiExclusion = apply { if (validated) { return@apply @@ -679,6 +687,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -804,6 +821,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt index 4fd82f526..3972d5986 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt @@ -453,6 +453,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionListPageResponse.kt index 1d3c3d787..00aa79eda 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): IntrafiExclusionListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddress.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddress.kt index 1a7482f59..0b5ad0259 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddress.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddress.kt @@ -376,6 +376,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): LockboxAddress = apply { if (validated) { return@apply @@ -677,6 +685,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -850,6 +867,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -975,6 +1001,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressCreateParams.kt index 57755d8e0..6205375ec 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressCreateParams.kt @@ -336,6 +336,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressListPageResponse.kt index 81ef53142..6a0c34a77 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressListPageResponse.kt @@ -197,6 +197,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): LockboxAddressListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressUpdateParams.kt index 4c6fcf2e8..7c045f3f4 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxaddresses/LockboxAddressUpdateParams.kt @@ -418,6 +418,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -573,6 +582,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipient.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipient.kt index 6fa4273aa..6b1a3c832 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipient.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipient.kt @@ -528,6 +528,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): LockboxRecipient = apply { if (validated) { return@apply @@ -695,6 +703,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -820,6 +837,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientCreateParams.kt index 11aadc0ed..88c5c840e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientCreateParams.kt @@ -573,6 +573,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientListPageResponse.kt index 8bfb900b5..6a22c9e03 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): LockboxRecipientListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientUpdateParams.kt index f54de4239..1d9934404 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/lockboxrecipients/LockboxRecipientUpdateParams.kt @@ -489,6 +489,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -665,6 +674,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplication.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplication.kt index 352ed5b5a..b975d710e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplication.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplication.kt @@ -367,6 +367,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -501,6 +509,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -626,6 +643,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListPageResponse.kt index 1e4b33a0e..63d77ccdf 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): OAuthApplicationListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListParams.kt index bebcce7b3..c5d675338 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthapplications/OAuthApplicationListParams.kt @@ -644,6 +644,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnection.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnection.kt index 6de22bcd2..7157bbe59 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnection.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnection.kt @@ -370,6 +370,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): OAuthConnection = apply { if (validated) { return@apply @@ -504,6 +512,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -629,6 +646,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListPageResponse.kt index 307b0dca2..d3d23d3e9 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): OAuthConnectionListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListParams.kt index 7ea9cfbc1..3283ec0f4 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthconnections/OAuthConnectionListParams.kt @@ -449,6 +449,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthToken.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthToken.kt index 3eccb06f4..203e33a6e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthToken.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthToken.kt @@ -248,6 +248,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): OAuthToken = apply { if (validated) { return@apply @@ -366,6 +374,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TokenType = apply { if (validated) { return@apply @@ -490,6 +507,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthTokenCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthTokenCreateParams.kt index a06e59e47..d3db64afa 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthTokenCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/oauthtokens/OAuthTokenCreateParams.kt @@ -653,6 +653,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -820,6 +829,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): GrantType = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt index bf0621dbf..8e0069006 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransaction.kt @@ -621,6 +621,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PendingTransaction = apply { if (validated) { return@apply @@ -761,6 +769,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -906,6 +923,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RouteType = apply { if (validated) { return@apply @@ -1994,6 +2020,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Source = apply { if (validated) { return@apply @@ -2401,6 +2436,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2655,6 +2700,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AccountTransferInstruction = apply { if (validated) { return@apply @@ -2780,6 +2835,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -3008,6 +3073,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AchTransferInstruction = apply { if (validated) { return@apply @@ -3241,6 +3316,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BlockchainOfframpTransferInstruction = apply { if (validated) { return@apply @@ -3511,6 +3596,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BlockchainOnrampTransferInstruction = apply { if (validated) { return@apply @@ -5045,6 +5140,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardAuthorization = apply { if (validated) { return@apply @@ -5240,6 +5345,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -5828,6 +5943,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -6050,6 +6175,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -6277,6 +6412,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -6504,6 +6649,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -6731,6 +6886,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -6958,6 +7123,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -7189,6 +7364,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -7418,6 +7603,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -7645,6 +7840,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -7872,6 +8077,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -8099,6 +8314,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -8284,6 +8509,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -8434,6 +8669,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -8676,6 +8921,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -8810,6 +9065,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -8919,6 +9184,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -9307,6 +9582,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -9625,6 +9910,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -9861,6 +10156,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -10127,6 +10432,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -10371,6 +10686,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -10787,6 +11112,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -11086,6 +11421,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -11491,6 +11836,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -11625,6 +11980,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -12367,6 +12732,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -12529,6 +12904,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -12799,6 +13184,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -12962,6 +13357,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -13107,6 +13512,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -13507,6 +13922,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -13721,6 +14146,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -14039,6 +14474,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -14374,6 +14819,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardPushTransferInstruction = apply { if (validated) { return@apply @@ -14749,6 +15204,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CheckDepositInstruction = apply { if (validated) { return@apply @@ -14878,6 +15343,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -15158,6 +15633,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CheckTransferInstruction = apply { if (validated) { return@apply @@ -15282,6 +15767,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -15475,6 +15970,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): FednowTransferInstruction = apply { if (validated) { return@apply @@ -16020,6 +16525,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundFundsHold = apply { if (validated) { return@apply @@ -16156,6 +16671,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -16294,6 +16819,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -16422,6 +16957,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -16637,6 +17182,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundWireTransferReversal = apply { if (validated) { return@apply @@ -16753,6 +17308,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -16966,6 +17531,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RealTimePaymentsTransferInstruction = apply { if (validated) { return@apply @@ -17149,6 +17724,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SwiftTransferInstruction = apply { if (validated) { return@apply @@ -17262,6 +17847,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): UserInitiatedHold = apply { if (validated) { return@apply @@ -17614,6 +18209,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): WireTransferInstruction = apply { if (validated) { return@apply @@ -17844,6 +18449,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -17969,6 +18583,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt index 42050acf7..2941f6d17 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt @@ -508,6 +508,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponse.kt index ac4b344f6..82ac9d296 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PendingTransactionListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt index 773ad9666..08d82f38c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionListParams.kt @@ -761,6 +761,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply @@ -1210,6 +1220,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfile.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfile.kt index 25439a854..7f6286873 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfile.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfile.kt @@ -653,6 +653,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PhysicalCardProfile = apply { if (validated) { return@apply @@ -799,6 +807,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Creator = apply { if (validated) { return@apply @@ -978,6 +995,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1103,6 +1129,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCloneParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCloneParams.kt index dc7433444..59d068375 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCloneParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCloneParams.kt @@ -727,6 +727,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -951,6 +960,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FrontText = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCreateParams.kt index e32f9bc73..a4ae6b7ff 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileCreateParams.kt @@ -742,6 +742,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -966,6 +975,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FrontText = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListPageResponse.kt index b2c100620..754f3d273 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListPageResponse.kt @@ -199,6 +199,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PhysicalCardProfileListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListParams.kt index 202d92b8d..02482d9e5 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcardprofiles/PhysicalCardProfileListParams.kt @@ -499,6 +499,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCard.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCard.kt index b45dc6403..f25cbfe30 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCard.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCard.kt @@ -471,6 +471,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PhysicalCard = apply { if (validated) { return@apply @@ -668,6 +676,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cardholder = apply { if (validated) { return@apply @@ -987,6 +1004,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Shipment = apply { if (validated) { return@apply @@ -1401,6 +1427,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -1595,6 +1631,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -1761,6 +1807,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Schedule = apply { if (validated) { return@apply @@ -1981,6 +2037,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -2336,6 +2402,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Tracking = apply { if (validated) { return@apply @@ -2732,6 +2808,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Update = apply { if (validated) { return@apply @@ -2911,6 +2997,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3143,6 +3239,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -3268,6 +3373,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardCreateParams.kt index 4f578996d..af8b88706 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardCreateParams.kt @@ -578,6 +578,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -789,6 +798,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cardholder = apply { if (validated) { return@apply @@ -1033,6 +1051,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Shipment = apply { if (validated) { return@apply @@ -1487,6 +1514,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -1685,6 +1722,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Method = apply { if (validated) { return@apply @@ -1851,6 +1898,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Schedule = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardListPageResponse.kt index e6c1566d3..c28d59baa 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardListPageResponse.kt @@ -195,6 +195,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PhysicalCardListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardUpdateParams.kt index 4610a48bc..aaea7e852 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/physicalcards/PhysicalCardUpdateParams.kt @@ -377,6 +377,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -524,6 +533,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/programs/Program.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/programs/Program.kt index 20ae373c9..64f442c11 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/programs/Program.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/programs/Program.kt @@ -513,6 +513,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Program = apply { if (validated) { return@apply @@ -662,6 +670,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Bank = apply { if (validated) { return@apply @@ -826,6 +843,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Lending = apply { if (validated) { return@apply @@ -956,6 +982,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/programs/ProgramListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/programs/ProgramListPageResponse.kt index cd4e87376..f1af8a1f0 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/programs/ProgramListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/programs/ProgramListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ProgramListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt index bd2141331..09d5b181a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecision.kt @@ -639,6 +639,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RealTimeDecision = apply { if (validated) { return@apply @@ -2505,6 +2513,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardAuthentication = apply { if (validated) { return@apply @@ -2706,6 +2723,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decision = apply { if (validated) { return@apply @@ -2959,6 +2986,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DeviceChannel = apply { if (validated) { return@apply @@ -3311,6 +3348,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Browser = apply { if (validated) { return@apply @@ -3453,6 +3500,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): JavascriptEnabled = apply { if (validated) { return@apply @@ -3632,6 +3689,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3799,6 +3866,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): MerchantInitiated = apply { if (validated) { return@apply @@ -4088,6 +4165,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Indicator = apply { if (validated) { return@apply @@ -4378,6 +4465,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): MessageCategory = apply { if (validated) { return@apply @@ -4509,6 +4606,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -4614,6 +4721,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NonPayment = apply { if (validated) { return@apply @@ -4966,6 +5083,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Payment = apply { if (validated) { return@apply @@ -5134,6 +5261,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TransactionType = apply { if (validated) { return@apply @@ -5381,6 +5518,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RequestorAuthenticationIndicator = apply { if (validated) { return@apply @@ -5618,6 +5765,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RequestorChallengeIndicator = apply { if (validated) { return@apply @@ -6023,6 +6180,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardAuthenticationChallenge = apply { if (validated) { return@apply @@ -6156,6 +6322,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -7648,6 +7824,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardAuthorization = apply { if (validated) { return@apply @@ -8258,6 +8443,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -8477,6 +8672,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -8701,6 +8906,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -8925,6 +9140,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -9149,6 +9374,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -9373,6 +9608,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -9597,6 +9842,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -9821,6 +10076,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -10045,6 +10310,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -10269,6 +10544,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -10493,6 +10778,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -10730,6 +11025,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -10873,6 +11178,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decision = apply { if (validated) { return@apply @@ -11032,6 +11347,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -11248,6 +11573,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -11416,6 +11751,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -11654,6 +11999,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -11785,6 +12140,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -11890,6 +12255,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -12264,6 +12639,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -12576,6 +12961,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -12809,6 +13204,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -13067,6 +13472,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -13305,6 +13720,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -13714,6 +14139,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -13883,6 +14318,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): PartialApprovalCapability = apply { if (validated) { return@apply @@ -14156,6 +14601,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -14427,6 +14882,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RequestDetails = apply { if (validated) { return@apply @@ -14567,6 +15032,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -14787,6 +15262,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): IncrementalAuthorization = apply { if (validated) { return@apply @@ -14909,6 +15394,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): InitialAuthorization = apply { if (validated) { return@apply @@ -15209,6 +15704,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -15369,6 +15874,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -15506,6 +16021,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -15896,6 +16421,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -16108,6 +16643,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -16414,6 +16959,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -17591,6 +18146,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardBalanceInquiry = apply { if (validated) { return@apply @@ -18183,6 +18747,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -18402,6 +18976,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -18626,6 +19210,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -18850,6 +19444,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -19074,6 +19678,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -19298,6 +19912,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -19522,6 +20146,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -19746,6 +20380,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -19970,6 +20614,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -20194,6 +20848,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -20418,6 +21082,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -20634,6 +21308,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -20776,6 +21460,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decision = apply { if (validated) { return@apply @@ -21014,6 +21708,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -21145,6 +21849,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -21250,6 +21964,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -21624,6 +22348,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -21936,6 +22670,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -22169,6 +22913,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -22427,6 +23181,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -22665,6 +23429,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -23074,6 +23848,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -23369,6 +24153,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -23529,6 +24323,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -23666,6 +24470,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -24056,6 +24870,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -24268,6 +25092,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -24574,6 +25408,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -24866,6 +25710,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -25261,6 +26114,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWalletAuthentication = apply { if (validated) { return@apply @@ -25399,6 +26261,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Channel = apply { if (validated) { return@apply @@ -25555,6 +26427,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DigitalWallet = apply { if (validated) { return@apply @@ -25697,6 +26579,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -26006,6 +26898,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWalletToken = apply { if (validated) { return@apply @@ -26141,6 +27042,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decision = apply { if (validated) { return@apply @@ -26309,6 +27220,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Device = apply { if (validated) { return@apply @@ -26471,6 +27392,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DigitalWallet = apply { if (validated) { return@apply @@ -26637,6 +27568,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -26762,6 +27702,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionActionParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionActionParams.kt index 656ba9274..96930e436 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionActionParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimedecisions/RealTimeDecisionActionParams.kt @@ -813,6 +813,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1005,6 +1014,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardAuthentication = apply { if (validated) { return@apply @@ -1139,6 +1157,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decision = apply { if (validated) { return@apply @@ -1356,6 +1384,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardAuthenticationChallenge = apply { if (validated) { return@apply @@ -1485,6 +1522,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -1665,6 +1712,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Success = apply { if (validated) { return@apply @@ -1931,6 +1988,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardAuthorization = apply { if (validated) { return@apply @@ -2061,6 +2127,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decision = apply { if (validated) { return@apply @@ -2292,6 +2368,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -2497,6 +2583,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddressVerificationResult = apply { if (validated) { return@apply @@ -2645,6 +2741,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Line1 = apply { if (validated) { return@apply @@ -2806,6 +2912,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PostalCode = apply { if (validated) { return@apply @@ -3016,6 +3132,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -3235,6 +3361,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -3473,6 +3609,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardBalanceInquiry = apply { if (validated) { return@apply @@ -3601,6 +3746,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decision = apply { if (validated) { return@apply @@ -3760,6 +3915,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -3980,6 +4145,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWalletAuthentication = apply { if (validated) { return@apply @@ -4113,6 +4287,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -4293,6 +4477,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Success = apply { if (validated) { return@apply @@ -4504,6 +4698,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWalletToken = apply { if (validated) { return@apply @@ -4675,6 +4878,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -4832,6 +5045,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransfer.kt index 9a981dd87..6fc77c60a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransfer.kt @@ -1212,6 +1212,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RealTimePaymentsTransfer = apply { if (validated) { return@apply @@ -1414,6 +1422,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Acknowledgement = apply { if (validated) { return@apply @@ -1632,6 +1649,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -1856,6 +1882,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cancellation = apply { if (validated) { return@apply @@ -2142,6 +2177,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -2292,6 +2336,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2462,6 +2516,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -2627,6 +2691,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -2788,6 +2862,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -2944,6 +3028,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -3225,6 +3318,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Rejection = apply { if (validated) { return@apply @@ -3719,6 +3821,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RejectReasonCode = apply { if (validated) { return@apply @@ -3940,6 +4052,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -4156,6 +4277,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -4293,6 +4423,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferCreateParams.kt index 3b3fe12a1..c6a544729 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferCreateParams.kt @@ -1134,6 +1134,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListPageResponse.kt index bd320546e..1a63f40e8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListPageResponse.kt @@ -201,6 +201,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RealTimePaymentsTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListParams.kt index 2cbdd4cd5..6bab11a48 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/realtimepaymentstransfers/RealTimePaymentsTransferListParams.kt @@ -765,6 +765,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListPageResponse.kt index b61cf31ad..f3ea7fed0 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListPageResponse.kt @@ -198,6 +198,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RoutingNumberListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListResponse.kt index 11de04d8a..e63c7ae3f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListResponse.kt @@ -384,6 +384,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RoutingNumberListResponse = apply { if (validated) { return@apply @@ -521,6 +529,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): AchTransfers = apply { if (validated) { return@apply @@ -659,6 +676,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): FednowTransfers = apply { if (validated) { return@apply @@ -801,6 +827,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RealTimePaymentsTransfers = apply { if (validated) { return@apply @@ -926,6 +961,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -1064,6 +1108,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): WireTransfers = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountrevenuepayments/AccountRevenuePaymentCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountrevenuepayments/AccountRevenuePaymentCreateParams.kt index 82b4b3e1c..af86edb91 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountrevenuepayments/AccountRevenuePaymentCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountrevenuepayments/AccountRevenuePaymentCreateParams.kt @@ -652,6 +652,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountstatements/AccountStatementCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountstatements/AccountStatementCreateParams.kt index d3e2bd85a..ffcf91375 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountstatements/AccountStatementCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/accountstatements/AccountStatementCreateParams.kt @@ -360,6 +360,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferCreateNotificationOfChangeParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferCreateNotificationOfChangeParams.kt index 0049c576e..0f160c944 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferCreateNotificationOfChangeParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferCreateNotificationOfChangeParams.kt @@ -465,6 +465,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -844,6 +853,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ChangeCode = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferReturnParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferReturnParams.kt index bdb92b640..d22861d54 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferReturnParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferReturnParams.kt @@ -361,6 +361,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1584,6 +1593,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferSettleParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferSettleParams.kt index eed18ae6b..a45506d97 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferSettleParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/achtransfers/AchTransferSettleParams.kt @@ -388,6 +388,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -543,6 +552,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InboundFundsHoldBehavior = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationChallengeAttemptsParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationChallengeAttemptsParams.kt index 703f35513..667bae534 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationChallengeAttemptsParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationChallengeAttemptsParams.kt @@ -392,6 +392,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationCreateParams.kt index 5cbdce613..726747f7d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthentications/CardAuthenticationCreateParams.kt @@ -881,6 +881,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1055,6 +1064,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1202,6 +1220,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DeviceChannel = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizationexpirations/CardAuthorizationExpirationCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizationexpirations/CardAuthorizationExpirationCreateParams.kt index c8d5b4c89..226159900 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizationexpirations/CardAuthorizationExpirationCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizationexpirations/CardAuthorizationExpirationCreateParams.kt @@ -372,6 +372,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateParams.kt index 5876333a7..0e0daf1da 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateParams.kt @@ -1579,6 +1579,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -2006,6 +2015,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DeclineReason = apply { if (validated) { return@apply @@ -2158,6 +2176,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -2297,6 +2324,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -2538,6 +2575,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -2772,6 +2819,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -3023,6 +3079,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -3173,6 +3239,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Refund = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponse.kt index 38f8f815d..5fdd29b56 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponse.kt @@ -252,6 +252,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CardAuthorizationCreateResponse = apply { if (validated) { return@apply @@ -373,6 +381,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardbalanceinquiries/CardBalanceInquiryCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardbalanceinquiries/CardBalanceInquiryCreateParams.kt index f6ee25c4b..8a9e06bd7 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardbalanceinquiries/CardBalanceInquiryCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardbalanceinquiries/CardBalanceInquiryCreateParams.kt @@ -1384,6 +1384,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1803,6 +1812,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DeclineReason = apply { if (validated) { return@apply @@ -1955,6 +1973,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -2094,6 +2121,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -2335,6 +2372,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/carddisputes/CardDisputeActionParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/carddisputes/CardDisputeActionParams.kt index fa5172a66..67fcad468 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/carddisputes/CardDisputeActionParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/carddisputes/CardDisputeActionParams.kt @@ -455,6 +455,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -593,6 +602,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -1229,6 +1247,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -1541,6 +1568,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Action = apply { if (validated) { return@apply @@ -1650,6 +1687,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AcceptChargeback = apply { if (validated) { return@apply @@ -1763,6 +1810,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AcceptUserSubmission = apply { if (validated) { return@apply @@ -1879,6 +1936,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DeclineUserPrearbitration = apply { if (validated) { return@apply @@ -1996,6 +2063,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ReceiveMerchantPrearbitration = apply { if (validated) { return@apply @@ -2107,6 +2184,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Represent = apply { if (validated) { return@apply @@ -2272,6 +2359,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RequestFurtherInformation = apply { if (validated) { return@apply @@ -2388,6 +2485,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): TimeOutChargeback = apply { if (validated) { return@apply @@ -2505,6 +2612,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): TimeOutMerchantPrearbitration = apply { if (validated) { return@apply @@ -2619,6 +2736,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): TimeOutRepresentment = apply { if (validated) { return@apply @@ -2735,6 +2862,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): TimeOutUserPrearbitration = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardfuelconfirmations/CardFuelConfirmationCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardfuelconfirmations/CardFuelConfirmationCreateParams.kt index ff0fa42c5..aa9beef31 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardfuelconfirmations/CardFuelConfirmationCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardfuelconfirmations/CardFuelConfirmationCreateParams.kt @@ -442,6 +442,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardincrements/CardIncrementCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardincrements/CardIncrementCreateParams.kt index 08790c075..43a6ae9af 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardincrements/CardIncrementCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardincrements/CardIncrementCreateParams.kt @@ -524,6 +524,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardpurchasesupplements/CardPurchaseSupplementCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardpurchasesupplements/CardPurchaseSupplementCreateParams.kt index 5fbb47db6..134e9ed4d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardpurchasesupplements/CardPurchaseSupplementCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardpurchasesupplements/CardPurchaseSupplementCreateParams.kt @@ -530,6 +530,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1073,6 +1082,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Invoice = apply { if (validated) { return@apply @@ -1627,6 +1645,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): LineItem = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardrefunds/CardRefundCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardrefunds/CardRefundCreateParams.kt index 23318d0ca..9bbf44734 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardrefunds/CardRefundCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardrefunds/CardRefundCreateParams.kt @@ -505,6 +505,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardreversals/CardReversalCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardreversals/CardReversalCreateParams.kt index 861b3977b..1b24794b2 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardreversals/CardReversalCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardreversals/CardReversalCreateParams.kt @@ -439,6 +439,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardsettlements/CardSettlementCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardsettlements/CardSettlementCreateParams.kt index 5c8a8ecdc..136def573 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardsettlements/CardSettlementCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardsettlements/CardSettlementCreateParams.kt @@ -513,6 +513,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt index afa3eb2b5..a42d8929c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt @@ -692,6 +692,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -966,6 +975,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Capability = apply { if (validated) { return@apply @@ -1103,6 +1121,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CrossBorderPushTransfers = apply { if (validated) { return@apply @@ -1245,6 +1273,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): DomesticPushTransfers = apply { if (validated) { return@apply @@ -1390,6 +1428,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Route = apply { if (validated) { return@apply @@ -1604,6 +1652,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Outcome = apply { if (validated) { return@apply @@ -1731,6 +1788,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -1871,6 +1938,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Decline = apply { if (validated) { return@apply @@ -2770,6 +2847,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositAdjustmentParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositAdjustmentParams.kt index db714c051..b6c741f23 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositAdjustmentParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositAdjustmentParams.kt @@ -433,6 +433,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -640,6 +649,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt index 37953a942..cfe05bf3a 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt @@ -352,6 +352,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -598,6 +607,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Scan = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateParams.kt index 811b3fac3..1380bd374 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateParams.kt @@ -358,6 +358,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateResponse.kt index b30ee6ec6..1fde6bfdf 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/digitalwallettokenrequests/DigitalWalletTokenRequestCreateResponse.kt @@ -244,6 +244,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DigitalWalletTokenRequestCreateResponse = apply { if (validated) { return@apply @@ -394,6 +402,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DeclineReason = apply { if (validated) { return@apply @@ -523,6 +540,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityUpdateValidationParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityUpdateValidationParams.kt index b128cc315..5f35856a7 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityUpdateValidationParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityUpdateValidationParams.kt @@ -419,6 +419,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -578,6 +587,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Issue = apply { if (validated) { return@apply @@ -760,6 +778,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/exports/ExportCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/exports/ExportCreateParams.kt index 9e1798d44..6cb7848d8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/exports/ExportCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/exports/ExportCreateParams.kt @@ -438,6 +438,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -575,6 +584,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -732,6 +750,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Form1099Int = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundachtransfers/InboundAchTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundachtransfers/InboundAchTransferCreateParams.kt index 28ad68f76..f4cd47be8 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundachtransfers/InboundAchTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundachtransfers/InboundAchTransferCreateParams.kt @@ -1171,6 +1171,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1418,6 +1427,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Addenda = apply { if (validated) { return@apply @@ -1537,6 +1555,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1714,6 +1742,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Freeform = apply { if (validated) { return@apply @@ -1871,6 +1909,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Entry = apply { if (validated) { return@apply @@ -2184,6 +2232,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): StandardEntryClassCode = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositAdjustmentParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositAdjustmentParams.kt index cad4fcdd3..41aa74737 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositAdjustmentParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositAdjustmentParams.kt @@ -423,6 +423,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -627,6 +636,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositCreateParams.kt index e814ef0dc..8e46e5432 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundcheckdeposits/InboundCheckDepositCreateParams.kt @@ -601,6 +601,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -776,6 +785,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): PayeeNameAnalysis = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundfednowtransfers/InboundFednowTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundfednowtransfers/InboundFednowTransferCreateParams.kt index 1dfcd1dc0..4db6dfdfa 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundfednowtransfers/InboundFednowTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundfednowtransfers/InboundFednowTransferCreateParams.kt @@ -734,6 +734,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundmailitems/InboundMailItemCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundmailitems/InboundMailItemCreateParams.kt index d1718ea7e..0bf094a85 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundmailitems/InboundMailItemCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundmailitems/InboundMailItemCreateParams.kt @@ -587,6 +587,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferCreateParams.kt index 9de750c01..bb02516b4 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundrealtimepaymentstransfers/InboundRealTimePaymentsTransferCreateParams.kt @@ -815,6 +815,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt index 0219cbc6a..c1a61aa5f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiredrawdownrequests/InboundWireDrawdownRequestCreateParams.kt @@ -1768,6 +1768,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt index 99534fe81..bd43a2708 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/inboundwiretransfers/InboundWireTransferCreateParams.kt @@ -1575,6 +1575,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/interestpayments/InterestPaymentCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/interestpayments/InterestPaymentCreateParams.kt index 078c6c253..a93cae44f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/interestpayments/InterestPaymentCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/interestpayments/InterestPaymentCreateParams.kt @@ -637,6 +637,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardAdvanceShipmentParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardAdvanceShipmentParams.kt index 62de9ea71..2b8ac9adc 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardAdvanceShipmentParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardAdvanceShipmentParams.kt @@ -399,6 +399,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -615,6 +624,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ShipmentStatus = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardCreateParams.kt index 0b64d4607..be8d6dc0b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/physicalcards/PhysicalCardCreateParams.kt @@ -655,6 +655,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -856,6 +865,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Category = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/programs/ProgramCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/programs/ProgramCreateParams.kt index fda9c4e61..dbb7c20a3 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/programs/ProgramCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/programs/ProgramCreateParams.kt @@ -573,6 +573,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -749,6 +758,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Bank = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/realtimepaymentstransfers/RealTimePaymentsTransferCompleteParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/realtimepaymentstransfers/RealTimePaymentsTransferCompleteParams.kt index df3ef0be9..f342c9f0d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/realtimepaymentstransfers/RealTimePaymentsTransferCompleteParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/realtimepaymentstransfers/RealTimePaymentsTransferCompleteParams.kt @@ -372,6 +372,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -542,6 +551,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Rejection = apply { if (validated) { return@apply @@ -1028,6 +1046,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RejectReasonCode = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/EntitySupplementalDocument.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/EntitySupplementalDocument.kt index 9912e6c4a..647e0056d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/EntitySupplementalDocument.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/EntitySupplementalDocument.kt @@ -298,6 +298,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): EntitySupplementalDocument = apply { if (validated) { return@apply @@ -419,6 +427,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentCreateParams.kt index f2e2018ff..4aef3b9fc 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentCreateParams.kt @@ -425,6 +425,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentListPageResponse.kt index 2f8a9b6c0..ff12c6ae1 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/supplementaldocuments/SupplementalDocumentListPageResponse.kt @@ -201,6 +201,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): SupplementalDocumentListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransfer.kt index eb350706b..5df25b933 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransfer.kt @@ -1043,6 +1043,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): SwiftTransfer = apply { if (validated) { return@apply @@ -1347,6 +1355,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -1497,6 +1514,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -1667,6 +1694,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -1832,6 +1869,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -1993,6 +2040,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -2366,6 +2423,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditorAddress = apply { if (validated) { return@apply @@ -2735,6 +2801,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DebtorAddress = apply { if (validated) { return@apply @@ -2892,6 +2967,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InstructedCurrency = apply { if (validated) { return@apply @@ -3080,6 +3164,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -3205,6 +3298,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferCreateParams.kt index a81c7e7df..cffe38d92 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferCreateParams.kt @@ -1294,6 +1294,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1681,6 +1690,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditorAddress = apply { if (validated) { return@apply @@ -2032,6 +2050,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DebtorAddress = apply { if (validated) { return@apply @@ -2189,6 +2216,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): InstructedCurrency = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListPageResponse.kt index f9c5cac2c..9450cc30b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListPageResponse.kt @@ -196,6 +196,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): SwiftTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListParams.kt index 2c1b209fa..4fc5dcc53 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/swifttransfers/SwiftTransferListParams.kt @@ -734,6 +734,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt index b59d2a840..fcd80307b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt @@ -500,6 +500,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Transaction = apply { if (validated) { return@apply @@ -634,6 +642,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -779,6 +796,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): RouteType = apply { if (validated) { return@apply @@ -3169,6 +3195,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Source = apply { if (validated) { return@apply @@ -3965,6 +4000,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -4224,6 +4269,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AccountRevenuePayment = apply { if (validated) { return@apply @@ -4632,6 +4687,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AccountTransferIntention = apply { if (validated) { return@apply @@ -4763,6 +4828,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -5147,6 +5222,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AchTransferIntention = apply { if (validated) { return@apply @@ -5346,6 +5431,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AchTransferRejection = apply { if (validated) { return@apply @@ -5763,6 +5858,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): AchTransferReturn = apply { if (validated) { return@apply @@ -7074,6 +7179,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnReasonCode = apply { if (validated) { return@apply @@ -7328,6 +7443,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BlockchainOfframpTransferSettlement = apply { if (validated) { return@apply @@ -7561,6 +7686,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): BlockchainOnrampTransferIntention = apply { if (validated) { return@apply @@ -7795,6 +7930,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardDisputeAcceptance = apply { if (validated) { return@apply @@ -8097,6 +8242,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardDisputeFinancial = apply { if (validated) { return@apply @@ -8230,6 +8385,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -8400,6 +8565,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -8587,6 +8762,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): EventType = apply { if (validated) { return@apply @@ -8889,6 +9074,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardDisputeLoss = apply { if (validated) { return@apply @@ -10369,6 +10564,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardFinancial = apply { if (validated) { return@apply @@ -10562,6 +10767,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Actioner = apply { if (validated) { return@apply @@ -11150,6 +11365,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): AdditionalAmounts = apply { if (validated) { return@apply @@ -11372,6 +11597,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Clinic = apply { if (validated) { return@apply @@ -11599,6 +11834,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Dental = apply { if (validated) { return@apply @@ -11826,6 +12071,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Original = apply { if (validated) { return@apply @@ -12053,6 +12308,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Prescription = apply { if (validated) { return@apply @@ -12280,6 +12545,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -12511,6 +12786,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalCumulative = apply { if (validated) { return@apply @@ -12740,6 +13025,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): TotalHealthcare = apply { if (validated) { return@apply @@ -12967,6 +13262,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Transit = apply { if (validated) { return@apply @@ -13194,6 +13499,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unknown = apply { if (validated) { return@apply @@ -13421,6 +13736,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Vision = apply { if (validated) { return@apply @@ -13606,6 +13931,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -13756,6 +14091,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Direction = apply { if (validated) { return@apply @@ -13998,6 +14343,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkDetails = apply { if (validated) { return@apply @@ -14132,6 +14487,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -14241,6 +14606,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Pulse = apply { if (validated) { return@apply @@ -14629,6 +15004,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Visa = apply { if (validated) { return@apply @@ -14947,6 +15332,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ElectronicCommerceIndicator = apply { if (validated) { return@apply @@ -15183,6 +15578,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): PointOfServiceEntryMode = apply { if (validated) { return@apply @@ -15449,6 +15854,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StandInProcessingReason = apply { if (validated) { return@apply @@ -15693,6 +16108,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TerminalEntryCapability = apply { if (validated) { return@apply @@ -16109,6 +16534,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -16408,6 +16843,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ProcessingCategory = apply { if (validated) { return@apply @@ -16813,6 +17258,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -16947,6 +17402,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -17689,6 +18154,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -17851,6 +18326,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -18121,6 +18606,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Verification = apply { if (validated) { return@apply @@ -18284,6 +18779,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardVerificationCode = apply { if (validated) { return@apply @@ -18429,6 +18934,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -18829,6 +19344,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderAddress = apply { if (validated) { return@apply @@ -19043,6 +19568,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Result = apply { if (validated) { return@apply @@ -19361,6 +19896,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CardholderName = apply { if (validated) { return@apply @@ -19701,6 +20246,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardPushTransferAcceptance = apply { if (validated) { return@apply @@ -20757,6 +21312,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardRefund = apply { if (validated) { return@apply @@ -20997,6 +21562,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Cashback = apply { if (validated) { return@apply @@ -21120,6 +21695,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -21274,6 +21859,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -21528,6 +22123,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Interchange = apply { if (validated) { return@apply @@ -21656,6 +22261,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -22029,6 +22644,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -22706,6 +23331,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseDetails = apply { if (validated) { return@apply @@ -23752,6 +24387,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CarRental = apply { if (validated) { return@apply @@ -23952,6 +24597,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -24105,6 +24760,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -25203,6 +25868,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Lodging = apply { if (validated) { return@apply @@ -25412,6 +26087,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -25561,6 +26246,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -25788,6 +26483,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseIdentifierFormat = apply { if (validated) { return@apply @@ -26571,6 +27276,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Travel = apply { if (validated) { return@apply @@ -27012,6 +27727,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Ancillary = apply { if (validated) { return@apply @@ -27196,6 +27921,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -27426,6 +28161,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Service = apply { if (validated) { return@apply @@ -27766,6 +28511,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the + * API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this + * object doesn't match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -28029,6 +28784,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -28180,6 +28945,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): RestrictedTicketIndicator = apply { if (validated) { return@apply @@ -28337,6 +29112,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TicketChangeIndicator = apply { if (validated) { return@apply @@ -28780,6 +29565,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TripLeg = apply { if (validated) { return@apply @@ -28934,6 +29729,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StopOverCode = apply { if (validated) { return@apply @@ -29459,6 +30264,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -29593,6 +30408,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -30335,6 +31160,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -30497,6 +31332,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -30911,6 +31756,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardRevenuePayment = apply { if (validated) { return@apply @@ -31040,6 +31895,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -32309,6 +33174,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CardSettlement = apply { if (validated) { return@apply @@ -32557,6 +33432,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Cashback = apply { if (validated) { return@apply @@ -32680,6 +33565,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -32834,6 +33729,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -33088,6 +33993,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Interchange = apply { if (validated) { return@apply @@ -33216,6 +34131,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -33377,6 +34302,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -33727,6 +34662,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): NetworkIdentifiers = apply { if (validated) { return@apply @@ -34404,6 +35349,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseDetails = apply { if (validated) { return@apply @@ -35450,6 +36405,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): CarRental = apply { if (validated) { return@apply @@ -35650,6 +36615,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -35803,6 +36778,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -36901,6 +37886,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Lodging = apply { if (validated) { return@apply @@ -37110,6 +38105,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): ExtraCharges = apply { if (validated) { return@apply @@ -37259,6 +38264,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): NoShowIndicator = apply { if (validated) { return@apply @@ -37486,6 +38501,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): PurchaseIdentifierFormat = apply { if (validated) { return@apply @@ -38269,6 +39294,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Travel = apply { if (validated) { return@apply @@ -38710,6 +39745,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Ancillary = apply { if (validated) { return@apply @@ -38894,6 +39939,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -39124,6 +40179,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Service = apply { if (validated) { return@apply @@ -39464,6 +40529,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the + * API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this + * object doesn't match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -39727,6 +40802,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): CreditReasonIndicator = apply { if (validated) { return@apply @@ -39878,6 +40963,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): RestrictedTicketIndicator = apply { if (validated) { return@apply @@ -40035,6 +41130,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TicketChangeIndicator = apply { if (validated) { return@apply @@ -40478,6 +41583,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): TripLeg = apply { if (validated) { return@apply @@ -40632,6 +41747,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API + * for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): StopOverCode = apply { if (validated) { return@apply @@ -41157,6 +42282,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): SchemeFee = apply { if (validated) { return@apply @@ -41291,6 +42426,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -42033,6 +43178,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): FeeType = apply { if (validated) { return@apply @@ -42282,6 +43437,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Surcharge = apply { if (validated) { return@apply @@ -42422,6 +43587,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -42837,6 +44012,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CashbackPayment = apply { if (validated) { return@apply @@ -42966,6 +44151,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -43457,6 +44652,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CheckDepositAcceptance = apply { if (validated) { return@apply @@ -43590,6 +44795,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -44024,6 +45239,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CheckDepositReturn = apply { if (validated) { return@apply @@ -44155,6 +45380,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -44562,6 +45797,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): ReturnReason = apply { if (validated) { return@apply @@ -45132,6 +46377,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): CheckTransferDeposit = apply { if (validated) { return@apply @@ -45263,6 +46518,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Type = apply { if (validated) { return@apply @@ -45474,6 +46739,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): FednowTransferAcknowledgement = apply { if (validated) { return@apply @@ -45776,6 +47051,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): FeePayment = apply { if (validated) { return@apply @@ -45903,6 +47188,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -46610,6 +47905,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundAchTransfer = apply { if (validated) { return@apply @@ -46827,6 +48132,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Addenda = apply { if (validated) { return@apply @@ -46950,6 +48265,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -47131,6 +48456,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected + * types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Freeform = apply { if (validated) { return@apply @@ -47293,6 +48628,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their + * expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for + * existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object + * doesn't match its expected type. + */ fun validate(): Entry = apply { if (validated) { return@apply @@ -47564,6 +48909,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundAchTransferReturnIntention = apply { if (validated) { return@apply @@ -47817,6 +49172,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundCheckAdjustment = apply { if (validated) { return@apply @@ -48017,6 +49382,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -48260,6 +49635,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundCheckDepositReturnIntention = apply { if (validated) { return@apply @@ -48447,6 +49832,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundFednowTransferConfirmation = apply { if (validated) { return@apply @@ -49010,6 +50405,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundRealTimePaymentsTransferConfirmation = apply { if (validated) { return@apply @@ -49147,6 +50552,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -49995,6 +51410,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundWireReversal = apply { if (validated) { return@apply @@ -51075,6 +52500,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundWireTransfer = apply { if (validated) { return@apply @@ -51328,6 +52763,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InboundWireTransferReversal = apply { if (validated) { return@apply @@ -51676,6 +53121,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InterestPayment = apply { if (validated) { return@apply @@ -51805,6 +53260,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -52086,6 +53551,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): InternalSource = apply { if (validated) { return@apply @@ -52211,6 +53686,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -52500,6 +53985,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Reason = apply { if (validated) { return@apply @@ -52630,6 +54125,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Other = apply { if (validated) { return@apply @@ -52990,6 +54495,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): RealTimePaymentsTransferAcknowledgement = apply { if (validated) { return@apply @@ -53187,6 +54702,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SampleFunds = apply { if (validated) { return@apply @@ -53365,6 +54890,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SwiftTransferIntention = apply { if (validated) { return@apply @@ -53541,6 +55076,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): SwiftTransferReturn = apply { if (validated) { return@apply @@ -53890,6 +55435,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): WireTransferIntention = apply { if (validated) { return@apply @@ -54143,6 +55698,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListPageResponse.kt index a101f146b..fad90592e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListPageResponse.kt @@ -193,6 +193,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): TransactionListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt index c87e64756..28e95ae9c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/TransactionListParams.kt @@ -1090,6 +1090,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequest.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequest.kt index b9c3167eb..64a34d349 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequest.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequest.kt @@ -876,6 +876,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): WireDrawdownRequest = apply { if (validated) { return@apply @@ -1240,6 +1248,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditorAddress = apply { if (validated) { return@apply @@ -1606,6 +1623,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DebtorAddress = apply { if (validated) { return@apply @@ -1782,6 +1808,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -1953,6 +1988,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -2087,6 +2131,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestCreateParams.kt index 4655140f3..1b23c0c65 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestCreateParams.kt @@ -1210,6 +1210,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1593,6 +1602,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreditorAddress = apply { if (validated) { return@apply @@ -1944,6 +1962,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): DebtorAddress = apply { if (validated) { return@apply @@ -2125,6 +2152,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): ChargeBearer = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListPageResponse.kt index 8d4656f45..7f2946e2f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListPageResponse.kt @@ -199,6 +199,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): WireDrawdownRequestListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListParams.kt index df59d577d..575865408 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiredrawdownrequests/WireDrawdownRequestListParams.kt @@ -477,6 +477,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransfer.kt index f663b4ad3..de007bc84 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransfer.kt @@ -1182,6 +1182,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): WireTransfer = apply { if (validated) { return@apply @@ -1430,6 +1438,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Approval = apply { if (validated) { return@apply @@ -1654,6 +1671,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Cancellation = apply { if (validated) { return@apply @@ -1940,6 +1966,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): CreatedBy = apply { if (validated) { return@apply @@ -2090,6 +2125,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2260,6 +2305,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): ApiKey = apply { if (validated) { return@apply @@ -2425,6 +2480,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): OAuthApplication = apply { if (validated) { return@apply @@ -2586,6 +2651,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): User = apply { if (validated) { return@apply @@ -2809,6 +2884,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Creditor = apply { if (validated) { return@apply @@ -2970,6 +3054,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -3202,6 +3296,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unstructured = apply { if (validated) { return@apply @@ -3382,6 +3486,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Currency = apply { if (validated) { return@apply @@ -3577,6 +3690,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Debtor = apply { if (validated) { return@apply @@ -3738,6 +3860,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -3970,6 +4102,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unstructured = apply { if (validated) { return@apply @@ -4144,6 +4286,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Network = apply { if (validated) { return@apply @@ -4387,6 +4538,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Remittance = apply { if (validated) { return@apply @@ -4526,6 +4686,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -4776,6 +4946,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Tax = apply { if (validated) { return@apply @@ -4954,6 +5134,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Unstructured = apply { if (validated) { return@apply @@ -5753,6 +5943,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Reversal = apply { if (validated) { return@apply @@ -6014,6 +6213,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Status = apply { if (validated) { return@apply @@ -6219,6 +6427,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Submission = apply { if (validated) { return@apply @@ -6356,6 +6573,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Type = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferCreateParams.kt index 747ff7d0f..d00aa4d5d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferCreateParams.kt @@ -1097,6 +1097,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Body = apply { if (validated) { return@apply @@ -1332,6 +1341,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Creditor = apply { if (validated) { return@apply @@ -1490,6 +1508,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -1710,6 +1738,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unstructured = apply { if (validated) { return@apply @@ -1997,6 +2035,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Remittance = apply { if (validated) { return@apply @@ -2136,6 +2183,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Category = apply { if (validated) { return@apply @@ -2386,6 +2443,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Tax = apply { if (validated) { return@apply @@ -2564,6 +2631,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Unstructured = apply { if (validated) { return@apply @@ -2777,6 +2854,15 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): Debtor = apply { if (validated) { return@apply @@ -2935,6 +3021,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): Address = apply { if (validated) { return@apply @@ -3155,6 +3251,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't + * match its expected type. + */ fun validate(): Unstructured = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListPageResponse.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListPageResponse.kt index b7cccee54..9ac052a47 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListPageResponse.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListPageResponse.kt @@ -195,6 +195,14 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match its + * expected type. + */ fun validate(): WireTransferListPageResponse = apply { if (validated) { return@apply diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListParams.kt index ecfc0119b..aa279f41f 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/wiretransfers/WireTransferListParams.kt @@ -760,6 +760,16 @@ private constructor( private var validated: Boolean = false + /** + * Validates that the types of all values in this object match their expected types + * recursively. + * + * This method is _not_ forwards compatible with new types from the API for existing + * fields. + * + * @throws IncreaseInvalidDataException if any value type in this object doesn't match + * its expected type. + */ fun validate(): In = apply { if (validated) { return@apply From f60bfe77b50b580a3dfaa7795fc331c197c7b836 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 15:51:49 +0000 Subject: [PATCH 3/4] feat(api): api update --- .stats.yml | 4 ++-- .../api/models/routingnumbers/RoutingNumberListParams.kt | 4 ++-- .../increase/api/services/async/RoutingNumberServiceAsync.kt | 4 ++-- .../increase/api/services/blocking/RoutingNumberService.kt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.stats.yml b/.stats.yml index ad2212664..15c18bb6f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 238 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-6e46d23ba59eb2a6d914e53e75f68231b3c5259bb792e44b9bd57b5ee7af9a7b.yml -openapi_spec_hash: 8a7faa0b93068b32ed26567fcf2c7158 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-894485303846b0d3d71172a30ddb9de5903207874792f84c774e9d9900fe0769.yml +openapi_spec_hash: 9a4d6d3040580b3d0a4e0264dd77127f config_hash: ac050010e5453883d5e5fa603554a2e0 diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListParams.kt index f61bb68d6..ae99b054d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/routingnumbers/RoutingNumberListParams.kt @@ -14,8 +14,8 @@ import kotlin.jvm.optionals.getOrNull * You can use this API to confirm if a routing number is valid, such as when a user is providing * you with bank account details. Since routing numbers uniquely identify a bank, this will always * return 0 or 1 entry. In Sandbox, only a few - * [routing numbers are valid](/documentation/sandbox-routing-numbers#sandbox-routing-numbers). - * `110000000` is an example of a Sandbox routing number. + * [routing numbers are valid](/documentation/sandbox-test-values#routing-numbers). `110000000` is + * an example of a Sandbox routing number. */ class RoutingNumberListParams private constructor( diff --git a/increase-java-core/src/main/kotlin/com/increase/api/services/async/RoutingNumberServiceAsync.kt b/increase-java-core/src/main/kotlin/com/increase/api/services/async/RoutingNumberServiceAsync.kt index ff68c4124..d848c0ceb 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/services/async/RoutingNumberServiceAsync.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/services/async/RoutingNumberServiceAsync.kt @@ -28,8 +28,8 @@ interface RoutingNumberServiceAsync { * You can use this API to confirm if a routing number is valid, such as when a user is * providing you with bank account details. Since routing numbers uniquely identify a bank, this * will always return 0 or 1 entry. In Sandbox, only a few - * [routing numbers are valid](/documentation/sandbox-routing-numbers#sandbox-routing-numbers). - * `110000000` is an example of a Sandbox routing number. + * [routing numbers are valid](/documentation/sandbox-test-values#routing-numbers). `110000000` + * is an example of a Sandbox routing number. */ fun list(params: RoutingNumberListParams): CompletableFuture = list(params, RequestOptions.none()) diff --git a/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/RoutingNumberService.kt b/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/RoutingNumberService.kt index d8d9b179d..16696c678 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/RoutingNumberService.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/RoutingNumberService.kt @@ -28,8 +28,8 @@ interface RoutingNumberService { * You can use this API to confirm if a routing number is valid, such as when a user is * providing you with bank account details. Since routing numbers uniquely identify a bank, this * will always return 0 or 1 entry. In Sandbox, only a few - * [routing numbers are valid](/documentation/sandbox-routing-numbers#sandbox-routing-numbers). - * `110000000` is an example of a Sandbox routing number. + * [routing numbers are valid](/documentation/sandbox-test-values#routing-numbers). `110000000` + * is an example of a Sandbox routing number. */ fun list(params: RoutingNumberListParams): RoutingNumberListPage = list(params, RequestOptions.none()) From 3e7eb59519b86b4b6d24d6891cfc3527daa0b777 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 15:52:55 +0000 Subject: [PATCH 4/4] release: 0.540.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ea7f7e9bd..33d070bf6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.539.0" + ".": "0.540.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dc21eeb1..e6752cece 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.540.0 (2026-05-04) + +Full Changelog: [v0.539.0...v0.540.0](https://github.com/Increase/increase-java/compare/v0.539.0...v0.540.0) + +### Features + +* **api:** api update ([f60bfe7](https://github.com/Increase/increase-java/commit/f60bfe77b50b580a3dfaa7795fc331c197c7b836)) + + +### Documentation + +* clarify forwards compat behavior ([0cba430](https://github.com/Increase/increase-java/commit/0cba430cc763aa6afba2074d1c61b3fe9fce7fe8)) + ## 0.539.0 (2026-05-02) Full Changelog: [v0.538.0...v0.539.0](https://github.com/Increase/increase-java/compare/v0.538.0...v0.539.0) diff --git a/README.md b/README.md index 3a87eee1c..68b02ce3c 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.539.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.539.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.539.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.540.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.540.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.540.0) @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe -The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.539.0). +The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.540.0). @@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d ### Gradle ```kotlin -implementation("com.increase.api:increase-java:0.539.0") +implementation("com.increase.api:increase-java:0.540.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.539.0") com.increase.api increase-java - 0.539.0 + 0.540.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 3082825b7..991f89073 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.539.0" // x-release-please-version + version = "0.540.0" // x-release-please-version } subprojects {