// File generated from our OpenAPI spec by Stainless.

package com.increase.api.models.cardpayments

import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import com.increase.api.core.jsonMapper
import java.time.LocalDate
import java.time.OffsetDateTime
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test

internal class CardPaymentTest {

    @Test
    fun create() {
        val cardPayment =
            CardPayment.builder()
                .id("card_payment_nd3k2kacrqjli8482ave")
                .accountId("account_in71c4amph0vgo2qllky")
                .cardId("card_oubs0hwk5rn6knuecxg2")
                .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                .digitalWalletTokenId(null)
                .elements(
                    listOf(
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_AUTHORIZATION)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_REVERSAL)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_INCREMENT)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_SETTLEMENT)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                    )
                )
                .physicalCardId(null)
                .state(
                    CardPayment.State.builder()
                        .authorizedAmount(100L)
                        .fuelConfirmedAmount(0L)
                        .incrementedAmount(20L)
                        .refundAuthorizedAmount(0L)
                        .refundedAmount(0L)
                        .reversedAmount(20L)
                        .settledAmount(100L)
                        .build()
                )
                .type(CardPayment.Type.CARD_PAYMENT)
                .build()

        assertThat(cardPayment.id()).isEqualTo("card_payment_nd3k2kacrqjli8482ave")
        assertThat(cardPayment.accountId()).isEqualTo("account_in71c4amph0vgo2qllky")
        assertThat(cardPayment.cardId()).isEqualTo("card_oubs0hwk5rn6knuecxg2")
        assertThat(cardPayment.createdAt()).isEqualTo(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
        assertThat(cardPayment.digitalWalletTokenId()).isEmpty
        assertThat(cardPayment.elements())
            .containsExactly(
                CardPayment.Element.builder()
                    .category(CardPayment.Element.Category.CARD_AUTHORIZATION)
                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                    .cardAuthentication(
                        CardPayment.Element.CardAuthentication.builder()
                            .id("card_authentication_xft30xjdubptlgrxboch")
                            .accessControlServerTransactionIdentifier(
                                "1a628378-4d43-4438-a31f-25c0e1bf2537"
                            )
                            .billingAddressCity("New York")
                            .billingAddressCountry("US")
                            .billingAddressLine1("33 Liberty Street")
                            .billingAddressLine2(null)
                            .billingAddressLine3(null)
                            .billingAddressPostalCode("10045")
                            .billingAddressState("NY")
                            .cardId("card_oubs0hwk5rn6knuecxg2")
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cardholderEmail("user@example.com")
                            .cardholderName("Ian Crease")
                            .challenge(
                                CardPayment.Element.CardAuthentication.Challenge.builder()
                                    .addAttempt(
                                        CardPayment.Element.CardAuthentication.Challenge.Attempt
                                            .builder()
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .outcome(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .Outcome
                                                    .SUCCESSFUL
                                            )
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .oneTimeCode("123456")
                                    .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
                                    .verificationMethod(
                                        CardPayment.Element.CardAuthentication.Challenge
                                            .VerificationMethod
                                            .TEXT_MESSAGE
                                    )
                                    .verificationValue("+16505046304")
                                    .build()
                            )
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .denyReason(null)
                            .deviceChannel(
                                CardPayment.Element.CardAuthentication.DeviceChannel.builder()
                                    .browser(
                                        CardPayment.Element.CardAuthentication.DeviceChannel.Browser
                                            .builder()
                                            .acceptHeader("text/html")
                                            .ipAddress("203.0.113.0")
                                            .javascriptEnabled(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .JavascriptEnabled
                                                    .ENABLED
                                            )
                                            .language("en-US")
                                            .userAgent("Mozilla/5.0")
                                            .build()
                                    )
                                    .category(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .Category
                                            .BROWSER
                                    )
                                    .merchantInitiated(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .MerchantInitiated
                                            .builder()
                                            .indicator(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .Indicator
                                                    .RECURRING_TRANSACTION
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .directoryServerTransactionIdentifier(
                                "8990a978-5eb2-4440-8539-5619e24b0b0d"
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .messageCategory(
                                CardPayment.Element.CardAuthentication.MessageCategory.builder()
                                    .category(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Category
                                            .PAYMENT_AUTHENTICATION
                                    )
                                    .nonPayment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .NonPayment
                                            .builder()
                                            .build()
                                    )
                                    .payment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Payment
                                            .builder()
                                            .purchaseAmount(861L)
                                            .purchaseAmountCardholderEstimated(1000L)
                                            .purchaseCurrency("EUR")
                                            .transactionType(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .TransactionType
                                                    .GOODS_SERVICE_PURCHASE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .priorAuthenticatedCardPaymentId(null)
                            .realTimeDecisionId(null)
                            .requestorAuthenticationIndicator(
                                CardPayment.Element.CardAuthentication
                                    .RequestorAuthenticationIndicator
                                    .PAYMENT_TRANSACTION
                            )
                            .requestorChallengeIndicator(
                                CardPayment.Element.CardAuthentication.RequestorChallengeIndicator
                                    .NO_PREFERENCE
                            )
                            .requestorName("Example Requestor")
                            .requestorUrl("https://example.com")
                            .shippingAddressCity("New York")
                            .shippingAddressCountry("US")
                            .shippingAddressLine1("33 Liberty Street")
                            .shippingAddressLine2(null)
                            .shippingAddressLine3(null)
                            .shippingAddressPostalCode("10045")
                            .shippingAddressState("NY")
                            .status(
                                CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
                            )
                            .threeDSecureServerTransactionIdentifier(
                                "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                            )
                            .type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
                            .build()
                    )
                    .cardAuthorization(
                        CardPayment.Element.CardAuthorization.builder()
                            .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .actioner(CardPayment.Element.CardAuthorization.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardAuthorization.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardAuthorization.Direction.SETTLEMENT)
                            .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .healthcare(
                                CardPayment.Element.CardAuthorization.Healthcare.builder()
                                    .merchantNinetyPercentEligibility(
                                        CardPayment.Element.CardAuthorization.Healthcare
                                            .MerchantNinetyPercentEligibility
                                            .ELIGIBLE
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardAuthorization.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardAuthorization.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId(null)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardAuthorization.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardAuthorization.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardAuthorization.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardAuthorization.Type.CARD_AUTHORIZATION)
                            .verification(
                                CardPayment.Element.CardAuthorization.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardAuthorizationExpiration(
                        CardPayment.Element.CardAuthorizationExpiration.builder()
                            .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardAuthorizationExpiration.Currency.USD)
                            .expiredAmount(20L)
                            .network(CardPayment.Element.CardAuthorizationExpiration.Network.VISA)
                            .type(
                                CardPayment.Element.CardAuthorizationExpiration.Type
                                    .CARD_AUTHORIZATION_EXPIRATION
                            )
                            .build()
                    )
                    .cardBalanceInquiry(
                        CardPayment.Element.CardBalanceInquiry.builder()
                            .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                            .additionalAmounts(
                                CardPayment.Element.CardBalanceInquiry.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .balance(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardBalanceInquiry.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardBalanceInquiry.Type.CARD_BALANCE_INQUIRY)
                            .verification(
                                CardPayment.Element.CardBalanceInquiry.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardDecline(
                        CardPayment.Element.CardDecline.builder()
                            .id("card_decline_bx3o8zd7glq8yvtwg25v")
                            .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(-1000L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardDecline.Currency.USD)
                            .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8")
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                            .incrementedCardAuthorizationId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState(null)
                            .networkDetails(
                                CardPayment.Element.CardDecline.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardDecline.NetworkDetails.Category.VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardDecline.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(-1000L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .realTimeDecisionReason(null)
                            .reason(CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS)
                            .addSchemeFee(
                                CardPayment.Element.CardDecline.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardDecline.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardDecline.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .verification(
                                CardPayment.Element.CardDecline.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardDecline.Verification.CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFinancial(
                        CardPayment.Element.CardFinancial.builder()
                            .id("card_financial_di5b98i72ppomo268zfk")
                            .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardFinancial.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardFinancial.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardFinancial.Direction.SETTLEMENT)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardFinancial.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardFinancial.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardFinancial.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFinancial.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                            .verification(
                                CardPayment.Element.CardFinancial.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFuelConfirmation(
                        CardPayment.Element.CardFuelConfirmation.builder()
                            .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                            .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                    .builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .addSchemeFee(
                                CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(
                                CardPayment.Element.CardFuelConfirmation.Type.CARD_FUEL_CONFIRMATION
                            )
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardIncrement(
                        CardPayment.Element.CardIncrement.builder()
                            .id("card_increment_6ztayc58j1od0rpebp3e")
                            .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardIncrement.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(20L)
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardIncrement.Currency.USD)
                            .network(CardPayment.Element.CardIncrement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardIncrement.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentAmount(20L)
                            .presentmentCurrency("USD")
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardIncrement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardIncrement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardRefund(
                        CardPayment.Element.CardRefund.builder()
                            .id("card_refund_imgc2xwplh6t4r3gn16e")
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardRefund.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(CardPayment.Element.CardRefund.Cashback.Currency.USD)
                                    .build()
                            )
                            .currency(CardPayment.Element.CardRefund.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardRefund.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardRefund.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkIdentifiers(
                                CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardRefund.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardRefund.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardRefund.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(CardPayment.Element.CardRefund.SchemeFee.Currency.USD)
                                    .feeType(
                                        CardPayment.Element.CardRefund.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                            .build()
                    )
                    .cardReversal(
                        CardPayment.Element.CardReversal.builder()
                            .id("card_reversal_8vr9qy60cgf5d0slpb68")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardReversal.Currency.USD)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardReversal.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardReversal.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentCurrency("USD")
                            .reversalAmount(20L)
                            .reversalPresentmentAmount(20L)
                            .reversalReason(
                                CardPayment.Element.CardReversal.ReversalReason.REVERSED_BY_CUSTOMER
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardReversal.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardReversal.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardReversal.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                            .updatedAuthorizationAmount(80L)
                            .updatedAuthorizationPresentmentAmount(80L)
                            .build()
                    )
                    .cardSettlement(
                        CardPayment.Element.CardSettlement.builder()
                            .id("card_settlement_khv5kfeu0vndj291omg6")
                            .amount(100L)
                            .cardAuthorization(null)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardSettlement.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Cashback.Currency.USD
                                    )
                                    .build()
                            )
                            .currency(CardPayment.Element.CardSettlement.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardSettlement.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardSettlement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardSettlement.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardSettlement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardSettlement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .surcharge(
                                CardPayment.Element.CardSettlement.Surcharge.builder()
                                    .amount(0L)
                                    .presentmentAmount(0L)
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                            .build()
                    )
                    .cardValidation(
                        CardPayment.Element.CardValidation.builder()
                            .id("card_validation_yi4e59jiaz6n9hx8tczv")
                            .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardValidation.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardValidation.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardValidation.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardValidation.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardValidation.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardValidation.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardValidation.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardValidation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardValidation.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardValidation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardValidation.Type.INBOUND_CARD_VALIDATION)
                            .verification(
                                CardPayment.Element.CardValidation.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .other(CardPayment.Element.Other.builder().build())
                    .build(),
                CardPayment.Element.builder()
                    .category(CardPayment.Element.Category.CARD_REVERSAL)
                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                    .cardAuthentication(
                        CardPayment.Element.CardAuthentication.builder()
                            .id("card_authentication_xft30xjdubptlgrxboch")
                            .accessControlServerTransactionIdentifier(
                                "1a628378-4d43-4438-a31f-25c0e1bf2537"
                            )
                            .billingAddressCity("New York")
                            .billingAddressCountry("US")
                            .billingAddressLine1("33 Liberty Street")
                            .billingAddressLine2(null)
                            .billingAddressLine3(null)
                            .billingAddressPostalCode("10045")
                            .billingAddressState("NY")
                            .cardId("card_oubs0hwk5rn6knuecxg2")
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cardholderEmail("user@example.com")
                            .cardholderName("Ian Crease")
                            .challenge(
                                CardPayment.Element.CardAuthentication.Challenge.builder()
                                    .addAttempt(
                                        CardPayment.Element.CardAuthentication.Challenge.Attempt
                                            .builder()
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .outcome(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .Outcome
                                                    .SUCCESSFUL
                                            )
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .oneTimeCode("123456")
                                    .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
                                    .verificationMethod(
                                        CardPayment.Element.CardAuthentication.Challenge
                                            .VerificationMethod
                                            .TEXT_MESSAGE
                                    )
                                    .verificationValue("+16505046304")
                                    .build()
                            )
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .denyReason(null)
                            .deviceChannel(
                                CardPayment.Element.CardAuthentication.DeviceChannel.builder()
                                    .browser(
                                        CardPayment.Element.CardAuthentication.DeviceChannel.Browser
                                            .builder()
                                            .acceptHeader("text/html")
                                            .ipAddress("203.0.113.0")
                                            .javascriptEnabled(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .JavascriptEnabled
                                                    .ENABLED
                                            )
                                            .language("en-US")
                                            .userAgent("Mozilla/5.0")
                                            .build()
                                    )
                                    .category(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .Category
                                            .BROWSER
                                    )
                                    .merchantInitiated(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .MerchantInitiated
                                            .builder()
                                            .indicator(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .Indicator
                                                    .RECURRING_TRANSACTION
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .directoryServerTransactionIdentifier(
                                "8990a978-5eb2-4440-8539-5619e24b0b0d"
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .messageCategory(
                                CardPayment.Element.CardAuthentication.MessageCategory.builder()
                                    .category(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Category
                                            .PAYMENT_AUTHENTICATION
                                    )
                                    .nonPayment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .NonPayment
                                            .builder()
                                            .build()
                                    )
                                    .payment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Payment
                                            .builder()
                                            .purchaseAmount(861L)
                                            .purchaseAmountCardholderEstimated(1000L)
                                            .purchaseCurrency("EUR")
                                            .transactionType(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .TransactionType
                                                    .GOODS_SERVICE_PURCHASE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .priorAuthenticatedCardPaymentId(null)
                            .realTimeDecisionId(null)
                            .requestorAuthenticationIndicator(
                                CardPayment.Element.CardAuthentication
                                    .RequestorAuthenticationIndicator
                                    .PAYMENT_TRANSACTION
                            )
                            .requestorChallengeIndicator(
                                CardPayment.Element.CardAuthentication.RequestorChallengeIndicator
                                    .NO_PREFERENCE
                            )
                            .requestorName("Example Requestor")
                            .requestorUrl("https://example.com")
                            .shippingAddressCity("New York")
                            .shippingAddressCountry("US")
                            .shippingAddressLine1("33 Liberty Street")
                            .shippingAddressLine2(null)
                            .shippingAddressLine3(null)
                            .shippingAddressPostalCode("10045")
                            .shippingAddressState("NY")
                            .status(
                                CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
                            )
                            .threeDSecureServerTransactionIdentifier(
                                "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                            )
                            .type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
                            .build()
                    )
                    .cardAuthorization(
                        CardPayment.Element.CardAuthorization.builder()
                            .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .actioner(CardPayment.Element.CardAuthorization.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardAuthorization.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardAuthorization.Direction.SETTLEMENT)
                            .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .healthcare(
                                CardPayment.Element.CardAuthorization.Healthcare.builder()
                                    .merchantNinetyPercentEligibility(
                                        CardPayment.Element.CardAuthorization.Healthcare
                                            .MerchantNinetyPercentEligibility
                                            .ELIGIBLE
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardAuthorization.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardAuthorization.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId(null)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardAuthorization.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardAuthorization.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardAuthorization.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardAuthorization.Type.CARD_AUTHORIZATION)
                            .verification(
                                CardPayment.Element.CardAuthorization.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardAuthorizationExpiration(
                        CardPayment.Element.CardAuthorizationExpiration.builder()
                            .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardAuthorizationExpiration.Currency.USD)
                            .expiredAmount(20L)
                            .network(CardPayment.Element.CardAuthorizationExpiration.Network.VISA)
                            .type(
                                CardPayment.Element.CardAuthorizationExpiration.Type
                                    .CARD_AUTHORIZATION_EXPIRATION
                            )
                            .build()
                    )
                    .cardBalanceInquiry(
                        CardPayment.Element.CardBalanceInquiry.builder()
                            .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                            .additionalAmounts(
                                CardPayment.Element.CardBalanceInquiry.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .balance(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardBalanceInquiry.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardBalanceInquiry.Type.CARD_BALANCE_INQUIRY)
                            .verification(
                                CardPayment.Element.CardBalanceInquiry.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardDecline(
                        CardPayment.Element.CardDecline.builder()
                            .id("card_decline_bx3o8zd7glq8yvtwg25v")
                            .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(-1000L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardDecline.Currency.USD)
                            .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8")
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                            .incrementedCardAuthorizationId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState(null)
                            .networkDetails(
                                CardPayment.Element.CardDecline.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardDecline.NetworkDetails.Category.VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardDecline.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(-1000L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .realTimeDecisionReason(null)
                            .reason(CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS)
                            .addSchemeFee(
                                CardPayment.Element.CardDecline.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardDecline.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardDecline.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .verification(
                                CardPayment.Element.CardDecline.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardDecline.Verification.CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFinancial(
                        CardPayment.Element.CardFinancial.builder()
                            .id("card_financial_di5b98i72ppomo268zfk")
                            .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardFinancial.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardFinancial.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardFinancial.Direction.SETTLEMENT)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardFinancial.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardFinancial.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardFinancial.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFinancial.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                            .verification(
                                CardPayment.Element.CardFinancial.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFuelConfirmation(
                        CardPayment.Element.CardFuelConfirmation.builder()
                            .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                            .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                    .builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .addSchemeFee(
                                CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(
                                CardPayment.Element.CardFuelConfirmation.Type.CARD_FUEL_CONFIRMATION
                            )
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardIncrement(
                        CardPayment.Element.CardIncrement.builder()
                            .id("card_increment_6ztayc58j1od0rpebp3e")
                            .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardIncrement.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(20L)
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardIncrement.Currency.USD)
                            .network(CardPayment.Element.CardIncrement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardIncrement.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentAmount(20L)
                            .presentmentCurrency("USD")
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardIncrement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardIncrement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardRefund(
                        CardPayment.Element.CardRefund.builder()
                            .id("card_refund_imgc2xwplh6t4r3gn16e")
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardRefund.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(CardPayment.Element.CardRefund.Cashback.Currency.USD)
                                    .build()
                            )
                            .currency(CardPayment.Element.CardRefund.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardRefund.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardRefund.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkIdentifiers(
                                CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardRefund.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardRefund.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardRefund.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(CardPayment.Element.CardRefund.SchemeFee.Currency.USD)
                                    .feeType(
                                        CardPayment.Element.CardRefund.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                            .build()
                    )
                    .cardReversal(
                        CardPayment.Element.CardReversal.builder()
                            .id("card_reversal_8vr9qy60cgf5d0slpb68")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardReversal.Currency.USD)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardReversal.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardReversal.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentCurrency("USD")
                            .reversalAmount(20L)
                            .reversalPresentmentAmount(20L)
                            .reversalReason(
                                CardPayment.Element.CardReversal.ReversalReason.REVERSED_BY_CUSTOMER
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardReversal.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardReversal.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardReversal.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                            .updatedAuthorizationAmount(80L)
                            .updatedAuthorizationPresentmentAmount(80L)
                            .build()
                    )
                    .cardSettlement(
                        CardPayment.Element.CardSettlement.builder()
                            .id("card_settlement_khv5kfeu0vndj291omg6")
                            .amount(100L)
                            .cardAuthorization(null)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardSettlement.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Cashback.Currency.USD
                                    )
                                    .build()
                            )
                            .currency(CardPayment.Element.CardSettlement.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardSettlement.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardSettlement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardSettlement.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardSettlement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardSettlement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .surcharge(
                                CardPayment.Element.CardSettlement.Surcharge.builder()
                                    .amount(0L)
                                    .presentmentAmount(0L)
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                            .build()
                    )
                    .cardValidation(
                        CardPayment.Element.CardValidation.builder()
                            .id("card_validation_yi4e59jiaz6n9hx8tczv")
                            .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardValidation.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardValidation.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardValidation.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardValidation.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardValidation.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardValidation.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardValidation.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardValidation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardValidation.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardValidation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardValidation.Type.INBOUND_CARD_VALIDATION)
                            .verification(
                                CardPayment.Element.CardValidation.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .other(CardPayment.Element.Other.builder().build())
                    .build(),
                CardPayment.Element.builder()
                    .category(CardPayment.Element.Category.CARD_INCREMENT)
                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                    .cardAuthentication(
                        CardPayment.Element.CardAuthentication.builder()
                            .id("card_authentication_xft30xjdubptlgrxboch")
                            .accessControlServerTransactionIdentifier(
                                "1a628378-4d43-4438-a31f-25c0e1bf2537"
                            )
                            .billingAddressCity("New York")
                            .billingAddressCountry("US")
                            .billingAddressLine1("33 Liberty Street")
                            .billingAddressLine2(null)
                            .billingAddressLine3(null)
                            .billingAddressPostalCode("10045")
                            .billingAddressState("NY")
                            .cardId("card_oubs0hwk5rn6knuecxg2")
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cardholderEmail("user@example.com")
                            .cardholderName("Ian Crease")
                            .challenge(
                                CardPayment.Element.CardAuthentication.Challenge.builder()
                                    .addAttempt(
                                        CardPayment.Element.CardAuthentication.Challenge.Attempt
                                            .builder()
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .outcome(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .Outcome
                                                    .SUCCESSFUL
                                            )
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .oneTimeCode("123456")
                                    .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
                                    .verificationMethod(
                                        CardPayment.Element.CardAuthentication.Challenge
                                            .VerificationMethod
                                            .TEXT_MESSAGE
                                    )
                                    .verificationValue("+16505046304")
                                    .build()
                            )
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .denyReason(null)
                            .deviceChannel(
                                CardPayment.Element.CardAuthentication.DeviceChannel.builder()
                                    .browser(
                                        CardPayment.Element.CardAuthentication.DeviceChannel.Browser
                                            .builder()
                                            .acceptHeader("text/html")
                                            .ipAddress("203.0.113.0")
                                            .javascriptEnabled(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .JavascriptEnabled
                                                    .ENABLED
                                            )
                                            .language("en-US")
                                            .userAgent("Mozilla/5.0")
                                            .build()
                                    )
                                    .category(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .Category
                                            .BROWSER
                                    )
                                    .merchantInitiated(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .MerchantInitiated
                                            .builder()
                                            .indicator(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .Indicator
                                                    .RECURRING_TRANSACTION
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .directoryServerTransactionIdentifier(
                                "8990a978-5eb2-4440-8539-5619e24b0b0d"
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .messageCategory(
                                CardPayment.Element.CardAuthentication.MessageCategory.builder()
                                    .category(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Category
                                            .PAYMENT_AUTHENTICATION
                                    )
                                    .nonPayment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .NonPayment
                                            .builder()
                                            .build()
                                    )
                                    .payment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Payment
                                            .builder()
                                            .purchaseAmount(861L)
                                            .purchaseAmountCardholderEstimated(1000L)
                                            .purchaseCurrency("EUR")
                                            .transactionType(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .TransactionType
                                                    .GOODS_SERVICE_PURCHASE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .priorAuthenticatedCardPaymentId(null)
                            .realTimeDecisionId(null)
                            .requestorAuthenticationIndicator(
                                CardPayment.Element.CardAuthentication
                                    .RequestorAuthenticationIndicator
                                    .PAYMENT_TRANSACTION
                            )
                            .requestorChallengeIndicator(
                                CardPayment.Element.CardAuthentication.RequestorChallengeIndicator
                                    .NO_PREFERENCE
                            )
                            .requestorName("Example Requestor")
                            .requestorUrl("https://example.com")
                            .shippingAddressCity("New York")
                            .shippingAddressCountry("US")
                            .shippingAddressLine1("33 Liberty Street")
                            .shippingAddressLine2(null)
                            .shippingAddressLine3(null)
                            .shippingAddressPostalCode("10045")
                            .shippingAddressState("NY")
                            .status(
                                CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
                            )
                            .threeDSecureServerTransactionIdentifier(
                                "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                            )
                            .type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
                            .build()
                    )
                    .cardAuthorization(
                        CardPayment.Element.CardAuthorization.builder()
                            .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .actioner(CardPayment.Element.CardAuthorization.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardAuthorization.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardAuthorization.Direction.SETTLEMENT)
                            .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .healthcare(
                                CardPayment.Element.CardAuthorization.Healthcare.builder()
                                    .merchantNinetyPercentEligibility(
                                        CardPayment.Element.CardAuthorization.Healthcare
                                            .MerchantNinetyPercentEligibility
                                            .ELIGIBLE
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardAuthorization.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardAuthorization.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId(null)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardAuthorization.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardAuthorization.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardAuthorization.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardAuthorization.Type.CARD_AUTHORIZATION)
                            .verification(
                                CardPayment.Element.CardAuthorization.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardAuthorizationExpiration(
                        CardPayment.Element.CardAuthorizationExpiration.builder()
                            .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardAuthorizationExpiration.Currency.USD)
                            .expiredAmount(20L)
                            .network(CardPayment.Element.CardAuthorizationExpiration.Network.VISA)
                            .type(
                                CardPayment.Element.CardAuthorizationExpiration.Type
                                    .CARD_AUTHORIZATION_EXPIRATION
                            )
                            .build()
                    )
                    .cardBalanceInquiry(
                        CardPayment.Element.CardBalanceInquiry.builder()
                            .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                            .additionalAmounts(
                                CardPayment.Element.CardBalanceInquiry.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .balance(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardBalanceInquiry.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardBalanceInquiry.Type.CARD_BALANCE_INQUIRY)
                            .verification(
                                CardPayment.Element.CardBalanceInquiry.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardDecline(
                        CardPayment.Element.CardDecline.builder()
                            .id("card_decline_bx3o8zd7glq8yvtwg25v")
                            .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(-1000L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardDecline.Currency.USD)
                            .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8")
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                            .incrementedCardAuthorizationId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState(null)
                            .networkDetails(
                                CardPayment.Element.CardDecline.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardDecline.NetworkDetails.Category.VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardDecline.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(-1000L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .realTimeDecisionReason(null)
                            .reason(CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS)
                            .addSchemeFee(
                                CardPayment.Element.CardDecline.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardDecline.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardDecline.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .verification(
                                CardPayment.Element.CardDecline.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardDecline.Verification.CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFinancial(
                        CardPayment.Element.CardFinancial.builder()
                            .id("card_financial_di5b98i72ppomo268zfk")
                            .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardFinancial.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardFinancial.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardFinancial.Direction.SETTLEMENT)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardFinancial.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardFinancial.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardFinancial.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFinancial.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                            .verification(
                                CardPayment.Element.CardFinancial.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFuelConfirmation(
                        CardPayment.Element.CardFuelConfirmation.builder()
                            .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                            .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                    .builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .addSchemeFee(
                                CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(
                                CardPayment.Element.CardFuelConfirmation.Type.CARD_FUEL_CONFIRMATION
                            )
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardIncrement(
                        CardPayment.Element.CardIncrement.builder()
                            .id("card_increment_6ztayc58j1od0rpebp3e")
                            .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardIncrement.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(20L)
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardIncrement.Currency.USD)
                            .network(CardPayment.Element.CardIncrement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardIncrement.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentAmount(20L)
                            .presentmentCurrency("USD")
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardIncrement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardIncrement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardRefund(
                        CardPayment.Element.CardRefund.builder()
                            .id("card_refund_imgc2xwplh6t4r3gn16e")
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardRefund.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(CardPayment.Element.CardRefund.Cashback.Currency.USD)
                                    .build()
                            )
                            .currency(CardPayment.Element.CardRefund.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardRefund.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardRefund.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkIdentifiers(
                                CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardRefund.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardRefund.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardRefund.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(CardPayment.Element.CardRefund.SchemeFee.Currency.USD)
                                    .feeType(
                                        CardPayment.Element.CardRefund.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                            .build()
                    )
                    .cardReversal(
                        CardPayment.Element.CardReversal.builder()
                            .id("card_reversal_8vr9qy60cgf5d0slpb68")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardReversal.Currency.USD)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardReversal.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardReversal.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentCurrency("USD")
                            .reversalAmount(20L)
                            .reversalPresentmentAmount(20L)
                            .reversalReason(
                                CardPayment.Element.CardReversal.ReversalReason.REVERSED_BY_CUSTOMER
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardReversal.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardReversal.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardReversal.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                            .updatedAuthorizationAmount(80L)
                            .updatedAuthorizationPresentmentAmount(80L)
                            .build()
                    )
                    .cardSettlement(
                        CardPayment.Element.CardSettlement.builder()
                            .id("card_settlement_khv5kfeu0vndj291omg6")
                            .amount(100L)
                            .cardAuthorization(null)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardSettlement.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Cashback.Currency.USD
                                    )
                                    .build()
                            )
                            .currency(CardPayment.Element.CardSettlement.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardSettlement.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardSettlement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardSettlement.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardSettlement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardSettlement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .surcharge(
                                CardPayment.Element.CardSettlement.Surcharge.builder()
                                    .amount(0L)
                                    .presentmentAmount(0L)
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                            .build()
                    )
                    .cardValidation(
                        CardPayment.Element.CardValidation.builder()
                            .id("card_validation_yi4e59jiaz6n9hx8tczv")
                            .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardValidation.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardValidation.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardValidation.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardValidation.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardValidation.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardValidation.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardValidation.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardValidation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardValidation.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardValidation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardValidation.Type.INBOUND_CARD_VALIDATION)
                            .verification(
                                CardPayment.Element.CardValidation.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .other(CardPayment.Element.Other.builder().build())
                    .build(),
                CardPayment.Element.builder()
                    .category(CardPayment.Element.Category.CARD_SETTLEMENT)
                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                    .cardAuthentication(
                        CardPayment.Element.CardAuthentication.builder()
                            .id("card_authentication_xft30xjdubptlgrxboch")
                            .accessControlServerTransactionIdentifier(
                                "1a628378-4d43-4438-a31f-25c0e1bf2537"
                            )
                            .billingAddressCity("New York")
                            .billingAddressCountry("US")
                            .billingAddressLine1("33 Liberty Street")
                            .billingAddressLine2(null)
                            .billingAddressLine3(null)
                            .billingAddressPostalCode("10045")
                            .billingAddressState("NY")
                            .cardId("card_oubs0hwk5rn6knuecxg2")
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cardholderEmail("user@example.com")
                            .cardholderName("Ian Crease")
                            .challenge(
                                CardPayment.Element.CardAuthentication.Challenge.builder()
                                    .addAttempt(
                                        CardPayment.Element.CardAuthentication.Challenge.Attempt
                                            .builder()
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .outcome(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .Outcome
                                                    .SUCCESSFUL
                                            )
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .oneTimeCode("123456")
                                    .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
                                    .verificationMethod(
                                        CardPayment.Element.CardAuthentication.Challenge
                                            .VerificationMethod
                                            .TEXT_MESSAGE
                                    )
                                    .verificationValue("+16505046304")
                                    .build()
                            )
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .denyReason(null)
                            .deviceChannel(
                                CardPayment.Element.CardAuthentication.DeviceChannel.builder()
                                    .browser(
                                        CardPayment.Element.CardAuthentication.DeviceChannel.Browser
                                            .builder()
                                            .acceptHeader("text/html")
                                            .ipAddress("203.0.113.0")
                                            .javascriptEnabled(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .JavascriptEnabled
                                                    .ENABLED
                                            )
                                            .language("en-US")
                                            .userAgent("Mozilla/5.0")
                                            .build()
                                    )
                                    .category(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .Category
                                            .BROWSER
                                    )
                                    .merchantInitiated(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .MerchantInitiated
                                            .builder()
                                            .indicator(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .Indicator
                                                    .RECURRING_TRANSACTION
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .directoryServerTransactionIdentifier(
                                "8990a978-5eb2-4440-8539-5619e24b0b0d"
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .messageCategory(
                                CardPayment.Element.CardAuthentication.MessageCategory.builder()
                                    .category(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Category
                                            .PAYMENT_AUTHENTICATION
                                    )
                                    .nonPayment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .NonPayment
                                            .builder()
                                            .build()
                                    )
                                    .payment(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .Payment
                                            .builder()
                                            .purchaseAmount(861L)
                                            .purchaseAmountCardholderEstimated(1000L)
                                            .purchaseCurrency("EUR")
                                            .transactionType(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .TransactionType
                                                    .GOODS_SERVICE_PURCHASE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .priorAuthenticatedCardPaymentId(null)
                            .realTimeDecisionId(null)
                            .requestorAuthenticationIndicator(
                                CardPayment.Element.CardAuthentication
                                    .RequestorAuthenticationIndicator
                                    .PAYMENT_TRANSACTION
                            )
                            .requestorChallengeIndicator(
                                CardPayment.Element.CardAuthentication.RequestorChallengeIndicator
                                    .NO_PREFERENCE
                            )
                            .requestorName("Example Requestor")
                            .requestorUrl("https://example.com")
                            .shippingAddressCity("New York")
                            .shippingAddressCountry("US")
                            .shippingAddressLine1("33 Liberty Street")
                            .shippingAddressLine2(null)
                            .shippingAddressLine3(null)
                            .shippingAddressPostalCode("10045")
                            .shippingAddressState("NY")
                            .status(
                                CardPayment.Element.CardAuthentication.Status.VALIDATING_CHALLENGE
                            )
                            .threeDSecureServerTransactionIdentifier(
                                "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                            )
                            .type(CardPayment.Element.CardAuthentication.Type.CARD_AUTHENTICATION)
                            .build()
                    )
                    .cardAuthorization(
                        CardPayment.Element.CardAuthorization.builder()
                            .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .actioner(CardPayment.Element.CardAuthorization.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardAuthorization.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardAuthorization.Direction.SETTLEMENT)
                            .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .healthcare(
                                CardPayment.Element.CardAuthorization.Healthcare.builder()
                                    .merchantNinetyPercentEligibility(
                                        CardPayment.Element.CardAuthorization.Healthcare
                                            .MerchantNinetyPercentEligibility
                                            .ELIGIBLE
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardAuthorization.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardAuthorization.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardAuthorization.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId(null)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardAuthorization.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardAuthorization.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardAuthorization.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardAuthorization.Type.CARD_AUTHORIZATION)
                            .verification(
                                CardPayment.Element.CardAuthorization.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardAuthorization.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardAuthorizationExpiration(
                        CardPayment.Element.CardAuthorizationExpiration.builder()
                            .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardAuthorizationExpiration.Currency.USD)
                            .expiredAmount(20L)
                            .network(CardPayment.Element.CardAuthorizationExpiration.Network.VISA)
                            .type(
                                CardPayment.Element.CardAuthorizationExpiration.Type
                                    .CARD_AUTHORIZATION_EXPIRATION
                            )
                            .build()
                    )
                    .cardBalanceInquiry(
                        CardPayment.Element.CardBalanceInquiry.builder()
                            .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                            .additionalAmounts(
                                CardPayment.Element.CardBalanceInquiry.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .balance(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardBalanceInquiry.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardBalanceInquiry.Type.CARD_BALANCE_INQUIRY)
                            .verification(
                                CardPayment.Element.CardBalanceInquiry.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardDecline(
                        CardPayment.Element.CardDecline.builder()
                            .id("card_decline_bx3o8zd7glq8yvtwg25v")
                            .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardDecline.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(-1000L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardDecline.Currency.USD)
                            .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8")
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                            .incrementedCardAuthorizationId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState(null)
                            .networkDetails(
                                CardPayment.Element.CardDecline.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardDecline.NetworkDetails.Category.VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardDecline.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(-1000L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .realTimeDecisionReason(null)
                            .reason(CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS)
                            .addSchemeFee(
                                CardPayment.Element.CardDecline.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardDecline.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardDecline.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .verification(
                                CardPayment.Element.CardDecline.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardDecline.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardDecline.Verification.CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFinancial(
                        CardPayment.Element.CardFinancial.builder()
                            .id("card_financial_di5b98i72ppomo268zfk")
                            .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardFinancial.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardFinancial.Currency.USD)
                            .digitalWalletTokenId(null)
                            .direction(CardPayment.Element.CardFinancial.Direction.SETTLEMENT)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardFinancial.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardFinancial.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .processingCategory(
                                CardPayment.Element.CardFinancial.ProcessingCategory.PURCHASE
                            )
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardFinancial.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFinancial.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                            .verification(
                                CardPayment.Element.CardFinancial.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardFinancial.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .cardFuelConfirmation(
                        CardPayment.Element.CardFuelConfirmation.builder()
                            .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                            .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                    .builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .addSchemeFee(
                                CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.Currency
                                            .USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(
                                CardPayment.Element.CardFuelConfirmation.Type.CARD_FUEL_CONFIRMATION
                            )
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardIncrement(
                        CardPayment.Element.CardIncrement.builder()
                            .id("card_increment_6ztayc58j1od0rpebp3e")
                            .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardIncrement.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .amount(20L)
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardIncrement.Currency.USD)
                            .network(CardPayment.Element.CardIncrement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardIncrement.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentAmount(20L)
                            .presentmentCurrency("USD")
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardIncrement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardIncrement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                            .updatedAuthorizationAmount(120L)
                            .build()
                    )
                    .cardRefund(
                        CardPayment.Element.CardRefund.builder()
                            .id("card_refund_imgc2xwplh6t4r3gn16e")
                            .amount(100L)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardRefund.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(CardPayment.Element.CardRefund.Cashback.Currency.USD)
                                    .build()
                            )
                            .currency(CardPayment.Element.CardRefund.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardRefund.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardRefund.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkIdentifiers(
                                CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardRefund.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardRefund.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardRefund.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardRefund.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(CardPayment.Element.CardRefund.SchemeFee.Currency.USD)
                                    .feeType(
                                        CardPayment.Element.CardRefund.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                            .build()
                    )
                    .cardReversal(
                        CardPayment.Element.CardReversal.builder()
                            .id("card_reversal_8vr9qy60cgf5d0slpb68")
                            .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                            .currency(CardPayment.Element.CardReversal.Currency.USD)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardReversal.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardReversal.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId("pending_transaction_k1sfetcau2qbvjbzgju4")
                            .presentmentCurrency("USD")
                            .reversalAmount(20L)
                            .reversalPresentmentAmount(20L)
                            .reversalReason(
                                CardPayment.Element.CardReversal.ReversalReason.REVERSED_BY_CUSTOMER
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardReversal.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardReversal.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardReversal.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                            .updatedAuthorizationAmount(80L)
                            .updatedAuthorizationPresentmentAmount(80L)
                            .build()
                    )
                    .cardSettlement(
                        CardPayment.Element.CardSettlement.builder()
                            .id("card_settlement_khv5kfeu0vndj291omg6")
                            .amount(100L)
                            .cardAuthorization(null)
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .cashback(
                                CardPayment.Element.CardSettlement.Cashback.builder()
                                    .amount("0.137465")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Cashback.Currency.USD
                                    )
                                    .build()
                            )
                            .currency(CardPayment.Element.CardSettlement.Currency.USD)
                            .interchange(
                                CardPayment.Element.CardSettlement.Interchange.builder()
                                    .amount("0.137465")
                                    .code("271")
                                    .currency(
                                        CardPayment.Element.CardSettlement.Interchange.Currency.USD
                                    )
                                    .build()
                            )
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantName("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .network(CardPayment.Element.CardSettlement.Network.VISA)
                            .networkIdentifiers(
                                CardPayment.Element.CardSettlement.NetworkIdentifiers.builder()
                                    .acquirerBusinessId("69650702")
                                    .acquirerReferenceNumber("83163715445437604865089")
                                    .authorizationIdentificationResponse("ABC123")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .pendingTransactionId(null)
                            .presentmentAmount(100L)
                            .presentmentCurrency("USD")
                            .purchaseDetails(
                                CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                    .carRental(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.CarRental
                                            .builder()
                                            .carClassCode("car_class_code")
                                            .checkoutDate(LocalDate.parse("2019-12-27"))
                                            .dailyRentalRateAmount(0L)
                                            .dailyRentalRateCurrency("daily_rental_rate_currency")
                                            .daysRented(0L)
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .ExtraCharges
                                                    .NO_EXTRA_CHARGE
                                            )
                                            .fuelChargesAmount(0L)
                                            .fuelChargesCurrency("fuel_charges_currency")
                                            .insuranceChargesAmount(0L)
                                            .insuranceChargesCurrency("insurance_charges_currency")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .NoShowIndicator
                                                    .NOT_APPLICABLE
                                            )
                                            .oneWayDropOffChargesAmount(0L)
                                            .oneWayDropOffChargesCurrency(
                                                "one_way_drop_off_charges_currency"
                                            )
                                            .renterName("renter_name")
                                            .weeklyRentalRateAmount(0L)
                                            .weeklyRentalRateCurrency("weekly_rental_rate_currency")
                                            .build()
                                    )
                                    .customerReferenceIdentifier("51201")
                                    .localTaxAmount(null)
                                    .localTaxCurrency("usd")
                                    .lodging(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Lodging
                                            .builder()
                                            .checkInDate(LocalDate.parse("2023-07-20"))
                                            .dailyRoomRateAmount(1000L)
                                            .dailyRoomRateCurrency("usd")
                                            .extraCharges(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .ExtraCharges
                                                    .RESTAURANT
                                            )
                                            .folioCashAdvancesAmount(0L)
                                            .folioCashAdvancesCurrency("usd")
                                            .foodBeverageChargesAmount(0L)
                                            .foodBeverageChargesCurrency("usd")
                                            .noShowIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .NoShowIndicator
                                                    .NO_SHOW
                                            )
                                            .prepaidExpensesAmount(0L)
                                            .prepaidExpensesCurrency("usd")
                                            .roomNights(1L)
                                            .totalRoomTaxAmount(100L)
                                            .totalRoomTaxCurrency("usd")
                                            .totalTaxAmount(100L)
                                            .totalTaxCurrency("usd")
                                            .build()
                                    )
                                    .nationalTaxAmount(null)
                                    .nationalTaxCurrency("usd")
                                    .purchaseIdentifier("10203")
                                    .purchaseIdentifierFormat(
                                        CardPayment.Element.CardSettlement.PurchaseDetails
                                            .PurchaseIdentifierFormat
                                            .ORDER_NUMBER
                                    )
                                    .travel(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.Travel
                                            .builder()
                                            .ancillary(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .Ancillary
                                                    .builder()
                                                    .connectedTicketDocumentNumber(
                                                        "connected_ticket_document_number"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .passengerNameOrDescription(
                                                        "passenger_name_or_description"
                                                    )
                                                    .addService(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .Service
                                                            .builder()
                                                            .category(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .Category
                                                                    .NONE
                                                            )
                                                            .subCategory("sub_category")
                                                            .build()
                                                    )
                                                    .ticketDocumentNumber("ticket_document_number")
                                                    .build()
                                            )
                                            .computerizedReservationSystem(
                                                "computerized_reservation_system"
                                            )
                                            .creditReasonIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .CreditReasonIndicator
                                                    .NO_CREDIT
                                            )
                                            .departureDate(LocalDate.parse("2019-12-27"))
                                            .originationCityAirportCode(
                                                "origination_city_airport_code"
                                            )
                                            .passengerName("passenger_name")
                                            .restrictedTicketIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .RestrictedTicketIndicator
                                                    .NO_RESTRICTIONS
                                            )
                                            .ticketChangeIndicator(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TicketChangeIndicator
                                                    .NONE
                                            )
                                            .ticketNumber("ticket_number")
                                            .travelAgencyCode("travel_agency_code")
                                            .travelAgencyName("travel_agency_name")
                                            .addTripLeg(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .TripLeg
                                                    .builder()
                                                    .carrierCode("carrier_code")
                                                    .destinationCityAirportCode(
                                                        "destination_city_airport_code"
                                                    )
                                                    .fareBasisCode("fare_basis_code")
                                                    .flightNumber("flight_number")
                                                    .serviceClass("service_class")
                                                    .stopOverCode(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .StopOverCode
                                                            .NONE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .addSchemeFee(
                                CardPayment.Element.CardSettlement.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardSettlement.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .surcharge(
                                CardPayment.Element.CardSettlement.Surcharge.builder()
                                    .amount(0L)
                                    .presentmentAmount(0L)
                                    .build()
                            )
                            .transactionId("transaction_uyrp7fld2ium70oa7oi")
                            .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                            .build()
                    )
                    .cardValidation(
                        CardPayment.Element.CardValidation.builder()
                            .id("card_validation_yi4e59jiaz6n9hx8tczv")
                            .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                            .additionalAmounts(
                                CardPayment.Element.CardValidation.AdditionalAmounts.builder()
                                    .clinic(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Clinic
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .dental(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Dental
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .original(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Original
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .prescription(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Prescription
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .Surcharge
                                            .builder()
                                            .amount(10L)
                                            .currency("USD")
                                            .build()
                                    )
                                    .totalCumulative(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalCumulative
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .totalHealthcare(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .TotalHealthcare
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .transit(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Transit
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .unknown(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Unknown
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .vision(
                                        CardPayment.Element.CardValidation.AdditionalAmounts.Vision
                                            .builder()
                                            .amount(0L)
                                            .currency("currency")
                                            .build()
                                    )
                                    .build()
                            )
                            .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                            .currency(CardPayment.Element.CardValidation.Currency.USD)
                            .digitalWalletTokenId(null)
                            .merchantAcceptorId("5665270011000168")
                            .merchantCategoryCode("5734")
                            .merchantCity("New York")
                            .merchantCountry("US")
                            .merchantDescriptor("AMAZON.COM")
                            .merchantPostalCode("10045")
                            .merchantState("NY")
                            .networkDetails(
                                CardPayment.Element.CardValidation.NetworkDetails.builder()
                                    .category(
                                        CardPayment.Element.CardValidation.NetworkDetails.Category
                                            .VISA
                                    )
                                    .pulse(
                                        CardPayment.Element.CardValidation.NetworkDetails.Pulse
                                            .builder()
                                            .build()
                                    )
                                    .visa(
                                        CardPayment.Element.CardValidation.NetworkDetails.Visa
                                            .builder()
                                            .electronicCommerceIndicator(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .ElectronicCommerceIndicator
                                                    .SECURE_ELECTRONIC_COMMERCE
                                            )
                                            .pointOfServiceEntryMode(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .PointOfServiceEntryMode
                                                    .MANUAL
                                            )
                                            .standInProcessingReason(null)
                                            .terminalEntryCapability(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .TerminalEntryCapability
                                                    .MAGNETIC_STRIPE
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .networkIdentifiers(
                                CardPayment.Element.CardValidation.NetworkIdentifiers.builder()
                                    .authorizationIdentificationResponse(null)
                                    .retrievalReferenceNumber("785867080153")
                                    .traceNumber("487941")
                                    .transactionId("627199945183184")
                                    .build()
                            )
                            .networkRiskScore(10L)
                            .physicalCardId(null)
                            .realTimeDecisionId(null)
                            .addSchemeFee(
                                CardPayment.Element.CardValidation.SchemeFee.builder()
                                    .amount("0.137465")
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .currency(
                                        CardPayment.Element.CardValidation.SchemeFee.Currency.USD
                                    )
                                    .feeType(
                                        CardPayment.Element.CardValidation.SchemeFee.FeeType
                                            .VISA_CORPORATE_ACCEPTANCE_FEE
                                    )
                                    .fixedComponent(null)
                                    .variableRate("0.0002")
                                    .build()
                            )
                            .terminalId("RCN5VNXS")
                            .type(CardPayment.Element.CardValidation.Type.INBOUND_CARD_VALIDATION)
                            .verification(
                                CardPayment.Element.CardValidation.Verification.builder()
                                    .cardVerificationCode(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardVerificationCode
                                            .builder()
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .Result
                                                    .MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderAddress(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderAddress
                                            .builder()
                                            .actualLine1("33 Liberty Street")
                                            .actualPostalCode("94131")
                                            .providedLine1("33 Liberty Street")
                                            .providedPostalCode("94132")
                                            .result(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .Result
                                                    .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                            )
                                            .build()
                                    )
                                    .cardholderName(
                                        CardPayment.Element.CardValidation.Verification
                                            .CardholderName
                                            .builder()
                                            .providedFirstName("provided_first_name")
                                            .providedLastName("provided_last_name")
                                            .providedMiddleName("provided_middle_name")
                                            .build()
                                    )
                                    .build()
                            )
                            .build()
                    )
                    .other(CardPayment.Element.Other.builder().build())
                    .build(),
            )
        assertThat(cardPayment.physicalCardId()).isEmpty
        assertThat(cardPayment.state())
            .isEqualTo(
                CardPayment.State.builder()
                    .authorizedAmount(100L)
                    .fuelConfirmedAmount(0L)
                    .incrementedAmount(20L)
                    .refundAuthorizedAmount(0L)
                    .refundedAmount(0L)
                    .reversedAmount(20L)
                    .settledAmount(100L)
                    .build()
            )
        assertThat(cardPayment.type()).isEqualTo(CardPayment.Type.CARD_PAYMENT)
    }

    @Test
    fun roundtrip() {
        val jsonMapper = jsonMapper()
        val cardPayment =
            CardPayment.builder()
                .id("card_payment_nd3k2kacrqjli8482ave")
                .accountId("account_in71c4amph0vgo2qllky")
                .cardId("card_oubs0hwk5rn6knuecxg2")
                .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                .digitalWalletTokenId(null)
                .elements(
                    listOf(
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_AUTHORIZATION)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_REVERSAL)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_INCREMENT)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                        CardPayment.Element.builder()
                            .category(CardPayment.Element.Category.CARD_SETTLEMENT)
                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                            .cardAuthentication(
                                CardPayment.Element.CardAuthentication.builder()
                                    .id("card_authentication_xft30xjdubptlgrxboch")
                                    .accessControlServerTransactionIdentifier(
                                        "1a628378-4d43-4438-a31f-25c0e1bf2537"
                                    )
                                    .billingAddressCity("New York")
                                    .billingAddressCountry("US")
                                    .billingAddressLine1("33 Liberty Street")
                                    .billingAddressLine2(null)
                                    .billingAddressLine3(null)
                                    .billingAddressPostalCode("10045")
                                    .billingAddressState("NY")
                                    .cardId("card_oubs0hwk5rn6knuecxg2")
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cardholderEmail("user@example.com")
                                    .cardholderName("Ian Crease")
                                    .challenge(
                                        CardPayment.Element.CardAuthentication.Challenge.builder()
                                            .addAttempt(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .Attempt
                                                    .builder()
                                                    .createdAt(
                                                        OffsetDateTime.parse("2020-01-31T23:59:59Z")
                                                    )
                                                    .outcome(
                                                        CardPayment.Element.CardAuthentication
                                                            .Challenge
                                                            .Attempt
                                                            .Outcome
                                                            .SUCCESSFUL
                                                    )
                                                    .build()
                                            )
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .oneTimeCode("123456")
                                            .realTimeDecisionId(
                                                "real_time_decision_j76n2e810ezcg3zh5qtn"
                                            )
                                            .verificationMethod(
                                                CardPayment.Element.CardAuthentication.Challenge
                                                    .VerificationMethod
                                                    .TEXT_MESSAGE
                                            )
                                            .verificationValue("+16505046304")
                                            .build()
                                    )
                                    .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .denyReason(null)
                                    .deviceChannel(
                                        CardPayment.Element.CardAuthentication.DeviceChannel
                                            .builder()
                                            .browser(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Browser
                                                    .builder()
                                                    .acceptHeader("text/html")
                                                    .ipAddress("203.0.113.0")
                                                    .javascriptEnabled(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .Browser
                                                            .JavascriptEnabled
                                                            .ENABLED
                                                    )
                                                    .language("en-US")
                                                    .userAgent("Mozilla/5.0")
                                                    .build()
                                            )
                                            .category(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .Category
                                                    .BROWSER
                                            )
                                            .merchantInitiated(
                                                CardPayment.Element.CardAuthentication.DeviceChannel
                                                    .MerchantInitiated
                                                    .builder()
                                                    .indicator(
                                                        CardPayment.Element.CardAuthentication
                                                            .DeviceChannel
                                                            .MerchantInitiated
                                                            .Indicator
                                                            .RECURRING_TRANSACTION
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .directoryServerTransactionIdentifier(
                                        "8990a978-5eb2-4440-8539-5619e24b0b0d"
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .messageCategory(
                                        CardPayment.Element.CardAuthentication.MessageCategory
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Category
                                                    .PAYMENT_AUTHENTICATION
                                            )
                                            .nonPayment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .NonPayment
                                                    .builder()
                                                    .build()
                                            )
                                            .payment(
                                                CardPayment.Element.CardAuthentication
                                                    .MessageCategory
                                                    .Payment
                                                    .builder()
                                                    .purchaseAmount(861L)
                                                    .purchaseAmountCardholderEstimated(1000L)
                                                    .purchaseCurrency("EUR")
                                                    .transactionType(
                                                        CardPayment.Element.CardAuthentication
                                                            .MessageCategory
                                                            .Payment
                                                            .TransactionType
                                                            .GOODS_SERVICE_PURCHASE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .priorAuthenticatedCardPaymentId(null)
                                    .realTimeDecisionId(null)
                                    .requestorAuthenticationIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorAuthenticationIndicator
                                            .PAYMENT_TRANSACTION
                                    )
                                    .requestorChallengeIndicator(
                                        CardPayment.Element.CardAuthentication
                                            .RequestorChallengeIndicator
                                            .NO_PREFERENCE
                                    )
                                    .requestorName("Example Requestor")
                                    .requestorUrl("https://example.com")
                                    .shippingAddressCity("New York")
                                    .shippingAddressCountry("US")
                                    .shippingAddressLine1("33 Liberty Street")
                                    .shippingAddressLine2(null)
                                    .shippingAddressLine3(null)
                                    .shippingAddressPostalCode("10045")
                                    .shippingAddressState("NY")
                                    .status(
                                        CardPayment.Element.CardAuthentication.Status
                                            .VALIDATING_CHALLENGE
                                    )
                                    .threeDSecureServerTransactionIdentifier(
                                        "6839e1b0-dcae-482d-8166-40e44dd0d8cd"
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthentication.Type
                                            .CARD_AUTHENTICATION
                                    )
                                    .build()
                            )
                            .cardAuthorization(
                                CardPayment.Element.CardAuthorization.builder()
                                    .id("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .actioner(
                                        CardPayment.Element.CardAuthorization.Actioner.INCREASE
                                    )
                                    .additionalAmounts(
                                        CardPayment.Element.CardAuthorization.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardAuthorization
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardAuthorization.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardAuthorization.Direction.SETTLEMENT
                                    )
                                    .expiresAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                    .healthcare(
                                        CardPayment.Element.CardAuthorization.Healthcare.builder()
                                            .merchantNinetyPercentEligibility(
                                                CardPayment.Element.CardAuthorization.Healthcare
                                                    .MerchantNinetyPercentEligibility
                                                    .ELIGIBLE
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardAuthorization.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardAuthorization.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardAuthorization
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardAuthorization.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(null)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardAuthorization.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardAuthorization.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardAuthorization.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardAuthorization.Type
                                            .CARD_AUTHORIZATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardAuthorization.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardAuthorization
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardAuthorization.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardAuthorizationExpiration(
                                CardPayment.Element.CardAuthorizationExpiration.builder()
                                    .id("card_authorization_expiration_9xxbjtmixs8sfluzux2e")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(
                                        CardPayment.Element.CardAuthorizationExpiration.Currency.USD
                                    )
                                    .expiredAmount(20L)
                                    .network(
                                        CardPayment.Element.CardAuthorizationExpiration.Network.VISA
                                    )
                                    .type(
                                        CardPayment.Element.CardAuthorizationExpiration.Type
                                            .CARD_AUTHORIZATION_EXPIRATION
                                    )
                                    .build()
                            )
                            .cardBalanceInquiry(
                                CardPayment.Element.CardBalanceInquiry.builder()
                                    .id("card_balance_inquiry_pt06vq4e7qzvv01je0yt")
                                    .additionalAmounts(
                                        CardPayment.Element.CardBalanceInquiry.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .balance(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardBalanceInquiry.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardBalanceInquiry.NetworkDetails
                                            .builder()
                                            .category(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardBalanceInquiry
                                                    .NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardBalanceInquiry.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardBalanceInquiry.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardBalanceInquiry.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardBalanceInquiry.Type
                                            .CARD_BALANCE_INQUIRY
                                    )
                                    .verification(
                                        CardPayment.Element.CardBalanceInquiry.Verification
                                            .builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardBalanceInquiry
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardBalanceInquiry.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardDecline(
                                CardPayment.Element.CardDecline.builder()
                                    .id("card_decline_bx3o8zd7glq8yvtwg25v")
                                    .actioner(CardPayment.Element.CardDecline.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardDecline.AdditionalAmounts.builder()
                                            .clinic(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardDecline.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(-1000L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardDecline.Currency.USD)
                                    .declinedTransactionId(
                                        "declined_transaction_17jbn0yyhvkt4v4ooym8"
                                    )
                                    .digitalWalletTokenId(null)
                                    .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT)
                                    .incrementedCardAuthorizationId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState(null)
                                    .networkDetails(
                                        CardPayment.Element.CardDecline.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardDecline.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardDecline.NetworkDetails.Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardDecline.NetworkDetails.Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardDecline
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardDecline.NetworkIdentifiers.builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(-1000L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardDecline.ProcessingCategory.PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .realTimeDecisionReason(null)
                                    .reason(
                                        CardPayment.Element.CardDecline.Reason.INSUFFICIENT_FUNDS
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardDecline.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardDecline.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardDecline.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .verification(
                                        CardPayment.Element.CardDecline.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardDecline.Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardDecline.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFinancial(
                                CardPayment.Element.CardFinancial.builder()
                                    .id("card_financial_di5b98i72ppomo268zfk")
                                    .actioner(CardPayment.Element.CardFinancial.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardFinancial.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardFinancial.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardFinancial.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .direction(
                                        CardPayment.Element.CardFinancial.Direction.SETTLEMENT
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardFinancial.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardFinancial.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardFinancial
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFinancial.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .processingCategory(
                                        CardPayment.Element.CardFinancial.ProcessingCategory
                                            .PURCHASE
                                    )
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardFinancial.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFinancial.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFinancial.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardFinancial.Type.CARD_FINANCIAL)
                                    .verification(
                                        CardPayment.Element.CardFinancial.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardFinancial
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardFinancial.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .cardFuelConfirmation(
                                CardPayment.Element.CardFuelConfirmation.builder()
                                    .id("card_fuel_confirmation_wuy91qate4judq2la80a")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardFuelConfirmation.Currency.USD)
                                    .network(CardPayment.Element.CardFuelConfirmation.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardFuelConfirmation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardFuelConfirmation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardFuelConfirmation.SchemeFee
                                                    .FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(
                                        CardPayment.Element.CardFuelConfirmation.Type
                                            .CARD_FUEL_CONFIRMATION
                                    )
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardIncrement(
                                CardPayment.Element.CardIncrement.builder()
                                    .id("card_increment_6ztayc58j1od0rpebp3e")
                                    .actioner(CardPayment.Element.CardIncrement.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardIncrement.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardIncrement.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .amount(20L)
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardIncrement.Currency.USD)
                                    .network(CardPayment.Element.CardIncrement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardIncrement.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentAmount(20L)
                                    .presentmentCurrency("USD")
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardIncrement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardIncrement.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardIncrement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .type(CardPayment.Element.CardIncrement.Type.CARD_INCREMENT)
                                    .updatedAuthorizationAmount(120L)
                                    .build()
                            )
                            .cardRefund(
                                CardPayment.Element.CardRefund.builder()
                                    .id("card_refund_imgc2xwplh6t4r3gn16e")
                                    .amount(100L)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardRefund.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardRefund.Cashback.Currency.USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardRefund.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardRefund.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardRefund.Interchange.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkIdentifiers(
                                        CardPayment.Element.CardRefund.NetworkIdentifiers.builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardRefund.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardRefund.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardRefund
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardRefund
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardRefund
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardRefund.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardRefund.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardRefund.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardRefund.Type.CARD_REFUND)
                                    .build()
                            )
                            .cardReversal(
                                CardPayment.Element.CardReversal.builder()
                                    .id("card_reversal_8vr9qy60cgf5d0slpb68")
                                    .cardAuthorizationId("card_authorization_6iqxap6ivd0fo5eu3i8x")
                                    .currency(CardPayment.Element.CardReversal.Currency.USD)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardReversal.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardReversal.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(
                                        "pending_transaction_k1sfetcau2qbvjbzgju4"
                                    )
                                    .presentmentCurrency("USD")
                                    .reversalAmount(20L)
                                    .reversalPresentmentAmount(20L)
                                    .reversalReason(
                                        CardPayment.Element.CardReversal.ReversalReason
                                            .REVERSED_BY_CUSTOMER
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardReversal.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardReversal.SchemeFee.Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardReversal.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(CardPayment.Element.CardReversal.Type.CARD_REVERSAL)
                                    .updatedAuthorizationAmount(80L)
                                    .updatedAuthorizationPresentmentAmount(80L)
                                    .build()
                            )
                            .cardSettlement(
                                CardPayment.Element.CardSettlement.builder()
                                    .id("card_settlement_khv5kfeu0vndj291omg6")
                                    .amount(100L)
                                    .cardAuthorization(null)
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .cashback(
                                        CardPayment.Element.CardSettlement.Cashback.builder()
                                            .amount("0.137465")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Cashback.Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .currency(CardPayment.Element.CardSettlement.Currency.USD)
                                    .interchange(
                                        CardPayment.Element.CardSettlement.Interchange.builder()
                                            .amount("0.137465")
                                            .code("271")
                                            .currency(
                                                CardPayment.Element.CardSettlement.Interchange
                                                    .Currency
                                                    .USD
                                            )
                                            .build()
                                    )
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantName("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .network(CardPayment.Element.CardSettlement.Network.VISA)
                                    .networkIdentifiers(
                                        CardPayment.Element.CardSettlement.NetworkIdentifiers
                                            .builder()
                                            .acquirerBusinessId("69650702")
                                            .acquirerReferenceNumber("83163715445437604865089")
                                            .authorizationIdentificationResponse("ABC123")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .pendingTransactionId(null)
                                    .presentmentAmount(100L)
                                    .presentmentCurrency("USD")
                                    .purchaseDetails(
                                        CardPayment.Element.CardSettlement.PurchaseDetails.builder()
                                            .carRental(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .CarRental
                                                    .builder()
                                                    .carClassCode("car_class_code")
                                                    .checkoutDate(LocalDate.parse("2019-12-27"))
                                                    .dailyRentalRateAmount(0L)
                                                    .dailyRentalRateCurrency(
                                                        "daily_rental_rate_currency"
                                                    )
                                                    .daysRented(0L)
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .ExtraCharges
                                                            .NO_EXTRA_CHARGE
                                                    )
                                                    .fuelChargesAmount(0L)
                                                    .fuelChargesCurrency("fuel_charges_currency")
                                                    .insuranceChargesAmount(0L)
                                                    .insuranceChargesCurrency(
                                                        "insurance_charges_currency"
                                                    )
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .CarRental
                                                            .NoShowIndicator
                                                            .NOT_APPLICABLE
                                                    )
                                                    .oneWayDropOffChargesAmount(0L)
                                                    .oneWayDropOffChargesCurrency(
                                                        "one_way_drop_off_charges_currency"
                                                    )
                                                    .renterName("renter_name")
                                                    .weeklyRentalRateAmount(0L)
                                                    .weeklyRentalRateCurrency(
                                                        "weekly_rental_rate_currency"
                                                    )
                                                    .build()
                                            )
                                            .customerReferenceIdentifier("51201")
                                            .localTaxAmount(null)
                                            .localTaxCurrency("usd")
                                            .lodging(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Lodging
                                                    .builder()
                                                    .checkInDate(LocalDate.parse("2023-07-20"))
                                                    .dailyRoomRateAmount(1000L)
                                                    .dailyRoomRateCurrency("usd")
                                                    .extraCharges(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .ExtraCharges
                                                            .RESTAURANT
                                                    )
                                                    .folioCashAdvancesAmount(0L)
                                                    .folioCashAdvancesCurrency("usd")
                                                    .foodBeverageChargesAmount(0L)
                                                    .foodBeverageChargesCurrency("usd")
                                                    .noShowIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Lodging
                                                            .NoShowIndicator
                                                            .NO_SHOW
                                                    )
                                                    .prepaidExpensesAmount(0L)
                                                    .prepaidExpensesCurrency("usd")
                                                    .roomNights(1L)
                                                    .totalRoomTaxAmount(100L)
                                                    .totalRoomTaxCurrency("usd")
                                                    .totalTaxAmount(100L)
                                                    .totalTaxCurrency("usd")
                                                    .build()
                                            )
                                            .nationalTaxAmount(null)
                                            .nationalTaxCurrency("usd")
                                            .purchaseIdentifier("10203")
                                            .purchaseIdentifierFormat(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .PurchaseIdentifierFormat
                                                    .ORDER_NUMBER
                                            )
                                            .travel(
                                                CardPayment.Element.CardSettlement.PurchaseDetails
                                                    .Travel
                                                    .builder()
                                                    .ancillary(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .Ancillary
                                                            .builder()
                                                            .connectedTicketDocumentNumber(
                                                                "connected_ticket_document_number"
                                                            )
                                                            .creditReasonIndicator(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .CreditReasonIndicator
                                                                    .NO_CREDIT
                                                            )
                                                            .passengerNameOrDescription(
                                                                "passenger_name_or_description"
                                                            )
                                                            .addService(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .Ancillary
                                                                    .Service
                                                                    .builder()
                                                                    .category(
                                                                        CardPayment.Element
                                                                            .CardSettlement
                                                                            .PurchaseDetails
                                                                            .Travel
                                                                            .Ancillary
                                                                            .Service
                                                                            .Category
                                                                            .NONE
                                                                    )
                                                                    .subCategory("sub_category")
                                                                    .build()
                                                            )
                                                            .ticketDocumentNumber(
                                                                "ticket_document_number"
                                                            )
                                                            .build()
                                                    )
                                                    .computerizedReservationSystem(
                                                        "computerized_reservation_system"
                                                    )
                                                    .creditReasonIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .CreditReasonIndicator
                                                            .NO_CREDIT
                                                    )
                                                    .departureDate(LocalDate.parse("2019-12-27"))
                                                    .originationCityAirportCode(
                                                        "origination_city_airport_code"
                                                    )
                                                    .passengerName("passenger_name")
                                                    .restrictedTicketIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .RestrictedTicketIndicator
                                                            .NO_RESTRICTIONS
                                                    )
                                                    .ticketChangeIndicator(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TicketChangeIndicator
                                                            .NONE
                                                    )
                                                    .ticketNumber("ticket_number")
                                                    .travelAgencyCode("travel_agency_code")
                                                    .travelAgencyName("travel_agency_name")
                                                    .addTripLeg(
                                                        CardPayment.Element.CardSettlement
                                                            .PurchaseDetails
                                                            .Travel
                                                            .TripLeg
                                                            .builder()
                                                            .carrierCode("carrier_code")
                                                            .destinationCityAirportCode(
                                                                "destination_city_airport_code"
                                                            )
                                                            .fareBasisCode("fare_basis_code")
                                                            .flightNumber("flight_number")
                                                            .serviceClass("service_class")
                                                            .stopOverCode(
                                                                CardPayment.Element.CardSettlement
                                                                    .PurchaseDetails
                                                                    .Travel
                                                                    .TripLeg
                                                                    .StopOverCode
                                                                    .NONE
                                                            )
                                                            .build()
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .addSchemeFee(
                                        CardPayment.Element.CardSettlement.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardSettlement.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardSettlement.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .surcharge(
                                        CardPayment.Element.CardSettlement.Surcharge.builder()
                                            .amount(0L)
                                            .presentmentAmount(0L)
                                            .build()
                                    )
                                    .transactionId("transaction_uyrp7fld2ium70oa7oi")
                                    .type(CardPayment.Element.CardSettlement.Type.CARD_SETTLEMENT)
                                    .build()
                            )
                            .cardValidation(
                                CardPayment.Element.CardValidation.builder()
                                    .id("card_validation_yi4e59jiaz6n9hx8tczv")
                                    .actioner(CardPayment.Element.CardValidation.Actioner.INCREASE)
                                    .additionalAmounts(
                                        CardPayment.Element.CardValidation.AdditionalAmounts
                                            .builder()
                                            .clinic(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Clinic
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .dental(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Dental
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .original(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Original
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .prescription(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Prescription
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .surcharge(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Surcharge
                                                    .builder()
                                                    .amount(10L)
                                                    .currency("USD")
                                                    .build()
                                            )
                                            .totalCumulative(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalCumulative
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .totalHealthcare(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .TotalHealthcare
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .transit(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Transit
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .unknown(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Unknown
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .vision(
                                                CardPayment.Element.CardValidation.AdditionalAmounts
                                                    .Vision
                                                    .builder()
                                                    .amount(0L)
                                                    .currency("currency")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .cardPaymentId("card_payment_nd3k2kacrqjli8482ave")
                                    .currency(CardPayment.Element.CardValidation.Currency.USD)
                                    .digitalWalletTokenId(null)
                                    .merchantAcceptorId("5665270011000168")
                                    .merchantCategoryCode("5734")
                                    .merchantCity("New York")
                                    .merchantCountry("US")
                                    .merchantDescriptor("AMAZON.COM")
                                    .merchantPostalCode("10045")
                                    .merchantState("NY")
                                    .networkDetails(
                                        CardPayment.Element.CardValidation.NetworkDetails.builder()
                                            .category(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Category
                                                    .VISA
                                            )
                                            .pulse(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Pulse
                                                    .builder()
                                                    .build()
                                            )
                                            .visa(
                                                CardPayment.Element.CardValidation.NetworkDetails
                                                    .Visa
                                                    .builder()
                                                    .electronicCommerceIndicator(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .ElectronicCommerceIndicator
                                                            .SECURE_ELECTRONIC_COMMERCE
                                                    )
                                                    .pointOfServiceEntryMode(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .PointOfServiceEntryMode
                                                            .MANUAL
                                                    )
                                                    .standInProcessingReason(null)
                                                    .terminalEntryCapability(
                                                        CardPayment.Element.CardValidation
                                                            .NetworkDetails
                                                            .Visa
                                                            .TerminalEntryCapability
                                                            .MAGNETIC_STRIPE
                                                    )
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .networkIdentifiers(
                                        CardPayment.Element.CardValidation.NetworkIdentifiers
                                            .builder()
                                            .authorizationIdentificationResponse(null)
                                            .retrievalReferenceNumber("785867080153")
                                            .traceNumber("487941")
                                            .transactionId("627199945183184")
                                            .build()
                                    )
                                    .networkRiskScore(10L)
                                    .physicalCardId(null)
                                    .realTimeDecisionId(null)
                                    .addSchemeFee(
                                        CardPayment.Element.CardValidation.SchemeFee.builder()
                                            .amount("0.137465")
                                            .createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
                                            .currency(
                                                CardPayment.Element.CardValidation.SchemeFee
                                                    .Currency
                                                    .USD
                                            )
                                            .feeType(
                                                CardPayment.Element.CardValidation.SchemeFee.FeeType
                                                    .VISA_CORPORATE_ACCEPTANCE_FEE
                                            )
                                            .fixedComponent(null)
                                            .variableRate("0.0002")
                                            .build()
                                    )
                                    .terminalId("RCN5VNXS")
                                    .type(
                                        CardPayment.Element.CardValidation.Type
                                            .INBOUND_CARD_VALIDATION
                                    )
                                    .verification(
                                        CardPayment.Element.CardValidation.Verification.builder()
                                            .cardVerificationCode(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardVerificationCode
                                                    .builder()
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardVerificationCode
                                                            .Result
                                                            .MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderAddress(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderAddress
                                                    .builder()
                                                    .actualLine1("33 Liberty Street")
                                                    .actualPostalCode("94131")
                                                    .providedLine1("33 Liberty Street")
                                                    .providedPostalCode("94132")
                                                    .result(
                                                        CardPayment.Element.CardValidation
                                                            .Verification
                                                            .CardholderAddress
                                                            .Result
                                                            .POSTAL_CODE_NO_MATCH_ADDRESS_MATCH
                                                    )
                                                    .build()
                                            )
                                            .cardholderName(
                                                CardPayment.Element.CardValidation.Verification
                                                    .CardholderName
                                                    .builder()
                                                    .providedFirstName("provided_first_name")
                                                    .providedLastName("provided_last_name")
                                                    .providedMiddleName("provided_middle_name")
                                                    .build()
                                            )
                                            .build()
                                    )
                                    .build()
                            )
                            .other(CardPayment.Element.Other.builder().build())
                            .build(),
                    )
                )
                .physicalCardId(null)
                .state(
                    CardPayment.State.builder()
                        .authorizedAmount(100L)
                        .fuelConfirmedAmount(0L)
                        .incrementedAmount(20L)
                        .refundAuthorizedAmount(0L)
                        .refundedAmount(0L)
                        .reversedAmount(20L)
                        .settledAmount(100L)
                        .build()
                )
                .type(CardPayment.Type.CARD_PAYMENT)
                .build()

        val roundtrippedCardPayment =
            jsonMapper.readValue(
                jsonMapper.writeValueAsString(cardPayment),
                jacksonTypeRef<CardPayment>(),
            )

        assertThat(roundtrippedCardPayment).isEqualTo(cardPayment)
    }
}
