├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md ├── release.yml └── workflows │ ├── build-net6.0.yml │ ├── build-net8.0.yml │ ├── codeql-analysis.yml │ ├── label_new_issues.yml │ ├── publish.yml │ ├── release.yml │ ├── sonarcloud.yml │ └── stale.yml ├── .gitignore ├── Adyen.IntegrationTest ├── .gitignore ├── Adyen.IntegrationTest.csproj ├── BaseTest.cs ├── CancellationTokenTest.cs ├── CheckoutTest.cs ├── ClientConstants.cs ├── ErrorTest.cs ├── MarketPayFundTest.cs ├── MarketpayAccountTest.cs ├── Modificationtest.cs ├── PaymentTest.cs ├── PayoutTest.cs └── RecurringTest.cs ├── Adyen.Test ├── .gitignore ├── Adyen.Test.csproj ├── App.config ├── BalanceControlTest.cs ├── BalancePlatformTest.cs ├── BaseTest.cs ├── BinLookupTest.cs ├── CheckoutTest.cs ├── CheckoutUtilityTest.cs ├── ClientTest.cs ├── DataProtectionTest.cs ├── DeserializerTest.cs ├── DisputesTest.cs ├── ExtensionsTest.cs ├── GrantsTest.cs ├── HeaderRequestTest.cs ├── HttpClientWrapperTest.cs ├── LegalEntityManagementTest.cs ├── ManagementTest.cs ├── MockOpenInvoicePayment.cs ├── MockPaymentData.cs ├── MockPosApiRequest.cs ├── ModificationTest.cs ├── NotificationDecryptionTest.cs ├── PaymentMethodDetailsTest.cs ├── PaymentTest.cs ├── PaymentsAppServiceTest.cs ├── PayoutTest.cs ├── PosMobileTest.cs ├── PosTerminalManagementTest.cs ├── ProxyTest.cs ├── ReadmeTest.cs ├── RecurringTest.cs ├── RegionTest.cs ├── SerializerTest.cs ├── StoredValueTest.cs ├── Terminal │ ├── SaleToAcquirerDataTest.cs │ └── SplitTest.cs ├── TerminalApiAsyncServiceTest.cs ├── TerminalApiCloudRequestTest.cs ├── TerminalApiInputTest.cs ├── TerminalApiLocalServiceTest.cs ├── TerminalApiPosRequestTest.cs ├── TerminalApiPosSecurityTest.cs ├── TerminalApiSyncServiceTest.cs ├── TerminalCommonNameValidatorTest.cs ├── TransfersTest.cs ├── UtilTest.cs ├── WebhooksTests │ ├── BalancePlatformWebhookHandlerTest.cs │ ├── ManagementWebhookHandlerTest.cs │ └── WebhookHandlerTest.cs ├── mockHttpClient.cs └── mocks │ ├── ThreeDS2Result.json │ ├── adjustAuthorisation-received.json │ ├── authentication-result-success-3ds1.json │ ├── authentication-result-success-3ds2.json │ ├── authorise-error-010.json │ ├── authorise-error-cvc-declined.json │ ├── authorise-error-expired.json │ ├── authorise-success-3d.json │ ├── authorise-success-boleto.json │ ├── authorise-success-cse.json │ ├── authorise-success-klarna.json │ ├── authorise-success.json │ ├── authorise3d-error-105.json │ ├── authorise3d-success.json │ ├── balance-control-transfer.json │ ├── balanceplatform │ ├── AccountHolder.json │ ├── BalanceAccount.json │ ├── BalancePlatform.json │ ├── BalanceSweepConfigurationsResponse.json │ ├── PaginatedAccountHoldersResponse.json │ ├── PaginatedBalanceAccountsResponse.json │ ├── PaginatedPaymentInstrumentsResponse.json │ ├── PaymentInstrument.json │ ├── PaymentInstrumentGroup.json │ ├── SweepConfiguration.json │ ├── TransactionRule.json │ ├── TransactionRuleResponse.json │ └── TransactionRulesResponse.json │ ├── binlookup │ ├── get3dsavailability-error-merchant.json │ ├── get3dsavailability-success.json │ ├── getcostestimate-error-amount.json │ ├── getcostestimate-error-cardnumber.json │ ├── getcostestimate-error-merchant.json │ └── getcostestimate-success.json │ ├── cancel-received.json │ ├── cancelOrRefund-received.json │ ├── capture-success.json │ ├── checkout │ ├── amount-updates-success.json │ ├── apple-pay-sessions-success.json │ ├── cancels-success.json │ ├── captures-success.json │ ├── card-details-success.json │ ├── donations-success.json │ ├── get-storedPaymentMethod-success.json │ ├── modifications-error-422.json │ ├── orders-cancel-success.json │ ├── orders-success.json │ ├── payment-links-success.json │ ├── paymentResponse-3DS-ChallengeShopper.json │ ├── paymentResponse-3DS2-Action.json │ ├── paymentlinks-recurring-payment-success.json │ ├── paymentmethods-balance-success.json │ ├── paymentmethods-brands-polish.json │ ├── paymentmethods-brands-success.json │ ├── paymentmethods-error-forbidden-403.json │ ├── paymentmethods-storedpaymentmethods.json │ ├── paymentmethods-success.json │ ├── paymentmethods-without-brands-success.json │ ├── payments-3DS2-IdentifyShopper.json │ ├── payments-error-invalid-data-422.json │ ├── payments-success-paypal.json │ ├── payments-success.json │ ├── paymentsResponse-ThreeDS2Result.json │ ├── paymentsdetails-action-success.json │ ├── paymentsdetails-error-invalid-data-422.json │ ├── paymentsdetails-success.json │ ├── paymentsession-error-invalid-data-422.json │ ├── paymentsession-success.json │ ├── paymentsresult-error-invalid-data-payload-422.json │ ├── paymentsresult-multibanco-success.json │ ├── paymentsresult-success.json │ ├── refunds-success.json │ ├── reversals-success.json │ ├── sessions-success.json │ └── standalone-cancels-success.json │ ├── checkoututility │ └── originkeys-success.json │ ├── data-protection-response.json │ ├── disputes │ ├── accept-disputes.json │ ├── defend-dispute.json │ ├── delete-dispute.json │ ├── download-defense-document.json │ ├── retrieve-appicable-defense-reasons.json │ └── supply-dispute-defense-document.json │ ├── grants │ └── post-grants-success.json │ ├── hop │ ├── get-onboarding-url-success-async.json │ └── get-onboarding-url-success.json │ ├── legalentitymanagement │ ├── BusinessLine.json │ ├── Document.json │ ├── GeneratePCI.json │ ├── LegalEntity.json │ ├── OnboardingThemes.json │ ├── TermsOfServiceStatus.json │ └── TransferInstrument.json │ ├── management │ ├── list-merchant-accounts.json │ ├── list-terminals.json │ ├── logo.json │ └── me.json │ ├── marketpay │ ├── account │ │ ├── check-account-holder-success.json │ │ ├── close-account-holder-success.json │ │ ├── close-account-success.json │ │ ├── create-account-holder-error-invalid-fields.json │ │ ├── create-account-holder-success.json │ │ ├── create-account-success.json │ │ ├── delete-bank-account-success.json │ │ ├── delete-payout-methods.json │ │ ├── delete-shareholder-success.json │ │ ├── get-account-holder-success.json │ │ ├── get-uploaded-documents-success.json │ │ ├── suspend-account-holder-success.json │ │ ├── un-suspend-account-holder-success.json │ │ ├── update-account-holder-state-success.json │ │ ├── update-account-holder-success.json │ │ ├── update-account-success.json │ │ └── upload-document-success.json │ ├── fund │ │ ├── account-holder-balance-success.json │ │ ├── account-holder-transaction-list-success.json │ │ ├── payout-account-holder-success.json │ │ ├── refund-funds-transfer.json │ │ ├── refund-not-paid-out-transfers-success.json │ │ ├── setup-beneficiary-success.json │ │ └── transfer-funds-success.json │ └── notification │ │ ├── account-closed-test.json │ │ ├── account-created-success.json │ │ ├── account-funds-below-thresold-test.json │ │ ├── account-holder-created-success.json │ │ ├── account-holder-payout-fail.json │ │ ├── account-holder-status-change.json │ │ ├── account-holder-store-status-change-test.json │ │ ├── account-holder-upcoming-deadline-test.json │ │ ├── account-holder-updated.json │ │ ├── account-holder-verification.json │ │ ├── account-updated-test.json │ │ ├── beneficiary-setup.json │ │ ├── compensate-negative-balance-test.json │ │ ├── create-notification-configuration-success.json │ │ ├── delete-notification-configurations-success.json │ │ ├── direct-debit-initiated-test.json │ │ ├── get-notification-configuration-list-success.json │ │ ├── get-notification-configuration-success.json │ │ ├── payment-failure-test.json │ │ ├── refund-funds-transfer-test.json │ │ ├── report-available-test.json │ │ ├── scheduled-refunds-test.json │ │ ├── test-notification-configuration-success.json │ │ ├── transfer-funds-test.json │ │ └── update-notification-configuration-success.json │ ├── notification-response-refund-fail.json │ ├── notification │ ├── authorisation-true.json │ ├── capture-false.json │ ├── capture-true.json │ ├── classic-platform-webhook.json │ ├── merchant-webhook-payload.json │ ├── refund-false.json │ └── refund-true.json │ ├── payout │ ├── modifyResponse-success.json │ ├── payout-error-403.json │ ├── payout-error-422.json │ ├── payout-success.json │ ├── storeDetail-success.json │ ├── storeDetailAndSubmitThirdParty-success.json │ └── submitResponse-success.json │ ├── pos-terminal-management │ ├── assing-terminals-success.json │ ├── find-terminals-success.json │ ├── get-stores-under-account-success.json │ ├── get-terminals-details-success.json │ └── get-terminals-under-account-success.json │ ├── posmobile │ └── create-session.json │ ├── recurring │ ├── createPermit-success.json │ ├── disable-error-803.json │ ├── disable-success.json │ ├── disablePermit-success.json │ ├── listRecurringDetails-success.json │ ├── notifyShopper-success.json │ └── scheduleAccountUpdater-success.json │ ├── refund-received.json │ ├── storedvalue │ ├── changeStatus-success.json │ ├── checkBalance-success.json │ ├── issue-success.json │ ├── load-success.json │ └── mergeBalance-success.json │ ├── terminalapi │ ├── cardAcquisitionResponse-success.json │ ├── display-response-success.json │ ├── input-request-response.json │ ├── pospayment-async-success.json │ ├── pospayment-cancelled.json │ ├── pospayment-card-acquisition-request.json │ ├── pospayment-encrypted-success.json │ ├── pospayment-no-security-trailer.json │ ├── pospayment-notification-error-response.json │ ├── pospayment-reversal-response-success.json │ ├── pospayment-success.json │ ├── pospayment-transaction-status-response.json │ └── repeated-response-message.json │ ├── threedsecure2 │ ├── authorise-response-identifyshopper.json │ ├── authorise3ds2-response-challengeshopper.json │ └── authorise3ds2-success.json │ ├── transfers │ ├── get-all-transactions.json │ ├── get-transaction.json │ └── transfer-funds.json │ └── voidPendingRefund-received.json ├── Adyen.sln ├── Adyen ├── .gitignore ├── Adyen.csproj ├── ApiSerialization │ ├── Converter │ │ ├── JsonBase64Converter.cs │ │ ├── JsonConvertDeserializerWrapper.cs │ │ ├── JsonConvertSerializerWrapper.cs │ │ ├── SaleToPoiMessageConverter.cs │ │ └── SaleToPoiMessageSecuredConverter.cs │ ├── IMessagePayload.cs │ ├── IMessagePayloadSerializer.cs │ ├── MessageHeaderSerializer.cs │ ├── MessagePayloadSerializer.cs │ ├── MessagePayloadSerializerFactory.cs │ ├── OpenAPIDateConverter.cs │ ├── SaleToPoiMessageSecuredSerializer.cs │ ├── SaleToPoiMessageSerializer.cs │ └── TypeHelper.cs ├── BaseUrlConfig.cs ├── Client.cs ├── Config.cs ├── Constants │ ├── ApiConstants.cs │ ├── ClientConfig.cs │ └── Region.cs ├── Exceptions │ ├── DeserializationException.cs │ └── ExceptionMessages.cs ├── HttpClient │ ├── HttpClientException.cs │ ├── HttpClientExtension.cs │ ├── HttpClientWrapper.cs │ └── Interfaces │ │ └── IClient.cs ├── Model │ ├── AcsWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Amount.cs │ │ ├── AuthenticationDecision.cs │ │ ├── AuthenticationInfo.cs │ │ ├── AuthenticationNotificationData.cs │ │ ├── AuthenticationNotificationRequest.cs │ │ ├── BalancePlatformNotificationResponse.cs │ │ ├── ChallengeInfo.cs │ │ ├── Purchase.cs │ │ ├── PurchaseInfo.cs │ │ ├── RelayedAuthenticationRequest.cs │ │ ├── RelayedAuthenticationResponse.cs │ │ ├── Resource.cs │ │ └── ServiceError.cs │ ├── ApiError.cs │ ├── ApplicationInformation │ │ ├── ApplicationInfo.cs │ │ ├── CommonField.cs │ │ ├── ExternalPlatform.cs │ │ ├── MerchantDevice.cs │ │ └── ShopperInteractionDevice.cs │ ├── BalanceControl │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Amount.cs │ │ ├── BalanceTransferRequest.cs │ │ └── BalanceTransferResponse.cs │ ├── BalancePlatform │ │ ├── AULocalAccountIdentification.cs │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccountHolder.cs │ │ ├── AccountHolderCapability.cs │ │ ├── AccountHolderInfo.cs │ │ ├── AccountHolderUpdateRequest.cs │ │ ├── AccountSupportingEntityCapability.cs │ │ ├── ActiveNetworkTokensRestriction.cs │ │ ├── AdditionalBankIdentification.cs │ │ ├── Address.cs │ │ ├── AddressRequirement.cs │ │ ├── Amount.cs │ │ ├── AmountMinMaxRequirement.cs │ │ ├── AmountNonZeroDecimalsRequirement.cs │ │ ├── AssociationDelegatedAuthenticationData.cs │ │ ├── AssociationFinaliseRequest.cs │ │ ├── AssociationFinaliseResponse.cs │ │ ├── AssociationInitiateRequest.cs │ │ ├── AssociationInitiateResponse.cs │ │ ├── Authentication.cs │ │ ├── BRLocalAccountIdentification.cs │ │ ├── Balance.cs │ │ ├── BalanceAccount.cs │ │ ├── BalanceAccountBase.cs │ │ ├── BalanceAccountInfo.cs │ │ ├── BalanceAccountUpdateRequest.cs │ │ ├── BalancePlatform.cs │ │ ├── BalanceSweepConfigurationsResponse.cs │ │ ├── BankAccount.cs │ │ ├── BankAccountAccountIdentification.cs │ │ ├── BankAccountDetails.cs │ │ ├── BankAccountIdentificationTypeRequirement.cs │ │ ├── BankAccountIdentificationValidationRequest.cs │ │ ├── BankAccountIdentificationValidationRequestAccountIdentification.cs │ │ ├── BankAccountModel.cs │ │ ├── BankIdentification.cs │ │ ├── BrandVariantsRestriction.cs │ │ ├── BulkAddress.cs │ │ ├── CALocalAccountIdentification.cs │ │ ├── CZLocalAccountIdentification.cs │ │ ├── CapabilityProblem.cs │ │ ├── CapabilityProblemEntity.cs │ │ ├── CapabilityProblemEntityRecursive.cs │ │ ├── CapabilitySettings.cs │ │ ├── CapitalBalance.cs │ │ ├── CapitalGrantAccount.cs │ │ ├── Card.cs │ │ ├── CardConfiguration.cs │ │ ├── CardInfo.cs │ │ ├── CardOrder.cs │ │ ├── CardOrderItem.cs │ │ ├── CardOrderItemDeliveryStatus.cs │ │ ├── ContactDetails.cs │ │ ├── Counterparty.cs │ │ ├── CounterpartyBankRestriction.cs │ │ ├── CounterpartyTypesRestriction.cs │ │ ├── CountriesRestriction.cs │ │ ├── CreateSweepConfigurationV2.cs │ │ ├── DKLocalAccountIdentification.cs │ │ ├── DayOfWeekRestriction.cs │ │ ├── DelegatedAuthenticationData.cs │ │ ├── DeliveryAddress.cs │ │ ├── DeliveryContact.cs │ │ ├── Device.cs │ │ ├── DeviceInfo.cs │ │ ├── DifferentCurrenciesRestriction.cs │ │ ├── Duration.cs │ │ ├── EntryModesRestriction.cs │ │ ├── Expiry.cs │ │ ├── Fee.cs │ │ ├── GetNetworkTokenResponse.cs │ │ ├── GetTaxFormResponse.cs │ │ ├── GrantLimit.cs │ │ ├── GrantOffer.cs │ │ ├── GrantOffers.cs │ │ ├── HKLocalAccountIdentification.cs │ │ ├── HULocalAccountIdentification.cs │ │ ├── Href.cs │ │ ├── IbanAccountIdentification.cs │ │ ├── IbanAccountIdentificationRequirement.cs │ │ ├── InternationalTransactionRestriction.cs │ │ ├── InvalidField.cs │ │ ├── Link.cs │ │ ├── ListNetworkTokensResponse.cs │ │ ├── MatchingTransactionsRestriction.cs │ │ ├── MatchingValuesRestriction.cs │ │ ├── MccsRestriction.cs │ │ ├── MerchantAcquirerPair.cs │ │ ├── MerchantNamesRestriction.cs │ │ ├── MerchantsRestriction.cs │ │ ├── NOLocalAccountIdentification.cs │ │ ├── NZLocalAccountIdentification.cs │ │ ├── Name.cs │ │ ├── NetworkToken.cs │ │ ├── NumberAndBicAccountIdentification.cs │ │ ├── PLLocalAccountIdentification.cs │ │ ├── PaginatedAccountHoldersResponse.cs │ │ ├── PaginatedBalanceAccountsResponse.cs │ │ ├── PaginatedGetCardOrderItemResponse.cs │ │ ├── PaginatedGetCardOrderResponse.cs │ │ ├── PaginatedPaymentInstrumentsResponse.cs │ │ ├── PaymentInstrument.cs │ │ ├── PaymentInstrumentAdditionalBankAccountIdentificationsInner.cs │ │ ├── PaymentInstrumentGroup.cs │ │ ├── PaymentInstrumentGroupInfo.cs │ │ ├── PaymentInstrumentInfo.cs │ │ ├── PaymentInstrumentRequirement.cs │ │ ├── PaymentInstrumentRevealInfo.cs │ │ ├── PaymentInstrumentRevealRequest.cs │ │ ├── PaymentInstrumentRevealResponse.cs │ │ ├── PaymentInstrumentUpdateRequest.cs │ │ ├── Phone.cs │ │ ├── PhoneNumber.cs │ │ ├── PinChangeRequest.cs │ │ ├── PinChangeResponse.cs │ │ ├── PlatformPaymentConfiguration.cs │ │ ├── ProcessingTypesRestriction.cs │ │ ├── PublicKeyResponse.cs │ │ ├── RegisterSCAFinalResponse.cs │ │ ├── RegisterSCARequest.cs │ │ ├── RegisterSCAResponse.cs │ │ ├── RemediatingAction.cs │ │ ├── Repayment.cs │ │ ├── RepaymentTerm.cs │ │ ├── RestServiceError.cs │ │ ├── RevealPinRequest.cs │ │ ├── RevealPinResponse.cs │ │ ├── RiskScores.cs │ │ ├── RiskScoresRestriction.cs │ │ ├── SELocalAccountIdentification.cs │ │ ├── SGLocalAccountIdentification.cs │ │ ├── SameAmountRestriction.cs │ │ ├── SameCounterpartyRestriction.cs │ │ ├── SearchRegisteredDevicesResponse.cs │ │ ├── SourceAccountTypesRestriction.cs │ │ ├── StringMatch.cs │ │ ├── SweepConfigurationV2.cs │ │ ├── SweepCounterparty.cs │ │ ├── SweepSchedule.cs │ │ ├── ThresholdRepayment.cs │ │ ├── TimeOfDay.cs │ │ ├── TimeOfDayRestriction.cs │ │ ├── TokenRequestorsRestriction.cs │ │ ├── TotalAmountRestriction.cs │ │ ├── TransactionRule.cs │ │ ├── TransactionRuleEntityKey.cs │ │ ├── TransactionRuleInfo.cs │ │ ├── TransactionRuleInterval.cs │ │ ├── TransactionRuleResponse.cs │ │ ├── TransactionRuleRestrictions.cs │ │ ├── TransactionRulesResponse.cs │ │ ├── TransferRoute.cs │ │ ├── TransferRouteRequest.cs │ │ ├── TransferRouteRequirementsInner.cs │ │ ├── TransferRouteResponse.cs │ │ ├── UKLocalAccountIdentification.cs │ │ ├── USInternationalAchAddressRequirement.cs │ │ ├── USLocalAccountIdentification.cs │ │ ├── UpdateNetworkTokenRequest.cs │ │ ├── UpdatePaymentInstrument.cs │ │ ├── UpdateSweepConfigurationV2.cs │ │ ├── VerificationDeadline.cs │ │ ├── VerificationError.cs │ │ └── VerificationErrorRecursive.cs │ ├── BinLookup │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Amount.cs │ │ ├── BinDetail.cs │ │ ├── CardBin.cs │ │ ├── CostEstimateAssumptions.cs │ │ ├── CostEstimateRequest.cs │ │ ├── CostEstimateResponse.cs │ │ ├── DSPublicKeyDetail.cs │ │ ├── MerchantDetails.cs │ │ ├── Recurring.cs │ │ ├── ServiceError.cs │ │ ├── ThreeDS2CardRangeDetail.cs │ │ ├── ThreeDSAvailabilityRequest.cs │ │ └── ThreeDSAvailabilityResponse.cs │ ├── Checkout │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccountInfo.cs │ │ ├── AcctInfo.cs │ │ ├── AchDetails.cs │ │ ├── AdditionalData3DSecure.cs │ │ ├── AdditionalDataAirline.cs │ │ ├── AdditionalDataCarRental.cs │ │ ├── AdditionalDataCommon.cs │ │ ├── AdditionalDataLevel23.cs │ │ ├── AdditionalDataLodging.cs │ │ ├── AdditionalDataOpenInvoice.cs │ │ ├── AdditionalDataOpi.cs │ │ ├── AdditionalDataRatepay.cs │ │ ├── AdditionalDataRetry.cs │ │ ├── AdditionalDataRisk.cs │ │ ├── AdditionalDataRiskStandalone.cs │ │ ├── AdditionalDataSubMerchant.cs │ │ ├── AdditionalDataTemporaryServices.cs │ │ ├── AdditionalDataWallets.cs │ │ ├── Address.cs │ │ ├── AffirmDetails.cs │ │ ├── AfterpayDetails.cs │ │ ├── Agency.cs │ │ ├── Airline.cs │ │ ├── AmazonPayDetails.cs │ │ ├── Amount.cs │ │ ├── Amounts.cs │ │ ├── AncvDetails.cs │ │ ├── AndroidPayDetails.cs │ │ ├── ApplePayDetails.cs │ │ ├── ApplePayDonations.cs │ │ ├── ApplePaySessionRequest.cs │ │ ├── ApplePaySessionResponse.cs │ │ ├── ApplicationInfo.cs │ │ ├── AuthenticationData.cs │ │ ├── BacsDirectDebitDetails.cs │ │ ├── BalanceCheckRequest.cs │ │ ├── BalanceCheckResponse.cs │ │ ├── BillDeskDetails.cs │ │ ├── BillingAddress.cs │ │ ├── BlikDetails.cs │ │ ├── BrowserInfo.cs │ │ ├── CancelOrderRequest.cs │ │ ├── CancelOrderResponse.cs │ │ ├── CardBrandDetails.cs │ │ ├── CardDetails.cs │ │ ├── CardDetailsRequest.cs │ │ ├── CardDetailsResponse.cs │ │ ├── CardDonations.cs │ │ ├── CashAppDetails.cs │ │ ├── CellulantDetails.cs │ │ ├── CheckoutAwaitAction.cs │ │ ├── CheckoutBankAccount.cs │ │ ├── CheckoutBankTransferAction.cs │ │ ├── CheckoutDelegatedAuthenticationAction.cs │ │ ├── CheckoutNativeRedirectAction.cs │ │ ├── CheckoutOrderResponse.cs │ │ ├── CheckoutPaymentMethod.cs │ │ ├── CheckoutQrCodeAction.cs │ │ ├── CheckoutRedirectAction.cs │ │ ├── CheckoutSDKAction.cs │ │ ├── CheckoutSessionInstallmentOption.cs │ │ ├── CheckoutSessionThreeDS2RequestData.cs │ │ ├── CheckoutThreeDS2Action.cs │ │ ├── CheckoutVoucherAction.cs │ │ ├── CommonField.cs │ │ ├── Company.cs │ │ ├── CreateCheckoutSessionRequest.cs │ │ ├── CreateCheckoutSessionResponse.cs │ │ ├── CreateOrderRequest.cs │ │ ├── CreateOrderResponse.cs │ │ ├── DeliveryAddress.cs │ │ ├── DeliveryMethod.cs │ │ ├── DetailsRequestAuthenticationData.cs │ │ ├── DeviceRenderOptions.cs │ │ ├── DokuDetails.cs │ │ ├── Donation.cs │ │ ├── DonationCampaign.cs │ │ ├── DonationCampaignsRequest.cs │ │ ├── DonationCampaignsResponse.cs │ │ ├── DonationPaymentMethod.cs │ │ ├── DonationPaymentRequest.cs │ │ ├── DonationPaymentResponse.cs │ │ ├── DragonpayDetails.cs │ │ ├── EBankingFinlandDetails.cs │ │ ├── EcontextVoucherDetails.cs │ │ ├── EftDetails.cs │ │ ├── EncryptedOrderData.cs │ │ ├── EnhancedSchemeData.cs │ │ ├── ExternalPlatform.cs │ │ ├── FastlaneDetails.cs │ │ ├── ForexQuote.cs │ │ ├── FraudCheckResult.cs │ │ ├── FraudResult.cs │ │ ├── FundOrigin.cs │ │ ├── FundRecipient.cs │ │ ├── GenericIssuerPaymentMethodDetails.cs │ │ ├── GooglePayDetails.cs │ │ ├── GooglePayDonations.cs │ │ ├── IdealDetails.cs │ │ ├── IdealDonations.cs │ │ ├── InputDetail.cs │ │ ├── InstallmentOption.cs │ │ ├── Installments.cs │ │ ├── Item.cs │ │ ├── KlarnaDetails.cs │ │ ├── Leg.cs │ │ ├── LineItem.cs │ │ ├── ListStoredPaymentMethodsResponse.cs │ │ ├── Mandate.cs │ │ ├── MasterpassDetails.cs │ │ ├── MbwayDetails.cs │ │ ├── MerchantDevice.cs │ │ ├── MerchantRiskIndicator.cs │ │ ├── MobilePayDetails.cs │ │ ├── MolPayDetails.cs │ │ ├── Name.cs │ │ ├── OpenInvoiceDetails.cs │ │ ├── Passenger.cs │ │ ├── PayByBankAISDirectDebitDetails.cs │ │ ├── PayByBankDetails.cs │ │ ├── PayPalDetails.cs │ │ ├── PayPayDetails.cs │ │ ├── PayToDetails.cs │ │ ├── PayUUpiDetails.cs │ │ ├── PayWithGoogleDetails.cs │ │ ├── PayWithGoogleDonations.cs │ │ ├── PaymentAmountUpdateRequest.cs │ │ ├── PaymentAmountUpdateResponse.cs │ │ ├── PaymentCancelRequest.cs │ │ ├── PaymentCancelResponse.cs │ │ ├── PaymentCaptureRequest.cs │ │ ├── PaymentCaptureResponse.cs │ │ ├── PaymentCompletionDetails.cs │ │ ├── PaymentDetails.cs │ │ ├── PaymentDetailsRequest.cs │ │ ├── PaymentDetailsResponse.cs │ │ ├── PaymentLinkRequest.cs │ │ ├── PaymentLinkResponse.cs │ │ ├── PaymentMethod.cs │ │ ├── PaymentMethodGroup.cs │ │ ├── PaymentMethodIssuer.cs │ │ ├── PaymentMethodToStore.cs │ │ ├── PaymentMethodUPIApps.cs │ │ ├── PaymentMethodsRequest.cs │ │ ├── PaymentMethodsResponse.cs │ │ ├── PaymentRefundRequest.cs │ │ ├── PaymentRefundResponse.cs │ │ ├── PaymentRequest.cs │ │ ├── PaymentResponse.cs │ │ ├── PaymentResponseAction.cs │ │ ├── PaymentReversalRequest.cs │ │ ├── PaymentReversalResponse.cs │ │ ├── PaypalUpdateOrderRequest.cs │ │ ├── PaypalUpdateOrderResponse.cs │ │ ├── Phone.cs │ │ ├── PixDetails.cs │ │ ├── PixRecurring.cs │ │ ├── PlatformChargebackLogic.cs │ │ ├── PseDetails.cs │ │ ├── RakutenPayDetails.cs │ │ ├── RatepayDetails.cs │ │ ├── Recurring.cs │ │ ├── ResponseAdditionalData3DSecure.cs │ │ ├── ResponseAdditionalDataBillingAddress.cs │ │ ├── ResponseAdditionalDataCard.cs │ │ ├── ResponseAdditionalDataCommon.cs │ │ ├── ResponseAdditionalDataDomesticError.cs │ │ ├── ResponseAdditionalDataInstallments.cs │ │ ├── ResponseAdditionalDataNetworkTokens.cs │ │ ├── ResponseAdditionalDataOpi.cs │ │ ├── ResponseAdditionalDataSepa.cs │ │ ├── ResponsePaymentMethod.cs │ │ ├── RiskData.cs │ │ ├── RivertyDetails.cs │ │ ├── SDKEphemPubKey.cs │ │ ├── SamsungPayDetails.cs │ │ ├── SepaDirectDebitDetails.cs │ │ ├── ServiceError.cs │ │ ├── SessionResultResponse.cs │ │ ├── ShopperInteractionDevice.cs │ │ ├── Split.cs │ │ ├── SplitAmount.cs │ │ ├── StandalonePaymentCancelRequest.cs │ │ ├── StandalonePaymentCancelResponse.cs │ │ ├── StoredPaymentMethod.cs │ │ ├── StoredPaymentMethodDetails.cs │ │ ├── StoredPaymentMethodRequest.cs │ │ ├── StoredPaymentMethodResource.cs │ │ ├── SubInputDetail.cs │ │ ├── SubMerchant.cs │ │ ├── SubMerchantInfo.cs │ │ ├── Surcharge.cs │ │ ├── TaxTotal.cs │ │ ├── ThreeDS2RequestData.cs │ │ ├── ThreeDS2RequestFields.cs │ │ ├── ThreeDS2ResponseData.cs │ │ ├── ThreeDS2Result.cs │ │ ├── ThreeDSRequestData.cs │ │ ├── ThreeDSRequestorAuthenticationInfo.cs │ │ ├── ThreeDSRequestorPriorAuthenticationInfo.cs │ │ ├── ThreeDSecureData.cs │ │ ├── Ticket.cs │ │ ├── TravelAgency.cs │ │ ├── TwintDetails.cs │ │ ├── UpdatePaymentLinkRequest.cs │ │ ├── UpiCollectDetails.cs │ │ ├── UpiIntentDetails.cs │ │ ├── UtilityRequest.cs │ │ ├── UtilityResponse.cs │ │ ├── VippsDetails.cs │ │ ├── VisaCheckoutDetails.cs │ │ ├── WeChatPayDetails.cs │ │ ├── WeChatPayMiniProgramDetails.cs │ │ └── ZipDetails.cs │ ├── ConfigurationWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccountHolder.cs │ │ ├── AccountHolderCapability.cs │ │ ├── AccountHolderNotificationData.cs │ │ ├── AccountHolderNotificationRequest.cs │ │ ├── AccountSupportingEntityCapability.cs │ │ ├── Address.cs │ │ ├── Amount.cs │ │ ├── Authentication.cs │ │ ├── Balance.cs │ │ ├── BalanceAccount.cs │ │ ├── BalanceAccountNotificationData.cs │ │ ├── BalanceAccountNotificationRequest.cs │ │ ├── BalancePlatformNotificationResponse.cs │ │ ├── BankAccountDetails.cs │ │ ├── BulkAddress.cs │ │ ├── CapabilityProblem.cs │ │ ├── CapabilityProblemEntity.cs │ │ ├── CapabilityProblemEntityRecursive.cs │ │ ├── CapabilitySettings.cs │ │ ├── Card.cs │ │ ├── CardConfiguration.cs │ │ ├── CardOrderItem.cs │ │ ├── CardOrderItemDeliveryStatus.cs │ │ ├── CardOrderNotificationRequest.cs │ │ ├── ContactDetails.cs │ │ ├── DeliveryAddress.cs │ │ ├── DeliveryContact.cs │ │ ├── Expiry.cs │ │ ├── IbanAccountIdentification.cs │ │ ├── Name.cs │ │ ├── PaymentInstrument.cs │ │ ├── PaymentInstrumentAdditionalBankAccountIdentificationsInner.cs │ │ ├── PaymentInstrumentNotificationData.cs │ │ ├── PaymentNotificationRequest.cs │ │ ├── Phone.cs │ │ ├── PhoneNumber.cs │ │ ├── PlatformPaymentConfiguration.cs │ │ ├── RemediatingAction.cs │ │ ├── Resource.cs │ │ ├── SweepConfigurationNotificationData.cs │ │ ├── SweepConfigurationNotificationRequest.cs │ │ ├── SweepConfigurationV2.cs │ │ ├── SweepCounterparty.cs │ │ ├── SweepSchedule.cs │ │ ├── VerificationDeadline.cs │ │ ├── VerificationError.cs │ │ └── VerificationErrorRecursive.cs │ ├── DataProtection │ │ ├── AbstractOpenAPISchema.cs │ │ ├── ServiceError.cs │ │ ├── SubjectErasureByPspReferenceRequest.cs │ │ └── SubjectErasureResponse.cs │ ├── DisputeWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Amount.cs │ │ ├── BalancePlatformNotificationResponse.cs │ │ ├── DisputeEventNotification.cs │ │ └── DisputeNotificationRequest.cs │ ├── Disputes │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AcceptDisputeRequest.cs │ │ ├── AcceptDisputeResponse.cs │ │ ├── DefendDisputeRequest.cs │ │ ├── DefendDisputeResponse.cs │ │ ├── DefenseDocument.cs │ │ ├── DefenseDocumentType.cs │ │ ├── DefenseReason.cs │ │ ├── DefenseReasonsRequest.cs │ │ ├── DefenseReasonsResponse.cs │ │ ├── DeleteDefenseDocumentRequest.cs │ │ ├── DeleteDefenseDocumentResponse.cs │ │ ├── DisputeServiceResult.cs │ │ ├── ServiceError.cs │ │ ├── SupplyDefenseDocumentRequest.cs │ │ └── SupplyDefenseDocumentResponse.cs │ ├── Environment.cs │ ├── LegalEntityManagement │ │ ├── AULocalAccountIdentification.cs │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AcceptTermsOfServiceRequest.cs │ │ ├── AcceptTermsOfServiceResponse.cs │ │ ├── AdditionalBankIdentification.cs │ │ ├── Address.cs │ │ ├── Amount.cs │ │ ├── Attachment.cs │ │ ├── BankAccountInfo.cs │ │ ├── BankAccountInfoAccountIdentification.cs │ │ ├── BirthData.cs │ │ ├── BusinessLine.cs │ │ ├── BusinessLineInfo.cs │ │ ├── BusinessLineInfoUpdate.cs │ │ ├── BusinessLines.cs │ │ ├── CALocalAccountIdentification.cs │ │ ├── CZLocalAccountIdentification.cs │ │ ├── CalculatePciStatusRequest.cs │ │ ├── CalculatePciStatusResponse.cs │ │ ├── CalculateTermsOfServiceStatusResponse.cs │ │ ├── CapabilityProblem.cs │ │ ├── CapabilityProblemEntity.cs │ │ ├── CapabilityProblemEntityRecursive.cs │ │ ├── CapabilitySettings.cs │ │ ├── CheckTaxElectronicDeliveryConsentResponse.cs │ │ ├── DKLocalAccountIdentification.cs │ │ ├── DataReviewConfirmationResponse.cs │ │ ├── Document.cs │ │ ├── DocumentPage.cs │ │ ├── DocumentReference.cs │ │ ├── EntityReference.cs │ │ ├── FinancialReport.cs │ │ ├── GeneratePciDescriptionRequest.cs │ │ ├── GeneratePciDescriptionResponse.cs │ │ ├── GetAcceptedTermsOfServiceDocumentResponse.cs │ │ ├── GetPciQuestionnaireInfosResponse.cs │ │ ├── GetPciQuestionnaireResponse.cs │ │ ├── GetTermsOfServiceAcceptanceInfosResponse.cs │ │ ├── GetTermsOfServiceDocumentRequest.cs │ │ ├── GetTermsOfServiceDocumentResponse.cs │ │ ├── HKLocalAccountIdentification.cs │ │ ├── HULocalAccountIdentification.cs │ │ ├── IbanAccountIdentification.cs │ │ ├── IdentificationData.cs │ │ ├── Individual.cs │ │ ├── LegalEntity.cs │ │ ├── LegalEntityAssociation.cs │ │ ├── LegalEntityCapability.cs │ │ ├── LegalEntityInfo.cs │ │ ├── LegalEntityInfoRequiredType.cs │ │ ├── NOLocalAccountIdentification.cs │ │ ├── NZLocalAccountIdentification.cs │ │ ├── Name.cs │ │ ├── NumberAndBicAccountIdentification.cs │ │ ├── OnboardingLink.cs │ │ ├── OnboardingLinkInfo.cs │ │ ├── OnboardingLinkSettings.cs │ │ ├── OnboardingTheme.cs │ │ ├── OnboardingThemes.cs │ │ ├── Organization.cs │ │ ├── OwnerEntity.cs │ │ ├── PLLocalAccountIdentification.cs │ │ ├── PciDocumentInfo.cs │ │ ├── PciSigningRequest.cs │ │ ├── PciSigningResponse.cs │ │ ├── PhoneNumber.cs │ │ ├── RemediatingAction.cs │ │ ├── SELocalAccountIdentification.cs │ │ ├── SGLocalAccountIdentification.cs │ │ ├── ServiceError.cs │ │ ├── SetTaxElectronicDeliveryConsentRequest.cs │ │ ├── SoleProprietorship.cs │ │ ├── SourceOfFunds.cs │ │ ├── StockData.cs │ │ ├── SupportingEntityCapability.cs │ │ ├── TaxInformation.cs │ │ ├── TaxReportingClassification.cs │ │ ├── TermsOfServiceAcceptanceInfo.cs │ │ ├── TransferInstrument.cs │ │ ├── TransferInstrumentInfo.cs │ │ ├── TransferInstrumentReference.cs │ │ ├── Trust.cs │ │ ├── UKLocalAccountIdentification.cs │ │ ├── USLocalAccountIdentification.cs │ │ ├── UndefinedBeneficiary.cs │ │ ├── UnincorporatedPartnership.cs │ │ ├── VerificationDeadline.cs │ │ ├── VerificationError.cs │ │ ├── VerificationErrorRecursive.cs │ │ ├── VerificationErrors.cs │ │ ├── WebData.cs │ │ └── WebDataExemption.cs │ ├── Management │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccelInfo.cs │ │ ├── AdditionalCommission.cs │ │ ├── AdditionalSettings.cs │ │ ├── AdditionalSettingsResponse.cs │ │ ├── Address.cs │ │ ├── AffirmInfo.cs │ │ ├── AfterpayTouchInfo.cs │ │ ├── AllowedOrigin.cs │ │ ├── AllowedOriginsResponse.cs │ │ ├── AmexInfo.cs │ │ ├── Amount.cs │ │ ├── AndroidApp.cs │ │ ├── AndroidAppError.cs │ │ ├── AndroidAppsResponse.cs │ │ ├── AndroidCertificate.cs │ │ ├── AndroidCertificatesResponse.cs │ │ ├── ApiCredential.cs │ │ ├── ApiCredentialLinks.cs │ │ ├── ApplePayInfo.cs │ │ ├── BcmcInfo.cs │ │ ├── BillingEntitiesResponse.cs │ │ ├── BillingEntity.cs │ │ ├── CardholderReceipt.cs │ │ ├── CartesBancairesInfo.cs │ │ ├── ClearpayInfo.cs │ │ ├── Commission.cs │ │ ├── Company.cs │ │ ├── CompanyApiCredential.cs │ │ ├── CompanyLinks.cs │ │ ├── CompanyUser.cs │ │ ├── Connectivity.cs │ │ ├── Contact.cs │ │ ├── CreateAllowedOriginRequest.cs │ │ ├── CreateApiCredentialResponse.cs │ │ ├── CreateCompanyApiCredentialRequest.cs │ │ ├── CreateCompanyApiCredentialResponse.cs │ │ ├── CreateCompanyUserRequest.cs │ │ ├── CreateCompanyUserResponse.cs │ │ ├── CreateCompanyWebhookRequest.cs │ │ ├── CreateMerchantApiCredentialRequest.cs │ │ ├── CreateMerchantRequest.cs │ │ ├── CreateMerchantResponse.cs │ │ ├── CreateMerchantUserRequest.cs │ │ ├── CreateMerchantWebhookRequest.cs │ │ ├── CreateUserResponse.cs │ │ ├── Currency.cs │ │ ├── CustomNotification.cs │ │ ├── DataCenter.cs │ │ ├── DinersInfo.cs │ │ ├── EventUrl.cs │ │ ├── ExternalTerminalAction.cs │ │ ├── File.cs │ │ ├── GenerateApiKeyResponse.cs │ │ ├── GenerateClientKeyResponse.cs │ │ ├── GenerateHmacKeyResponse.cs │ │ ├── GenericPmWithTdiInfo.cs │ │ ├── GiroPayInfo.cs │ │ ├── GooglePayInfo.cs │ │ ├── Gratuity.cs │ │ ├── Hardware.cs │ │ ├── IdName.cs │ │ ├── InstallAndroidAppDetails.cs │ │ ├── InstallAndroidCertificateDetails.cs │ │ ├── InvalidField.cs │ │ ├── JCBInfo.cs │ │ ├── Key.cs │ │ ├── KlarnaInfo.cs │ │ ├── Links.cs │ │ ├── LinksElement.cs │ │ ├── ListCompanyApiCredentialsResponse.cs │ │ ├── ListCompanyResponse.cs │ │ ├── ListCompanyUsersResponse.cs │ │ ├── ListExternalTerminalActionsResponse.cs │ │ ├── ListMerchantApiCredentialsResponse.cs │ │ ├── ListMerchantResponse.cs │ │ ├── ListMerchantUsersResponse.cs │ │ ├── ListStoresResponse.cs │ │ ├── ListTerminalsResponse.cs │ │ ├── ListWebhooksResponse.cs │ │ ├── Localization.cs │ │ ├── Logo.cs │ │ ├── MeApiCredential.cs │ │ ├── MealVoucherFRInfo.cs │ │ ├── Merchant.cs │ │ ├── MerchantLinks.cs │ │ ├── MinorUnitsMonetaryValue.cs │ │ ├── ModelConfiguration.cs │ │ ├── Name.cs │ │ ├── Name2.cs │ │ ├── Nexo.cs │ │ ├── Notification.cs │ │ ├── NotificationUrl.cs │ │ ├── NyceInfo.cs │ │ ├── OfflineProcessing.cs │ │ ├── Opi.cs │ │ ├── OrderItem.cs │ │ ├── PaginationLinks.cs │ │ ├── Passcodes.cs │ │ ├── PayAtTable.cs │ │ ├── PayMeInfo.cs │ │ ├── PayPalInfo.cs │ │ ├── PayToInfo.cs │ │ ├── Payment.cs │ │ ├── PaymentMethod.cs │ │ ├── PaymentMethodResponse.cs │ │ ├── PaymentMethodSetupInfo.cs │ │ ├── PayoutSettings.cs │ │ ├── PayoutSettingsRequest.cs │ │ ├── PayoutSettingsResponse.cs │ │ ├── Profile.cs │ │ ├── PulseInfo.cs │ │ ├── ReceiptOptions.cs │ │ ├── ReceiptPrinting.cs │ │ ├── Referenced.cs │ │ ├── Refunds.cs │ │ ├── ReleaseUpdateDetails.cs │ │ ├── ReprocessAndroidAppResponse.cs │ │ ├── RequestActivationResponse.cs │ │ ├── RestServiceError.cs │ │ ├── ScheduleTerminalActionsRequest.cs │ │ ├── ScheduleTerminalActionsRequestActionDetails.cs │ │ ├── ScheduleTerminalActionsResponse.cs │ │ ├── Settings.cs │ │ ├── ShippingLocation.cs │ │ ├── ShippingLocationsResponse.cs │ │ ├── Signature.cs │ │ ├── SodexoInfo.cs │ │ ├── SofortInfo.cs │ │ ├── SplitConfiguration.cs │ │ ├── SplitConfigurationList.cs │ │ ├── SplitConfigurationLogic.cs │ │ ├── SplitConfigurationRule.cs │ │ ├── Standalone.cs │ │ ├── StarInfo.cs │ │ ├── Store.cs │ │ ├── StoreAndForward.cs │ │ ├── StoreCreationRequest.cs │ │ ├── StoreCreationWithMerchantCodeRequest.cs │ │ ├── StoreLocation.cs │ │ ├── StoreSplitConfiguration.cs │ │ ├── SupportedCardTypes.cs │ │ ├── Surcharge.cs │ │ ├── SwishInfo.cs │ │ ├── TapToPay.cs │ │ ├── Terminal.cs │ │ ├── TerminalActionScheduleDetail.cs │ │ ├── TerminalAssignment.cs │ │ ├── TerminalConnectivity.cs │ │ ├── TerminalConnectivityBluetooth.cs │ │ ├── TerminalConnectivityCellular.cs │ │ ├── TerminalConnectivityEthernet.cs │ │ ├── TerminalConnectivityWifi.cs │ │ ├── TerminalInstructions.cs │ │ ├── TerminalModelsResponse.cs │ │ ├── TerminalOrder.cs │ │ ├── TerminalOrderRequest.cs │ │ ├── TerminalOrdersResponse.cs │ │ ├── TerminalProduct.cs │ │ ├── TerminalProductPrice.cs │ │ ├── TerminalProductsResponse.cs │ │ ├── TerminalReassignmentRequest.cs │ │ ├── TerminalReassignmentTarget.cs │ │ ├── TerminalSettings.cs │ │ ├── TestCompanyWebhookRequest.cs │ │ ├── TestOutput.cs │ │ ├── TestWebhookRequest.cs │ │ ├── TestWebhookResponse.cs │ │ ├── TicketInfo.cs │ │ ├── Timeouts.cs │ │ ├── TransactionDescriptionInfo.cs │ │ ├── TwintInfo.cs │ │ ├── UninstallAndroidAppDetails.cs │ │ ├── UninstallAndroidCertificateDetails.cs │ │ ├── UpdatableAddress.cs │ │ ├── UpdateCompanyApiCredentialRequest.cs │ │ ├── UpdateCompanyUserRequest.cs │ │ ├── UpdateCompanyWebhookRequest.cs │ │ ├── UpdateMerchantApiCredentialRequest.cs │ │ ├── UpdateMerchantUserRequest.cs │ │ ├── UpdateMerchantWebhookRequest.cs │ │ ├── UpdatePaymentMethodInfo.cs │ │ ├── UpdatePayoutSettingsRequest.cs │ │ ├── UpdateSplitConfigurationLogicRequest.cs │ │ ├── UpdateSplitConfigurationRequest.cs │ │ ├── UpdateSplitConfigurationRuleRequest.cs │ │ ├── UpdateStoreRequest.cs │ │ ├── UploadAndroidAppResponse.cs │ │ ├── UploadAndroidCertificateResponse.cs │ │ ├── Url.cs │ │ ├── User.cs │ │ ├── VippsInfo.cs │ │ ├── WeChatPayInfo.cs │ │ ├── WeChatPayPosInfo.cs │ │ ├── Webhook.cs │ │ ├── WebhookLinks.cs │ │ └── WifiProfiles.cs │ ├── ManagementWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccountCapabilityData.cs │ │ ├── AccountCreateNotificationData.cs │ │ ├── AccountNotificationResponse.cs │ │ ├── AccountUpdateNotificationData.cs │ │ ├── CapabilityProblem.cs │ │ ├── CapabilityProblemEntity.cs │ │ ├── CapabilityProblemEntityRecursive.cs │ │ ├── MerchantCreatedNotificationRequest.cs │ │ ├── MerchantUpdatedNotificationRequest.cs │ │ ├── MidServiceNotificationData.cs │ │ ├── PaymentMethodCreatedNotificationRequest.cs │ │ ├── PaymentMethodNotificationResponse.cs │ │ ├── PaymentMethodRequestRemovedNotificationRequest.cs │ │ ├── PaymentMethodScheduledForRemovalNotificationRequest.cs │ │ ├── RemediatingAction.cs │ │ ├── TerminalAssignmentNotificationRequest.cs │ │ ├── TerminalAssignmentNotificationResponse.cs │ │ ├── TerminalBoardingData.cs │ │ ├── TerminalBoardingNotificationRequest.cs │ │ ├── TerminalBoardingNotificationResponse.cs │ │ ├── TerminalSettingsData.cs │ │ ├── TerminalSettingsNotificationRequest.cs │ │ ├── TerminalSettingsNotificationResponse.cs │ │ ├── VerificationError.cs │ │ └── VerificationErrorRecursive.cs │ ├── NegativeBalanceWarningWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Amount.cs │ │ ├── NegativeBalanceCompensationWarningNotificationData.cs │ │ ├── NegativeBalanceCompensationWarningNotificationRequest.cs │ │ ├── Resource.cs │ │ └── ResourceReference.cs │ ├── Notification │ │ ├── NotificationRequest.cs │ │ ├── NotificationRequestConst.cs │ │ ├── NotificationRequestItem.cs │ │ └── NotificationRequestItemContainer.cs │ ├── Payment │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccountInfo.cs │ │ ├── AcctInfo.cs │ │ ├── AdditionalData3DSecure.cs │ │ ├── AdditionalDataAirline.cs │ │ ├── AdditionalDataCarRental.cs │ │ ├── AdditionalDataCommon.cs │ │ ├── AdditionalDataLevel23.cs │ │ ├── AdditionalDataLodging.cs │ │ ├── AdditionalDataModifications.cs │ │ ├── AdditionalDataOpenInvoice.cs │ │ ├── AdditionalDataOpi.cs │ │ ├── AdditionalDataRatepay.cs │ │ ├── AdditionalDataRetry.cs │ │ ├── AdditionalDataRisk.cs │ │ ├── AdditionalDataRiskStandalone.cs │ │ ├── AdditionalDataSubMerchant.cs │ │ ├── AdditionalDataTemporaryServices.cs │ │ ├── AdditionalDataWallets.cs │ │ ├── Address.cs │ │ ├── AdjustAuthorisationRequest.cs │ │ ├── Amount.cs │ │ ├── ApplicationInfo.cs │ │ ├── AuthenticationResultRequest.cs │ │ ├── AuthenticationResultResponse.cs │ │ ├── BankAccount.cs │ │ ├── BrowserInfo.cs │ │ ├── CancelOrRefundRequest.cs │ │ ├── CancelRequest.cs │ │ ├── CaptureRequest.cs │ │ ├── Card.cs │ │ ├── CommonField.cs │ │ ├── DeviceRenderOptions.cs │ │ ├── DonationRequest.cs │ │ ├── ExternalPlatform.cs │ │ ├── ForexQuote.cs │ │ ├── FraudCheckResult.cs │ │ ├── FraudCheckResultWrapper.cs │ │ ├── FraudResult.cs │ │ ├── FundDestination.cs │ │ ├── FundSource.cs │ │ ├── Installments.cs │ │ ├── Mandate.cs │ │ ├── MerchantDevice.cs │ │ ├── MerchantRiskIndicator.cs │ │ ├── ModificationResult.cs │ │ ├── Name.cs │ │ ├── PaymentRequest.cs │ │ ├── PaymentRequest3d.cs │ │ ├── PaymentRequest3ds2.cs │ │ ├── PaymentResult.cs │ │ ├── Phone.cs │ │ ├── PlatformChargebackLogic.cs │ │ ├── Recurring.cs │ │ ├── RefundRequest.cs │ │ ├── ResponseAdditionalData3DSecure.cs │ │ ├── ResponseAdditionalDataBillingAddress.cs │ │ ├── ResponseAdditionalDataCard.cs │ │ ├── ResponseAdditionalDataCommon.cs │ │ ├── ResponseAdditionalDataDomesticError.cs │ │ ├── ResponseAdditionalDataInstallments.cs │ │ ├── ResponseAdditionalDataNetworkTokens.cs │ │ ├── ResponseAdditionalDataOpi.cs │ │ ├── ResponseAdditionalDataSepa.cs │ │ ├── SDKEphemPubKey.cs │ │ ├── SecureRemoteCommerceCheckoutData.cs │ │ ├── ServiceError.cs │ │ ├── ShopperInteractionDevice.cs │ │ ├── Split.cs │ │ ├── SplitAmount.cs │ │ ├── SubMerchant.cs │ │ ├── TechnicalCancelRequest.cs │ │ ├── ThreeDS1Result.cs │ │ ├── ThreeDS2RequestData.cs │ │ ├── ThreeDS2Result.cs │ │ ├── ThreeDS2ResultRequest.cs │ │ ├── ThreeDS2ResultResponse.cs │ │ ├── ThreeDSRequestorAuthenticationInfo.cs │ │ ├── ThreeDSRequestorPriorAuthenticationInfo.cs │ │ ├── ThreeDSecureData.cs │ │ └── VoidPendingRefundRequest.cs │ ├── PaymentsApp │ │ ├── AbstractOpenAPISchema.cs │ │ ├── BoardingTokenRequest.cs │ │ ├── BoardingTokenResponse.cs │ │ ├── DefaultErrorResponseEntity.cs │ │ ├── InvalidField.cs │ │ ├── PaymentsAppDto.cs │ │ └── PaymentsAppResponse.cs │ ├── Payout │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Address.cs │ │ ├── Amount.cs │ │ ├── BankAccount.cs │ │ ├── Card.cs │ │ ├── FraudCheckResult.cs │ │ ├── FraudCheckResultWrapper.cs │ │ ├── FraudResult.cs │ │ ├── FundSource.cs │ │ ├── ModifyRequest.cs │ │ ├── ModifyResponse.cs │ │ ├── Name.cs │ │ ├── PayoutRequest.cs │ │ ├── PayoutResponse.cs │ │ ├── Recurring.cs │ │ ├── ResponseAdditionalData3DSecure.cs │ │ ├── ResponseAdditionalDataBillingAddress.cs │ │ ├── ResponseAdditionalDataCard.cs │ │ ├── ResponseAdditionalDataCommon.cs │ │ ├── ResponseAdditionalDataDomesticError.cs │ │ ├── ResponseAdditionalDataInstallments.cs │ │ ├── ResponseAdditionalDataNetworkTokens.cs │ │ ├── ResponseAdditionalDataOpi.cs │ │ ├── ResponseAdditionalDataSepa.cs │ │ ├── ServiceError.cs │ │ ├── StoreDetailAndSubmitRequest.cs │ │ ├── StoreDetailAndSubmitResponse.cs │ │ ├── StoreDetailRequest.cs │ │ ├── StoreDetailResponse.cs │ │ ├── SubmitRequest.cs │ │ └── SubmitResponse.cs │ ├── PlatformsAccount │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Account.cs │ │ ├── AccountEvent.cs │ │ ├── AccountHolderDetails.cs │ │ ├── AccountHolderStatus.cs │ │ ├── AccountPayoutState.cs │ │ ├── AccountProcessingState.cs │ │ ├── Amount.cs │ │ ├── BankAccountDetail.cs │ │ ├── BusinessDetails.cs │ │ ├── CloseAccountHolderRequest.cs │ │ ├── CloseAccountHolderResponse.cs │ │ ├── CloseAccountRequest.cs │ │ ├── CloseAccountResponse.cs │ │ ├── CloseStoresRequest.cs │ │ ├── CreateAccountHolderRequest.cs │ │ ├── CreateAccountHolderResponse.cs │ │ ├── CreateAccountRequest.cs │ │ ├── CreateAccountResponse.cs │ │ ├── DeleteBankAccountRequest.cs │ │ ├── DeleteLegalArrangementRequest.cs │ │ ├── DeletePayoutMethodRequest.cs │ │ ├── DeleteShareholderRequest.cs │ │ ├── DeleteSignatoriesRequest.cs │ │ ├── DocumentDetail.cs │ │ ├── ErrorFieldType.cs │ │ ├── FieldType.cs │ │ ├── GenericResponse.cs │ │ ├── GetAccountHolderRequest.cs │ │ ├── GetAccountHolderResponse.cs │ │ ├── GetAccountHolderStatusResponse.cs │ │ ├── GetTaxFormRequest.cs │ │ ├── GetTaxFormResponse.cs │ │ ├── GetUploadedDocumentsRequest.cs │ │ ├── GetUploadedDocumentsResponse.cs │ │ ├── IndividualDetails.cs │ │ ├── KYCCheckResult.cs │ │ ├── KYCCheckStatusData.cs │ │ ├── KYCCheckSummary.cs │ │ ├── KYCLegalArrangementCheckResult.cs │ │ ├── KYCLegalArrangementEntityCheckResult.cs │ │ ├── KYCPayoutMethodCheckResult.cs │ │ ├── KYCShareholderCheckResult.cs │ │ ├── KYCSignatoryCheckResult.cs │ │ ├── KYCUltimateParentCompanyCheckResult.cs │ │ ├── KYCVerificationResult.cs │ │ ├── LegalArrangementDetail.cs │ │ ├── LegalArrangementEntityDetail.cs │ │ ├── LegalArrangementRequest.cs │ │ ├── MigratedAccounts.cs │ │ ├── MigratedShareholders.cs │ │ ├── MigratedStores.cs │ │ ├── MigrationData.cs │ │ ├── PayoutMethod.cs │ │ ├── PayoutScheduleResponse.cs │ │ ├── PerformVerificationRequest.cs │ │ ├── PersonalDocumentData.cs │ │ ├── ServiceError.cs │ │ ├── ShareholderContact.cs │ │ ├── SignatoryContact.cs │ │ ├── StoreDetail.cs │ │ ├── SuspendAccountHolderRequest.cs │ │ ├── SuspendAccountHolderResponse.cs │ │ ├── UltimateParentCompany.cs │ │ ├── UltimateParentCompanyBusinessDetails.cs │ │ ├── UnSuspendAccountHolderRequest.cs │ │ ├── UnSuspendAccountHolderResponse.cs │ │ ├── UpdateAccountHolderRequest.cs │ │ ├── UpdateAccountHolderResponse.cs │ │ ├── UpdateAccountHolderStateRequest.cs │ │ ├── UpdateAccountRequest.cs │ │ ├── UpdateAccountResponse.cs │ │ ├── UpdatePayoutScheduleRequest.cs │ │ ├── UploadDocumentRequest.cs │ │ ├── ViasAddress.cs │ │ ├── ViasName.cs │ │ ├── ViasPersonalData.cs │ │ └── ViasPhoneNumber.cs │ ├── PlatformsFund │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccountDetailBalance.cs │ │ ├── AccountHolderBalanceRequest.cs │ │ ├── AccountHolderBalanceResponse.cs │ │ ├── AccountHolderTransactionListRequest.cs │ │ ├── AccountHolderTransactionListResponse.cs │ │ ├── AccountTransactionList.cs │ │ ├── Amount.cs │ │ ├── BankAccountDetail.cs │ │ ├── DebitAccountHolderRequest.cs │ │ ├── DebitAccountHolderResponse.cs │ │ ├── DetailBalance.cs │ │ ├── ErrorFieldType.cs │ │ ├── FieldType.cs │ │ ├── PayoutAccountHolderRequest.cs │ │ ├── PayoutAccountHolderResponse.cs │ │ ├── RefundFundsTransferRequest.cs │ │ ├── RefundFundsTransferResponse.cs │ │ ├── RefundNotPaidOutTransfersRequest.cs │ │ ├── RefundNotPaidOutTransfersResponse.cs │ │ ├── ServiceError.cs │ │ ├── SetupBeneficiaryRequest.cs │ │ ├── SetupBeneficiaryResponse.cs │ │ ├── Split.cs │ │ ├── SplitAmount.cs │ │ ├── Transaction.cs │ │ ├── TransactionListForAccount.cs │ │ ├── TransferFundsRequest.cs │ │ └── TransferFundsResponse.cs │ ├── PlatformsHostedOnboardingPage │ │ ├── AbstractOpenAPISchema.cs │ │ ├── CollectInformation.cs │ │ ├── ErrorFieldType.cs │ │ ├── FieldType.cs │ │ ├── GetOnboardingUrlRequest.cs │ │ ├── GetOnboardingUrlResponse.cs │ │ ├── GetPciUrlRequest.cs │ │ ├── GetPciUrlResponse.cs │ │ ├── ServiceError.cs │ │ └── ShowPages.cs │ ├── PlatformsNotificationConfiguration │ │ ├── AbstractOpenAPISchema.cs │ │ ├── CreateNotificationConfigurationRequest.cs │ │ ├── DeleteNotificationConfigurationRequest.cs │ │ ├── ErrorFieldType.cs │ │ ├── ExchangeMessage.cs │ │ ├── FieldType.cs │ │ ├── GenericResponse.cs │ │ ├── GetNotificationConfigurationListResponse.cs │ │ ├── GetNotificationConfigurationRequest.cs │ │ ├── GetNotificationConfigurationResponse.cs │ │ ├── NotificationConfigurationDetails.cs │ │ ├── NotificationEventConfiguration.cs │ │ ├── ServiceError.cs │ │ ├── TestNotificationConfigurationRequest.cs │ │ ├── TestNotificationConfigurationResponse.cs │ │ └── UpdateNotificationConfigurationRequest.cs │ ├── PlatformsWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AccountCloseNotification.cs │ │ ├── AccountCreateNotification.cs │ │ ├── AccountEvent.cs │ │ ├── AccountFundsBelowThresholdNotification.cs │ │ ├── AccountFundsBelowThresholdNotificationContent.cs │ │ ├── AccountHolderCreateNotification.cs │ │ ├── AccountHolderDetails.cs │ │ ├── AccountHolderPayoutNotification.cs │ │ ├── AccountHolderPayoutNotificationContent.cs │ │ ├── AccountHolderStatus.cs │ │ ├── AccountHolderStatusChangeNotification.cs │ │ ├── AccountHolderStatusChangeNotificationContent.cs │ │ ├── AccountHolderStoreStatusChangeNotification.cs │ │ ├── AccountHolderStoreStatusChangeNotificationContent.cs │ │ ├── AccountHolderUpcomingDeadlineNotification.cs │ │ ├── AccountHolderUpcomingDeadlineNotificationContent.cs │ │ ├── AccountHolderUpdateNotification.cs │ │ ├── AccountHolderVerificationNotification.cs │ │ ├── AccountHolderVerificationNotificationContent.cs │ │ ├── AccountPayoutState.cs │ │ ├── AccountProcessingState.cs │ │ ├── AccountUpdateNotification.cs │ │ ├── Amount.cs │ │ ├── BankAccountDetail.cs │ │ ├── BeneficiarySetupNotification.cs │ │ ├── BeneficiarySetupNotificationContent.cs │ │ ├── BusinessDetails.cs │ │ ├── CloseAccountResponse.cs │ │ ├── CompensateNegativeBalanceNotification.cs │ │ ├── CompensateNegativeBalanceNotificationContent.cs │ │ ├── CompensateNegativeBalanceNotificationRecord.cs │ │ ├── CreateAccountHolderResponse.cs │ │ ├── CreateAccountResponse.cs │ │ ├── DirectDebitInitiatedNotification.cs │ │ ├── DirectDebitInitiatedNotificationContent.cs │ │ ├── ErrorFieldType.cs │ │ ├── FieldType.cs │ │ ├── IndividualDetails.cs │ │ ├── KYCCheckResult.cs │ │ ├── KYCCheckStatusData.cs │ │ ├── KYCCheckSummary.cs │ │ ├── KYCLegalArrangementCheckResult.cs │ │ ├── KYCLegalArrangementEntityCheckResult.cs │ │ ├── KYCPayoutMethodCheckResult.cs │ │ ├── KYCShareholderCheckResult.cs │ │ ├── KYCSignatoryCheckResult.cs │ │ ├── KYCUltimateParentCompanyCheckResult.cs │ │ ├── KYCVerificationResult.cs │ │ ├── LegalArrangementDetail.cs │ │ ├── LegalArrangementEntityDetail.cs │ │ ├── LocalDate.cs │ │ ├── Message.cs │ │ ├── NotificationErrorContainer.cs │ │ ├── NotificationResponse.cs │ │ ├── OperationStatus.cs │ │ ├── PaymentFailureNotification.cs │ │ ├── PaymentFailureNotificationContent.cs │ │ ├── PayoutMethod.cs │ │ ├── PayoutScheduleResponse.cs │ │ ├── PersonalDocumentData.cs │ │ ├── RefundFundsTransferNotification.cs │ │ ├── RefundFundsTransferNotificationContent.cs │ │ ├── RefundResult.cs │ │ ├── ReportAvailableNotification.cs │ │ ├── ReportAvailableNotificationContent.cs │ │ ├── ScheduledRefundsNotification.cs │ │ ├── ScheduledRefundsNotificationContent.cs │ │ ├── ShareholderContact.cs │ │ ├── SignatoryContact.cs │ │ ├── Split.cs │ │ ├── SplitAmount.cs │ │ ├── StoreDetail.cs │ │ ├── Transaction.cs │ │ ├── TransferFundsNotification.cs │ │ ├── TransferFundsNotificationContent.cs │ │ ├── UltimateParentCompany.cs │ │ ├── UltimateParentCompanyBusinessDetails.cs │ │ ├── UpdateAccountHolderResponse.cs │ │ ├── UpdateAccountResponse.cs │ │ ├── ViasAddress.cs │ │ ├── ViasName.cs │ │ ├── ViasPersonalData.cs │ │ └── ViasPhoneNumber.cs │ ├── PosMobile │ │ ├── AbstractOpenAPISchema.cs │ │ ├── CreateSessionRequest.cs │ │ └── CreateSessionResponse.cs │ ├── PosTerminalManagement │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Address.cs │ │ ├── AssignTerminalsRequest.cs │ │ ├── AssignTerminalsResponse.cs │ │ ├── FindTerminalRequest.cs │ │ ├── FindTerminalResponse.cs │ │ ├── GetStoresUnderAccountRequest.cs │ │ ├── GetStoresUnderAccountResponse.cs │ │ ├── GetTerminalDetailsRequest.cs │ │ ├── GetTerminalDetailsResponse.cs │ │ ├── GetTerminalsUnderAccountRequest.cs │ │ ├── GetTerminalsUnderAccountResponse.cs │ │ ├── MerchantAccount.cs │ │ ├── ServiceError.cs │ │ └── Store.cs │ ├── Recurring │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Address.cs │ │ ├── Amount.cs │ │ ├── BankAccount.cs │ │ ├── Card.cs │ │ ├── CreatePermitRequest.cs │ │ ├── CreatePermitResult.cs │ │ ├── DisablePermitRequest.cs │ │ ├── DisablePermitResult.cs │ │ ├── DisableRequest.cs │ │ ├── DisableResult.cs │ │ ├── Name.cs │ │ ├── NotifyShopperRequest.cs │ │ ├── NotifyShopperResult.cs │ │ ├── Permit.cs │ │ ├── PermitRestriction.cs │ │ ├── PermitResult.cs │ │ ├── Recurring.cs │ │ ├── RecurringDetail.cs │ │ ├── RecurringDetailWrapper.cs │ │ ├── RecurringDetailsRequest.cs │ │ ├── RecurringDetailsResult.cs │ │ ├── ScheduleAccountUpdaterRequest.cs │ │ ├── ScheduleAccountUpdaterResult.cs │ │ ├── ServiceError.cs │ │ └── TokenDetails.cs │ ├── ReportWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── BalancePlatformNotificationResponse.cs │ │ ├── ReportNotificationData.cs │ │ ├── ReportNotificationRequest.cs │ │ ├── Resource.cs │ │ └── ResourceReference.cs │ ├── RequestOptions.cs │ ├── StoredValue │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Amount.cs │ │ ├── ServiceError.cs │ │ ├── StoredValueBalanceCheckRequest.cs │ │ ├── StoredValueBalanceCheckResponse.cs │ │ ├── StoredValueBalanceMergeRequest.cs │ │ ├── StoredValueBalanceMergeResponse.cs │ │ ├── StoredValueIssueRequest.cs │ │ ├── StoredValueIssueResponse.cs │ │ ├── StoredValueLoadRequest.cs │ │ ├── StoredValueLoadResponse.cs │ │ ├── StoredValueStatusChangeRequest.cs │ │ ├── StoredValueStatusChangeResponse.cs │ │ ├── StoredValueVoidRequest.cs │ │ └── StoredValueVoidResponse.cs │ ├── Terminal │ │ ├── SaleToAcquirerData.cs │ │ ├── Split.cs │ │ ├── SplitItem.cs │ │ └── SplitItemType.cs │ ├── TerminalApi │ │ ├── AbortRequest.cs │ │ ├── AccountType.cs │ │ ├── AdminRequest.cs │ │ ├── AdminResponse.cs │ │ ├── AlgorithmIdentifier.cs │ │ ├── AlgorithmType.cs │ │ ├── AlignmentType.cs │ │ ├── AllowedProduct.cs │ │ ├── Amount.cs │ │ ├── AmountsReq.cs │ │ ├── AmountsResp.cs │ │ ├── AreaSize.cs │ │ ├── AuthenticatedData.cs │ │ ├── AuthenticationMethodType.cs │ │ ├── BalanceInquiryRequest.cs │ │ ├── BalanceInquiryResponse.cs │ │ ├── BarcodeType.cs │ │ ├── BatchRequest.cs │ │ ├── BatchResponse.cs │ │ ├── CapturedSignature.cs │ │ ├── CardAcquisitionRequest.cs │ │ ├── CardAcquisitionResponse.cs │ │ ├── CardAcquisitionTransaction.cs │ │ ├── CardData.cs │ │ ├── CardReaderAPDURequest.cs │ │ ├── CardReaderAPDUResponse.cs │ │ ├── CardReaderInitRequest.cs │ │ ├── CardReaderInitResponse.cs │ │ ├── CardReaderPowerOffRequest.cs │ │ ├── CardReaderPowerOffResponse.cs │ │ ├── CardholderPIN.cs │ │ ├── CashHandlingDevice.cs │ │ ├── CharacterHeightType.cs │ │ ├── CharacterStyleType.cs │ │ ├── CharacterWidthType.cs │ │ ├── CheckData.cs │ │ ├── CheckTypeCodeType.cs │ │ ├── CoinsOrBills.cs │ │ ├── ColorType.cs │ │ ├── ContentInformation.cs │ │ ├── ContentType.cs │ │ ├── CurrencyConversion.cs │ │ ├── CustomerOrder.cs │ │ ├── CustomerOrderReqType.cs │ │ ├── DeviceType.cs │ │ ├── DiagnosisRequest.cs │ │ ├── DiagnosisResponse.cs │ │ ├── DigestedData.cs │ │ ├── DisplayOutput.cs │ │ ├── DisplayRequest.cs │ │ ├── DisplayResponse.cs │ │ ├── DocumentQualifierType.cs │ │ ├── EnableServiceRequest.cs │ │ ├── EnableServiceResponse.cs │ │ ├── EncapsulatedContent.cs │ │ ├── EncryptedContent.cs │ │ ├── EntryModeType.cs │ │ ├── EnvelopedData.cs │ │ ├── ErrorConditionType.cs │ │ ├── EventNotification.cs │ │ ├── EventToNotifyType.cs │ │ ├── ForceTypeModeType.cs │ │ ├── GenericProfileType.cs │ │ ├── GeographicCoordinates.cs │ │ ├── Geolocation.cs │ │ ├── GetTotalsRequest.cs │ │ ├── GetTotalsResponse.cs │ │ ├── GlobalStatusType.cs │ │ ├── HostStatus.cs │ │ ├── ICCResetData.cs │ │ ├── IdentificationSupportType.cs │ │ ├── IdentificationType.cs │ │ ├── InfoQualifyType.cs │ │ ├── Input.cs │ │ ├── InputCommandType.cs │ │ ├── InputData.cs │ │ ├── InputRequest.cs │ │ ├── InputResponse.cs │ │ ├── InputResult.cs │ │ ├── InputUpdate.cs │ │ ├── Instalment.cs │ │ ├── IssuerAndSerialNumber.cs │ │ ├── KEK.cs │ │ ├── KEKIdentifier.cs │ │ ├── KeyTransport.cs │ │ ├── LoginRequest.cs │ │ ├── LoginResponse.cs │ │ ├── LogoutRequest.cs │ │ ├── LogoutResponse.cs │ │ ├── LoyaltyAccount.cs │ │ ├── LoyaltyAccountID.cs │ │ ├── LoyaltyAccountReq.cs │ │ ├── LoyaltyAccountStatus.cs │ │ ├── LoyaltyAcquirerData.cs │ │ ├── LoyaltyAmount.cs │ │ ├── LoyaltyData.cs │ │ ├── LoyaltyHandlingType.cs │ │ ├── LoyaltyRequest.cs │ │ ├── LoyaltyResponse.cs │ │ ├── LoyaltyResult.cs │ │ ├── LoyaltyTotals.cs │ │ ├── LoyaltyTransaction.cs │ │ ├── LoyaltyTransactionType.cs │ │ ├── LoyaltyUnitType.cs │ │ ├── MenuEntry.cs │ │ ├── MenuEntryTagType.cs │ │ ├── Message │ │ │ ├── SaleToPOIRequest.cs │ │ │ ├── SaleToPoiRequestSecured.cs │ │ │ └── SaleToPoiResponseSecured.cs │ │ ├── MessageCategoryType.cs │ │ ├── MessageClassType.cs │ │ ├── MessageHeader.cs │ │ ├── MessageReference.cs │ │ ├── MessageType.cs │ │ ├── MobileData.cs │ │ ├── NamedKeyEncryptedData.cs │ │ ├── OriginalPOITransaction.cs │ │ ├── OutputBarcode.cs │ │ ├── OutputContent.cs │ │ ├── OutputFormatType.cs │ │ ├── OutputResult.cs │ │ ├── OutputText.cs │ │ ├── PINFormatType.cs │ │ ├── PINRequest.cs │ │ ├── PINRequestType.cs │ │ ├── PINResponse.cs │ │ ├── POIData.cs │ │ ├── POIProfile.cs │ │ ├── POISoftware.cs │ │ ├── POIStatus.cs │ │ ├── POISystemData.cs │ │ ├── POITerminalData.cs │ │ ├── Parameter.cs │ │ ├── PaymentAccountReq.cs │ │ ├── PaymentAccountStatus.cs │ │ ├── PaymentAcquirerData.cs │ │ ├── PaymentData.cs │ │ ├── PaymentInstrumentData.cs │ │ ├── PaymentInstrumentType.cs │ │ ├── PaymentReceipt.cs │ │ ├── PaymentRequest.cs │ │ ├── PaymentResponse.cs │ │ ├── PaymentResult.cs │ │ ├── PaymentToken.cs │ │ ├── PaymentTotals.cs │ │ ├── PaymentTransaction.cs │ │ ├── PaymentType.cs │ │ ├── PerformedTransaction.cs │ │ ├── PeriodUnitType.cs │ │ ├── PredefinedContent.cs │ │ ├── PrintOutput.cs │ │ ├── PrintRequest.cs │ │ ├── PrintResponse.cs │ │ ├── PrinterStatusType.cs │ │ ├── Rebates.cs │ │ ├── RecipientIdentifier.cs │ │ ├── ReconciliationRequest.cs │ │ ├── ReconciliationResponse.cs │ │ ├── ReconciliationType.cs │ │ ├── RelativeDistinguishedName.cs │ │ ├── RepeatedMessageResponse.cs │ │ ├── RepeatedResponseMessageBody.cs │ │ ├── Response.cs │ │ ├── ResponseModeType.cs │ │ ├── ResultType.cs │ │ ├── ReversalReasonType.cs │ │ ├── ReversalRequest.cs │ │ ├── ReversalResponse.cs │ │ ├── SaleData.cs │ │ ├── SaleItem.cs │ │ ├── SaleItemRebate.cs │ │ ├── SaleProfile.cs │ │ ├── SaleSoftware.cs │ │ ├── SaleTerminalData.cs │ │ ├── SaleToIssuerData.cs │ │ ├── SaleToPOIMessage.cs │ │ ├── SaleToPOIResponse.cs │ │ ├── SensitiveCardData.cs │ │ ├── SensitiveMobileData.cs │ │ ├── SignaturePoint.cs │ │ ├── SignedData.cs │ │ ├── Signer.cs │ │ ├── SignerIdentifier.cs │ │ ├── SoundActionType.cs │ │ ├── SoundContent.cs │ │ ├── SoundFormatType.cs │ │ ├── SoundRequest.cs │ │ ├── SoundResponse.cs │ │ ├── SponsoredMerchant.cs │ │ ├── StoredValueAccountID.cs │ │ ├── StoredValueAccountStatus.cs │ │ ├── StoredValueAccountType.cs │ │ ├── StoredValueData.cs │ │ ├── StoredValueRequest.cs │ │ ├── StoredValueResponse.cs │ │ ├── StoredValueResult.cs │ │ ├── StoredValueTransactionType.cs │ │ ├── TerminalEnvironmentType.cs │ │ ├── TokenRequestedType.cs │ │ ├── TotalDetailsType.cs │ │ ├── TotalFilter.cs │ │ ├── TrackData.cs │ │ ├── TrackFormatType.cs │ │ ├── TransactionActionType.cs │ │ ├── TransactionConditions.cs │ │ ├── TransactionIdentification.cs │ │ ├── TransactionStatusRequest.cs │ │ ├── TransactionStatusResponse.cs │ │ ├── TransactionToPerform.cs │ │ ├── TransactionTotals.cs │ │ ├── TransactionType.cs │ │ ├── TransmitRequest.cs │ │ ├── TransmitResponse.cs │ │ ├── UTMCoordinates.cs │ │ ├── UnitOfMeasureType.cs │ │ └── VersionType.cs │ ├── TransactionWebhooks │ │ ├── AbstractOpenAPISchema.cs │ │ ├── Amount.cs │ │ ├── BalancePlatformNotificationResponse.cs │ │ ├── BankCategoryData.cs │ │ ├── InternalCategoryData.cs │ │ ├── IssuedCard.cs │ │ ├── PaymentInstrument.cs │ │ ├── PlatformPayment.cs │ │ ├── RelayedAuthorisationData.cs │ │ ├── Resource.cs │ │ ├── ResourceReference.cs │ │ ├── Transaction.cs │ │ ├── TransactionNotificationRequestV4.cs │ │ ├── TransferNotificationValidationFact.cs │ │ ├── TransferView.cs │ │ └── TransferViewCategoryData.cs │ ├── TransferWebhooks │ │ ├── AULocalAccountIdentification.cs │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AdditionalBankIdentification.cs │ │ ├── Address.cs │ │ ├── Airline.cs │ │ ├── Amount.cs │ │ ├── AmountAdjustment.cs │ │ ├── BRLocalAccountIdentification.cs │ │ ├── BalanceMutation.cs │ │ ├── BalancePlatformNotificationResponse.cs │ │ ├── BankAccountV3.cs │ │ ├── BankAccountV3AccountIdentification.cs │ │ ├── BankCategoryData.cs │ │ ├── CALocalAccountIdentification.cs │ │ ├── CZLocalAccountIdentification.cs │ │ ├── Card.cs │ │ ├── CardIdentification.cs │ │ ├── ConfirmationTrackingData.cs │ │ ├── CounterpartyV3.cs │ │ ├── DKLocalAccountIdentification.cs │ │ ├── DirectDebitInformation.cs │ │ ├── EstimationTrackingData.cs │ │ ├── ExternalReason.cs │ │ ├── HKLocalAccountIdentification.cs │ │ ├── HULocalAccountIdentification.cs │ │ ├── IbanAccountIdentification.cs │ │ ├── InternalCategoryData.cs │ │ ├── InternalReviewTrackingData.cs │ │ ├── IssuedCard.cs │ │ ├── IssuingTransactionData.cs │ │ ├── Leg.cs │ │ ├── Lodging.cs │ │ ├── MerchantData.cs │ │ ├── MerchantPurchaseData.cs │ │ ├── Modification.cs │ │ ├── NOLocalAccountIdentification.cs │ │ ├── NZLocalAccountIdentification.cs │ │ ├── NameLocation.cs │ │ ├── NumberAndBicAccountIdentification.cs │ │ ├── PLLocalAccountIdentification.cs │ │ ├── PartyIdentification.cs │ │ ├── PaymentInstrument.cs │ │ ├── PlatformPayment.cs │ │ ├── RelayedAuthorisationData.cs │ │ ├── Resource.cs │ │ ├── ResourceReference.cs │ │ ├── SELocalAccountIdentification.cs │ │ ├── SGLocalAccountIdentification.cs │ │ ├── TransactionEventViolation.cs │ │ ├── TransactionRuleReference.cs │ │ ├── TransactionRuleSource.cs │ │ ├── TransactionRulesResult.cs │ │ ├── TransferData.cs │ │ ├── TransferDataCategoryData.cs │ │ ├── TransferDataTracking.cs │ │ ├── TransferEvent.cs │ │ ├── TransferEventEventsDataInner.cs │ │ ├── TransferEventTrackingData.cs │ │ ├── TransferNotificationCounterParty.cs │ │ ├── TransferNotificationMerchantData.cs │ │ ├── TransferNotificationRequest.cs │ │ ├── TransferNotificationValidationFact.cs │ │ ├── TransferReview.cs │ │ ├── UKLocalAccountIdentification.cs │ │ └── USLocalAccountIdentification.cs │ └── Transfers │ │ ├── AULocalAccountIdentification.cs │ │ ├── AbstractOpenAPISchema.cs │ │ ├── AdditionalBankIdentification.cs │ │ ├── Address.cs │ │ ├── Airline.cs │ │ ├── Amount.cs │ │ ├── AmountAdjustment.cs │ │ ├── ApproveTransfersRequest.cs │ │ ├── BRLocalAccountIdentification.cs │ │ ├── BalanceMutation.cs │ │ ├── BankAccountV3.cs │ │ ├── BankAccountV3AccountIdentification.cs │ │ ├── BankCategoryData.cs │ │ ├── CALocalAccountIdentification.cs │ │ ├── CZLocalAccountIdentification.cs │ │ ├── CancelTransfersRequest.cs │ │ ├── CapitalBalance.cs │ │ ├── CapitalGrant.cs │ │ ├── CapitalGrantInfo.cs │ │ ├── CapitalGrants.cs │ │ ├── Card.cs │ │ ├── CardIdentification.cs │ │ ├── ConfirmationTrackingData.cs │ │ ├── Counterparty.cs │ │ ├── CounterpartyInfoV3.cs │ │ ├── CounterpartyV3.cs │ │ ├── DKLocalAccountIdentification.cs │ │ ├── DirectDebitInformation.cs │ │ ├── EstimationTrackingData.cs │ │ ├── ExternalReason.cs │ │ ├── Fee.cs │ │ ├── FindTransfersResponse.cs │ │ ├── HKLocalAccountIdentification.cs │ │ ├── HULocalAccountIdentification.cs │ │ ├── IbanAccountIdentification.cs │ │ ├── InternalCategoryData.cs │ │ ├── InternalReviewTrackingData.cs │ │ ├── InvalidField.cs │ │ ├── IssuedCard.cs │ │ ├── IssuingTransactionData.cs │ │ ├── Leg.cs │ │ ├── Link.cs │ │ ├── Links.cs │ │ ├── Lodging.cs │ │ ├── MerchantData.cs │ │ ├── MerchantPurchaseData.cs │ │ ├── Modification.cs │ │ ├── NOLocalAccountIdentification.cs │ │ ├── NZLocalAccountIdentification.cs │ │ ├── NameLocation.cs │ │ ├── NumberAndBicAccountIdentification.cs │ │ ├── PLLocalAccountIdentification.cs │ │ ├── PartyIdentification.cs │ │ ├── PaymentInstrument.cs │ │ ├── PlatformPayment.cs │ │ ├── RelayedAuthorisationData.cs │ │ ├── Repayment.cs │ │ ├── RepaymentTerm.cs │ │ ├── ResourceReference.cs │ │ ├── RestServiceError.cs │ │ ├── ReturnTransferRequest.cs │ │ ├── ReturnTransferResponse.cs │ │ ├── RoutingDetails.cs │ │ ├── SELocalAccountIdentification.cs │ │ ├── SGLocalAccountIdentification.cs │ │ ├── ServiceError.cs │ │ ├── ThresholdRepayment.cs │ │ ├── Transaction.cs │ │ ├── TransactionEventViolation.cs │ │ ├── TransactionRuleReference.cs │ │ ├── TransactionRuleSource.cs │ │ ├── TransactionRulesResult.cs │ │ ├── TransactionSearchResponse.cs │ │ ├── Transfer.cs │ │ ├── TransferCategoryData.cs │ │ ├── TransferData.cs │ │ ├── TransferDataTracking.cs │ │ ├── TransferEvent.cs │ │ ├── TransferEventEventsDataInner.cs │ │ ├── TransferEventTrackingData.cs │ │ ├── TransferInfo.cs │ │ ├── TransferNotificationCounterParty.cs │ │ ├── TransferNotificationMerchantData.cs │ │ ├── TransferNotificationValidationFact.cs │ │ ├── TransferRequestReview.cs │ │ ├── TransferReview.cs │ │ ├── TransferServiceRestServiceError.cs │ │ ├── TransferView.cs │ │ ├── UKLocalAccountIdentification.cs │ │ ├── USLocalAccountIdentification.cs │ │ └── UltimatePartyIdentification.cs ├── Security │ ├── AesEncryptor.cs │ ├── EncryptionCredentialDetails.cs │ ├── EncryptionDerivedKey.cs │ ├── EncryptionDerivedKeyGenerator.cs │ ├── Exceptions │ │ └── NexoCryptoException.cs │ ├── Extension │ │ └── ArrayExtension.cs │ ├── HmacSha256Wrapper.cs │ ├── IvModGenerator.cs │ ├── SaleToPoiMessageSecured.cs │ ├── SaleToPoiMessageSecuredEncryptor.cs │ ├── SecurityTrailer.cs │ └── TerminalCommonNameValidator.cs ├── Service │ ├── AbstractService.cs │ ├── ApiException.cs │ ├── BalanceControlService.cs │ ├── BalancePlatform │ │ ├── AccountHoldersService.cs │ │ ├── BalanceAccountsService.cs │ │ ├── BankAccountValidationService.cs │ │ ├── CardOrdersService.cs │ │ ├── GrantAccountsService.cs │ │ ├── GrantOffersService.cs │ │ ├── ManageCardPINService.cs │ │ ├── ManageSCADevicesService.cs │ │ ├── NetworkTokensService.cs │ │ ├── PaymentInstrumentGroupsService.cs │ │ ├── PaymentInstrumentsService.cs │ │ ├── PlatformService.cs │ │ ├── TransactionRulesService.cs │ │ └── TransferRoutesService.cs │ ├── BinLookupService.cs │ ├── Checkout │ │ ├── DonationsService.cs │ │ ├── ModificationsService.cs │ │ ├── OrdersService.cs │ │ ├── PaymentLinksService.cs │ │ ├── PaymentsService.cs │ │ ├── RecurringService.cs │ │ └── UtilityService.cs │ ├── DataProtectionService.cs │ ├── DisputesService.cs │ ├── LegalEntityManagement │ │ ├── BusinessLinesService.cs │ │ ├── DocumentsService.cs │ │ ├── HostedOnboardingService.cs │ │ ├── LegalEntitiesService.cs │ │ ├── PCIQuestionnairesService.cs │ │ ├── TaxEDeliveryConsentService.cs │ │ ├── TermsOfServiceService.cs │ │ └── TransferInstrumentsService.cs │ ├── Management │ │ ├── APICredentialsCompanyLevelService.cs │ │ ├── APICredentialsMerchantLevelService.cs │ │ ├── APIKeyCompanyLevelService.cs │ │ ├── APIKeyMerchantLevelService.cs │ │ ├── AccountCompanyLevelService.cs │ │ ├── AccountMerchantLevelService.cs │ │ ├── AccountStoreLevelService.cs │ │ ├── AllowedOriginsCompanyLevelService.cs │ │ ├── AllowedOriginsMerchantLevelService.cs │ │ ├── AndroidFilesCompanyLevelService.cs │ │ ├── ClientKeyCompanyLevelService.cs │ │ ├── ClientKeyMerchantLevelService.cs │ │ ├── MyAPICredentialService.cs │ │ ├── PaymentMethodsMerchantLevelService.cs │ │ ├── PayoutSettingsMerchantLevelService.cs │ │ ├── SplitConfigurationMerchantLevelService.cs │ │ ├── TerminalActionsCompanyLevelService.cs │ │ ├── TerminalActionsTerminalLevelService.cs │ │ ├── TerminalOrdersCompanyLevelService.cs │ │ ├── TerminalOrdersMerchantLevelService.cs │ │ ├── TerminalSettingsCompanyLevelService.cs │ │ ├── TerminalSettingsMerchantLevelService.cs │ │ ├── TerminalSettingsStoreLevelService.cs │ │ ├── TerminalSettingsTerminalLevelService.cs │ │ ├── TerminalsTerminalLevelService.cs │ │ ├── UsersCompanyLevelService.cs │ │ ├── UsersMerchantLevelService.cs │ │ ├── WebhooksCompanyLevelService.cs │ │ └── WebhooksMerchantLevelService.cs │ ├── PaymentService.cs │ ├── PaymentsAppService.cs │ ├── Payout │ │ ├── InitializationService.cs │ │ ├── InstantPayoutsService.cs │ │ └── ReviewingService.cs │ ├── PlatformsAccount │ │ ├── AccountHoldersService.cs │ │ ├── AccountsService.cs │ │ └── VerificationService.cs │ ├── PlatformsFundService.cs │ ├── PlatformsHostedOnboardingPage │ │ ├── HostedOnboardingPageService.cs │ │ └── PCIComplianceQuestionnairePageService.cs │ ├── PlatformsNotificationConfigurationService.cs │ ├── PosMobileService.cs │ ├── PosTerminalManagementService.cs │ ├── RecurringService.cs │ ├── Resource │ │ └── Terminal │ │ │ ├── TerminalApi.cs │ │ │ ├── TerminalApiAsyncClient.cs │ │ │ ├── TerminalApiLocal.cs │ │ │ ├── TerminalApiLocalClient.cs │ │ │ └── TerminalApiSyncClient.cs │ ├── ServiceResource.cs │ ├── StoredValueService.cs │ ├── TerminalApiAsyncService.cs │ ├── TerminalApiLocalService.cs │ ├── TerminalApiSyncService.cs │ ├── TerminalCloudApi.cs │ ├── TerminalLocalApi.cs │ ├── TerminalLocalApiUnencrypted.cs │ └── Transfers │ │ ├── CapitalService.cs │ │ ├── TransactionsService.cs │ │ └── TransfersService.cs ├── Util │ ├── ByteArrayConverter.cs │ ├── HMACValidator.cs │ ├── JsonOperation.cs │ ├── TerminalApi │ │ ├── AdditionalResponse.cs │ │ └── CardAcquisitionUtil.cs │ └── Util.cs ├── Webhooks │ ├── BalancePlatformWebhookHandler.cs │ ├── ClassicPlatformWebhookHandler.cs │ ├── ManagementWebhookHandler.cs │ └── WebhookHandler.cs ├── adyen-dotnet-api-library-key.snk └── adyen-logo.png ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── VERSION ├── Vagrantfile ├── renovate.json └── templates └── csharp ├── AbstractOpenAPISchema.mustache ├── api-single.mustache ├── api.mustache ├── api_invoke.mustache ├── api_parameter_ordering.mustache ├── api_parameter_ordering_required.mustache ├── api_parameters.mustache ├── api_parameters_async.mustache ├── config.yaml ├── method_documentation.mustache ├── model.mustache ├── modelGeneric.mustache ├── modelOneOf.mustache └── partial_header.mustache /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @Adyen/developer-relations 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **Description** 2 | 3 | 4 | **Tested scenarios** 5 | 6 | 7 | **Fixed issue**: 8 | -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- 1 | changelog: 2 | categories: 3 | - title: Breaking Changes 🛠 4 | labels: 5 | - Breaking change 6 | - title: New Features 💎 7 | labels: 8 | - Feature 9 | - title: Fixes ⛑️ 10 | labels: 11 | - Fix 12 | - title: Other Changes 🖇️ 13 | labels: 14 | - "*" -------------------------------------------------------------------------------- /.github/workflows/build-net8.0.yml: -------------------------------------------------------------------------------- 1 | name: .NET Core 8.0 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | branches: 9 | - main 10 | - sdk-automation/models 11 | - promote/main 12 | workflow_dispatch: {} 13 | 14 | jobs: 15 | dotnet8-build-and-unit-test: 16 | name: Build and Test on .NET 8.0 17 | runs-on: ${{ matrix.os }} 18 | 19 | strategy: 20 | matrix: 21 | os: [ ubuntu-latest, windows-latest ] 22 | 23 | steps: 24 | - uses: actions/checkout@v4 25 | 26 | - name: Setup .NET 8.0 27 | uses: actions/setup-dotnet@v4 28 | with: 29 | dotnet-version: 8.0.x 30 | 31 | - name: Restore dependencies 32 | run: dotnet restore 33 | 34 | - name: Build (debug) in .NET 8.0 35 | run: dotnet build --configuration Debug --framework net8.0 --no-restore 36 | 37 | - name: Run unit tests in .NET 8.0 38 | run: dotnet test --no-build --configuration Debug --framework net8.0 --no-restore Adyen.Test/Adyen.Test.csproj -------------------------------------------------------------------------------- /.github/workflows/label_new_issues.yml: -------------------------------------------------------------------------------- 1 | name: Label New Issues 2 | on: 3 | issues: 4 | types: [opened] 5 | 6 | jobs: 7 | add-label: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: Add 'needs response' label to new issues 11 | uses: actions-ecosystem/action-add-labels@v1 12 | with: 13 | github_token: ${{ secrets.GITHUB_TOKEN }} 14 | labels: 'needs response' 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/.DS_Store 2 | .vs/ 3 | TestResults/ 4 | .vagrant/ 5 | .idea/ 6 | *.user 7 | target/ 8 | -------------------------------------------------------------------------------- /Adyen.IntegrationTest/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | TestResults/ 4 | *.user -------------------------------------------------------------------------------- /Adyen.IntegrationTest/Adyen.IntegrationTest.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net8.0;net6.0 5 | 12 6 | enable 7 | disable 8 | false 9 | true 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Adyen.IntegrationTest/ClientConstants.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Adyen.IntegrationTest 4 | { 5 | public class ClientConstants 6 | { 7 | public static readonly string MerchantAccount = Environment.GetEnvironmentVariable("INTEGRATION_MERCHANT_ACCOUNT"); 8 | public static readonly string Xapikey = Environment.GetEnvironmentVariable("INTEGRATION_X_API_KEY"); 9 | 10 | public static readonly string CaUsername = Environment.GetEnvironmentVariable("INTEGRATION_CA_USERNAME"); 11 | public static readonly string CaPassword = Environment.GetEnvironmentVariable("INTEGRATION_CA_PASSWORD"); 12 | } 13 | } -------------------------------------------------------------------------------- /Adyen.Test/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | *.user -------------------------------------------------------------------------------- /Adyen.Test/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Adyen.Test/BalanceControlTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Adyen.Model.BalanceControl; 3 | using Adyen.Service; 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace Adyen.Test 7 | { 8 | [TestClass] 9 | public class BalanceControlTest : BaseTest 10 | { 11 | [TestMethod] 12 | public void BalanceTransferTest() 13 | { 14 | var client = CreateMockTestClientApiKeyBasedRequestAsync("mocks/balance-control-transfer.json"); 15 | var service = new BalanceControlService(client); 16 | var response = service.BalanceTransfer(new BalanceTransferRequest()); 17 | Assert.AreEqual(response.CreatedAt, new DateTime(2022,01, 24)); 18 | Assert.AreEqual(response.Status, BalanceTransferResponse.StatusEnum.Transferred); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen.Test/DataProtectionTest.cs: -------------------------------------------------------------------------------- 1 | using Adyen.Model.DataProtection; 2 | using Adyen.Service; 3 | using Microsoft.VisualStudio.TestTools.UnitTesting; 4 | 5 | namespace Adyen.Test 6 | { 7 | [TestClass] 8 | public class DataProtectionTest : BaseTest 9 | { 10 | [TestMethod] 11 | public void TestRequestSubjectErasure() 12 | { 13 | var client = CreateMockTestClientApiKeyBasedRequestAsync("mocks/data-protection-response.json"); 14 | var service = new DataProtectionService(client); 15 | var response = service.RequestSubjectErasure(new SubjectErasureByPspReferenceRequest()); 16 | Assert.AreEqual(response.Result, SubjectErasureResponse.ResultEnum.ACTIVERECURRINGTOKENEXISTS); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen.Test/GrantsTest.cs: -------------------------------------------------------------------------------- 1 | 2 | using Adyen.Model.Transfers; 3 | using Adyen.Service.Transfers; 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace Adyen.Test 7 | { 8 | public class GrantsTest : BaseTest 9 | { 10 | [TestMethod] 11 | public void StoredValueIssueTest() 12 | { 13 | var client = CreateMockTestClientApiKeyBasedRequestAsync("mocks/grants/post-grants-success.json"); 14 | var service = new CapitalService(client); 15 | var response = service.RequestGrantPayout(new CapitalGrantInfo()); 16 | Assert.AreEqual(response.Id, "CG00000000000000000000001"); 17 | Assert.AreEqual(response.GrantAccountId, "CG00000000000000000000001"); 18 | Assert.AreEqual(response.Status, CapitalGrant.StatusEnum.Pending); 19 | Assert.IsNotNull(response.Balances); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Adyen.Test/HttpClientWrapperTest.cs: -------------------------------------------------------------------------------- 1 | using Adyen.HttpClient; 2 | using Microsoft.VisualStudio.TestTools.UnitTesting; 3 | 4 | namespace Adyen.Test 5 | { 6 | [TestClass] 7 | public class HttpClientWrapperTest : BaseTest 8 | { 9 | [TestMethod] 10 | public void EmptyRequestBodyPostTest() 11 | { 12 | var configWithApiKey = new Config 13 | { 14 | Environment = Model.Environment.Test, 15 | XApiKey = "AQEyhmfxK....LAG84XwzP5pSpVd" 16 | }; 17 | var mockHttpMessageHandler = new MockHttpMessageHandler("{}", System.Net.HttpStatusCode.OK); 18 | var httpClient = new System.Net.Http.HttpClient(mockHttpMessageHandler); 19 | var httpClientWrapper = new HttpClientWrapper(configWithApiKey, httpClient); 20 | var _ = httpClientWrapper.Request("https://test.com/testpath", null, null, HttpMethod.Post); 21 | Assert.AreEqual("{}", mockHttpMessageHandler.Input); 22 | } 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /Adyen.Test/ProxyTest.cs: -------------------------------------------------------------------------------- 1 | using System.Net; 2 | using Microsoft.VisualStudio.TestTools.UnitTesting; 3 | 4 | namespace Adyen.Test 5 | { 6 | [TestClass] 7 | public class ProxyTest 8 | { 9 | [TestMethod] 10 | public void CreateClientWithNullProxyConfiguration() 11 | { 12 | var config = new Config(); 13 | config.Proxy = null; 14 | var client = new Client(config); 15 | Assert.AreEqual(client.Config.Proxy, config.Proxy); 16 | } 17 | 18 | [TestMethod] 19 | public void CreateClientWithProxyConfiguration() 20 | { 21 | var config = new Config(); 22 | config.Proxy = new WebProxy(); 23 | var client = new Client(config); 24 | Assert.AreEqual(client.Config.Proxy, config.Proxy); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/ThreeDS2Result.json: -------------------------------------------------------------------------------- 1 | { 2 | "threeDS2Result": { 3 | "authenticationValue": "QURZRU4gM0RTMiBURVNUIENBVlY=", 4 | "dsTransID": "80a16fa0-4eea-43c9-8de5-b0470d09d14d", 5 | "eci": "01", 6 | "messageVersion": "2.1.0", 7 | "threeDSServerTransID": "f04ec32b-f46b-46ef-9ccd-44be42fb0d7e", 8 | "transStatus": "A" 9 | } 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/adjustAuthorisation-received.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "merchantReference": "payment - 20190901" 4 | }, 5 | "pspReference": "853569123456789D", 6 | "response": "[adjustAuthorisation-received]" 7 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/authentication-result-success-3ds1.json: -------------------------------------------------------------------------------- 1 | { 2 | "threeDS1Result": { 3 | "cavv": "AQIDBAUGBwgJCgsMDQ4PEBESExQ=", 4 | "cavvAlgorithm": "1", 5 | "eci": "05", 6 | "threeDAuthenticatedResponse": "Y", 7 | "threeDOfferedResponse": "Y", 8 | "xid": "OTEzNTY5Mzk5NjIwODc3RgAAAAA=" 9 | } 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/authentication-result-success-3ds2.json: -------------------------------------------------------------------------------- 1 | { 2 | "threeDS2Result": { 3 | "authenticationValue": "QURZRU4gM0RTMiBURVNUIENBVlY=", 4 | "dsTransID": "80a16fa0-4eea-43c9-8de5-b0470d09d14d", 5 | "eci": "01", 6 | "messageVersion": "2.1.0", 7 | "threeDSServerTransID": "f04ec32b-f46b-46ef-9ccd-44be42fb0d7e", 8 | "transStatus": "A" 9 | } 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/authorise-error-010.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 403, 3 | "errorCode": "010", 4 | "message": "Not allowed", 5 | "errorType": "security", 6 | "pspReference": "8514836072314693" 7 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/authorise-success-klarna.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "additionalData.acquirerReference": "2374421290", 4 | "paymentMethodVariant": "klarna" 5 | }, 6 | "pspReference": "8814906011087689", 7 | "resultCode": "Authorised" 8 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/authorise3d-error-105.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "105", 4 | "message": "Invalid paRes from issuer", 5 | "errorType": "validation" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/authorise3d-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "fraudResultType": "GREEN", 4 | "fraudManualReview": "false", 5 | "aliasType": "Default", 6 | "alias": "E840075550837688" 7 | }, 8 | "fraudResult": { 9 | "accountScore": 12, 10 | "results": [ 11 | { 12 | "FraudCheckResult": { 13 | "accountScore": 12, 14 | "checkId": -1, 15 | "name": "Pre-Auth-Risk-Total" 16 | } 17 | }, 18 | { 19 | "FraudCheckResult": { 20 | "accountScore": 0, 21 | "checkId": 25, 22 | "name": "CVCAuthResultCheck" 23 | } 24 | } 25 | ] 26 | }, 27 | "pspReference": "8524836146572696", 28 | "resultCode": "Authorised", 29 | "authCode": "90473" 30 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balance-control-transfer.json: -------------------------------------------------------------------------------- 1 | { 2 | "amount": { 3 | "value": 50000, 4 | "currency": "EUR" 5 | }, 6 | "createdAt": "2022-01-24", 7 | "description": "Your description for the transfer", 8 | "fromMerchant": "MerchantAccount_NL", 9 | "toMerchant": "MerchantAccount_DE", 10 | "type": "debit", 11 | "reference": "Unique reference for the transfer", 12 | "pspReference": "8816080397613514", 13 | "status": "transferred" 14 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/AccountHolder.json: -------------------------------------------------------------------------------- 1 | { 2 | "balancePlatform": "BalandePlatformExample", 3 | "contactDetails": { 4 | "address": { 5 | "city": "Amsterdam", 6 | "country": "NL", 7 | "houseNumberOrName": "274", 8 | "postalCode": "1020CD", 9 | "street": "Brannan Street" 10 | }, 11 | "email": "s.hopper@example.com", 12 | "phone": { 13 | "number": "+315551231234", 14 | "type": "Mobile" 15 | } 16 | }, 17 | "description": "S.Hopper - Staff 123", 18 | "id": "AH32272223222B5CM4MWJ892H", 19 | "status": "active" 20 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/BalanceAccount.json: -------------------------------------------------------------------------------- 1 | { 2 | "accountHolderId": "AH32272223222B59K6RTQBFNZ", 3 | "defaultCurrencyCode": "EUR", 4 | "balances": [ 5 | { 6 | "available": 0, 7 | "balance": 0, 8 | "currency": "EUR", 9 | "reserved": 0 10 | } 11 | ], 12 | "id": "BA3227C223222B5BLP6JQC3FD", 13 | "status": "Active" 14 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/BalancePlatform.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "YOUR_BALANCE_PLATFORM", 3 | "status": "Active" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/BalanceSweepConfigurationsResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "hasNext": false, 3 | "hasPrevious": false, 4 | "sweeps": [ 5 | { 6 | "id": "SWPC4227C224555B5FTD2NT2JV4WN5", 7 | "schedule": { 8 | "cronExpression": "cronExpression", 9 | "type": "daily" 10 | }, 11 | "status": "active", 12 | "targetAmount": { 13 | "currency": "EUR", 14 | "value": 0 15 | }, 16 | "triggerAmount": { 17 | "currency": "EUR", 18 | "value": 0 19 | }, 20 | "type": "push", 21 | "counterparty": { 22 | "balanceAccountId": "BA32272223222B5FTD2KR6TJD" 23 | }, 24 | "currency": "EUR" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/PaginatedAccountHoldersResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "accountHolders": [ 3 | { 4 | "contactDetails": { 5 | "address": { 6 | "city": "Amsterdam", 7 | "country": "NL", 8 | "houseNumberOrName": "6", 9 | "postalCode": "12336750", 10 | "street": "Simon Carmiggeltstraat" 11 | } 12 | }, 13 | "description": "J. Doe", 14 | "id": "AH32272223222B59DDWSCCMP7", 15 | "status": "Active" 16 | }, 17 | { 18 | "contactDetails": { 19 | "address": { 20 | "city": "Amsterdam", 21 | "country": "NL", 22 | "houseNumberOrName": "11", 23 | "postalCode": "12336750", 24 | "street": "Simon Carmiggeltstraat" 25 | } 26 | }, 27 | "description": "S. Hopper", 28 | "id": "AH32272223222B59DJ7QBCMPN", 29 | "status": "Active" 30 | } 31 | ], 32 | "hasNext": "true", 33 | "hasPrevious": "false" 34 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/PaginatedBalanceAccountsResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "balanceAccounts": [ 3 | { 4 | "accountHolderId": "AH32272223222B59K6ZKBBFNQ", 5 | "defaultCurrencyCode": "EUR", 6 | "id": "BA32272223222B59K6ZXHBFN6", 7 | "status": "Active" 8 | }, 9 | { 10 | "accountHolderId": "AH32272223222B59K6ZKBBFNQ", 11 | "defaultCurrencyCode": "EUR", 12 | "id": "BA32272223222B59K72CKBFNJ", 13 | "status": "closed" 14 | }, 15 | { 16 | "accountHolderId": "AH32272223222B59K6ZKBBFNQ", 17 | "defaultCurrencyCode": "EUR", 18 | "id": "BA32272223222B5BRR27B2M7G", 19 | "status": "Active" 20 | } 21 | ], 22 | "hasNext": true, 23 | "hasPrevious": false 24 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/PaymentInstrument.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "bankAccount", 3 | "description": "YOUR_DESCRIPTION", 4 | "balanceAccountId": "BA3227C223222B5CTBLR8BWJB", 5 | "issuingCountryCode": "NL" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/PaymentInstrumentGroup.json: -------------------------------------------------------------------------------- 1 | { 2 | "balancePlatform": "YOUR_BALANCE_PLATFORM", 3 | "txVariant": "mc", 4 | "id": "PG3227C223222B5CMD3FJFKGZ" 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/SweepConfiguration.json: -------------------------------------------------------------------------------- 1 | { 2 | "counterparty": { 3 | "merchantAccount": "YOUR_MERCHANT_ACCOUNT" 4 | }, 5 | "triggerAmount": { 6 | "currency": "EUR", 7 | "value": 50000 8 | }, 9 | "currency": "EUR", 10 | "schedule": { 11 | "type": "balance" 12 | }, 13 | "type": "pull", 14 | "status": "active" 15 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/TransactionRule.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Allow only point-of-sale transactions", 3 | "reference": "YOUR_REFERENCE_4F7346", 4 | "entityKey": { 5 | "entityType": "paymentInstrument", 6 | "entityReference": "PI3227C223222B5BPCMFXD2XG" 7 | }, 8 | "status": "active", 9 | "interval": { 10 | "type": "perTransaction" 11 | }, 12 | "ruleRestrictions": { 13 | "processingTypes": { 14 | "operation": "noneMatch", 15 | "value": [ 16 | "pos" 17 | ] 18 | } 19 | }, 20 | "type": "blockList" 21 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/TransactionRuleResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "transactionRule": { 3 | "description": "Allow 5 transactions per month", 4 | "interval": { 5 | "type": "monthly" 6 | }, 7 | "maxTransactions": 5, 8 | "paymentInstrumentId": "PI3227C223222B59KGTXP884R", 9 | "reference": "myRule12345", 10 | "startDate": "2021-01-25T12:46:35", 11 | "status": "active", 12 | "type": "velocity", 13 | "id": "TR32272223222B5CMD3V73HXG" 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/balanceplatform/TransactionRulesResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "transactionRules": [ 3 | { 4 | "description": "Allow 5 transactions per month", 5 | "interval": { 6 | "type": "monthly" 7 | }, 8 | "maxTransactions": 5, 9 | "paymentInstrumentGroupId": "PG3227C223222B5CMD3FJFKGZ", 10 | "reference": "myRule12345", 11 | "startDate": "2021-01-25T12:46:35", 12 | "status": "active", 13 | "type": "velocity", 14 | "id": "TR32272223222B5CMDGMC9F4F" 15 | }, 16 | { 17 | "amount": { 18 | "currency": "EUR", 19 | "value": 10000 20 | }, 21 | "description": "Allow up to 100 EUR per month", 22 | "interval": { 23 | "type": "monthly" 24 | }, 25 | "paymentInstrumentGroupId": "PG3227C223222B5CMD3FJFKGZ", 26 | "reference": "myRule16378", 27 | "startDate": "2021-01-25T12:46:35", 28 | "status": "active", 29 | "type": "velocity", 30 | "id": "TR32272223222B5CMDGT89F4F" 31 | } 32 | ] 33 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/binlookup/get3dsavailability-error-merchant.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 403, 3 | "errorCode": "901", 4 | "message": "Invalid Merchant Account", 5 | "errorType": "security" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/binlookup/get3dsavailability-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "dsPublicKeys": [{ 3 | "brand": "visa", 4 | "directoryServerId": "F013371337", 5 | "publicKey": "eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsIm4iOiI4VFBxZkFOWk4xSUEzcHFuMkdhUVZjZ1g4LUpWZ1Y0M2diWURtYmdTY0N5SkVSN3lPWEJqQmQyaTBEcVFBQWpVUVBXVUxZU1FsRFRKYm91bVB1aXVoeVMxUHN2NTM4UHBRRnEySkNaSERkaV85WThVZG9hbmlrU095c2NHQWtBVmJJWHA5cnVOSm1wTTBwZ0s5VGxJSWVHYlE3ZEJaR01OQVJLQXRKeTY3dVlvbVpXV0ZBbWpwM2d4SDVzNzdCR2xkaE9RUVlQTFdybDdyS0pLQlUwNm1tZlktUDNpazk5MmtPUTNEak02bHR2WmNvLThET2RCR0RKYmdWRGFmb29LUnVNd2NUTXhDdTRWYWpyNmQyZkppVXlqNUYzcVBrYng4WDl6a1c3UmlxVno2SU1qdE54NzZicmg3aU9Vd2JiWmoxYWF6VG1GQ2xEb0dyY2JxOV80Nnc9PSJ9" 6 | }], 7 | "threeDS1Supported": true, 8 | "threeDS2CardRangeDetails": [{ 9 | "brandCode": "visa", 10 | "endRange": "411111111111", 11 | "startRange": "411111111111", 12 | "threeDS2Versions": ["2.1.0"], 13 | "threeDSMethodURL": "https://pal-test.adyen.com/threeds2simulator/acs/startMethod.shtml" 14 | }], 15 | "threeDS2supported": true 16 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/binlookup/getcostestimate-error-amount.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "100", 4 | "message": "No amount specified", 5 | "errorType": "validation" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/binlookup/getcostestimate-error-cardnumber.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "000", 4 | "message": "Card number missing", 5 | "errorType": "validation" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/binlookup/getcostestimate-error-merchant.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 500, 3 | "errorCode": "901", 4 | "message": "Invalid Merchant Account", 5 | "errorType": "internal" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/binlookup/getcostestimate-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "cardBin": { 3 | "summary": "1111" 4 | }, 5 | "resultCode": "Unsupported", 6 | "surchargeType": "ZERO" 7 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/cancel-received.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "PSP_REFERENCE", 3 | "response": "[cancel-received]" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/cancelOrRefund-received.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "PSP_REFERENCE", 3 | "response": "[cancelOrRefund-received]" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/capture-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8524840434233409", 3 | "response": "[capture-received]" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/amount-updates-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "merchantAccount":"test_merchant_account", 3 | "paymentPspReference":"852633330805862B", 4 | "pspReference":"882633337753910C", 5 | "reference":"my_reference", 6 | "status":"received", 7 | "amount":{ 8 | "currency":"EUR", 9 | "value":1000 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/apple-pay-sessions-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": "eyJ2Z...340278gdflkaswer" 3 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/cancels-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "merchantAccount":"test_merchant_account", 3 | "paymentPspReference":"852633330805862B", 4 | "pspReference":"882633337753910C", 5 | "reference":"my_reference", 6 | "status":"received", 7 | "amount":{ 8 | "currency":"EUR", 9 | "value":1000 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/captures-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "merchantAccount":"test_merchant_account", 3 | "paymentPspReference":"852633330805862B", 4 | "pspReference":"882633337753910C", 5 | "reference":"my_reference", 6 | "status":"received", 7 | "amount":{ 8 | "currency":"EUR", 9 | "value":1000 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/card-details-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "brands": [ 3 | { 4 | "type": "visa", 5 | "supported": "true" 6 | }, 7 | { 8 | "type": "cartebancaire", 9 | "supported": "true" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/donations-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "completed", 3 | "amount": { 4 | "currency": "USD", 5 | "value": 5 6 | }, 7 | "donationAccount": "MyCharity_Giving_TEST", 8 | "id": "G4HFZBFK4QHG5S81", 9 | "merchantAccount": "Merchant_Account", 10 | "payment": { 11 | "resultCode": "Authorised", 12 | "amount": { 13 | "currency": "USD", 14 | "value": 5 15 | }, 16 | "merchantReference": "10720de4-7c5d-4a17-9161-fa4abdcaa5c4", 17 | "paymentMethod": { 18 | "brand": "visa", 19 | "type": "scheme" 20 | }, 21 | "pspReference": "CKMF2TG7GGNG5S81" 22 | }, 23 | "reference": "10720de4-7c5d-4a17-9161-fa4abdcaa5c4" 24 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/get-storedPaymentMethod-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "merchantAccount": "merchantAccount", 3 | "shopperReference": "string", 4 | "storedPaymentMethods": [ 5 | { 6 | "brand": "string", 7 | "expiryMonth": "string", 8 | "expiryYear": "string", 9 | "externalResponseCode": "string", 10 | "externalTokenReference": "string", 11 | "holderName": "string", 12 | "iban": "string", 13 | "id": "string", 14 | "issuerName": "string", 15 | "lastFour": "string", 16 | "name": "string", 17 | "networkTxReference": "string", 18 | "ownerName": "string", 19 | "shopperEmail": "string", 20 | "shopperReference": "string", 21 | "supportedRecurringProcessingModels": ["string"], 22 | "type": "string" 23 | } 24 | ] 25 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/modifications-error-422.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "167", 4 | "message": "Original pspReference required for this operation", 5 | "errorType": "validation", 6 | "pspReference": "invalid_psp" 7 | } 8 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/orders-cancel-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515931182066678", 3 | "resultCode": "Received" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/orders-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515930288670953", 3 | "resultCode": "Success", 4 | "expiresAt": "2020-06-25T20:01:07Z", 5 | "orderData": "Ab02b4c0!BQABAgBqxSuFhuXUF7IvIRvSw5bDPHN...", 6 | "reference": "order reference", 7 | "amount": { 8 | "currency": "EUR", 9 | "value": 2500 10 | }, 11 | "remainingAmount": { 12 | "currency": "EUR", 13 | "value": 2500 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/payment-links-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "amount": { 3 | "currency": "BRL", 4 | "value": 1250 5 | }, 6 | "expiresAt": "2019-12-17T10:05:29Z", 7 | "reference": "YOUR_ORDER_NUMBER", 8 | "url": "https://checkoutshopper-test.adyen.com/checkoutshopper/payByLink.shtml?d=YW1vdW50TWlub3JW...JRA", 9 | "merchantAccount": "YOUR_MERCHANT_ACCOUNT" 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentResponse-3DS-ChallengeShopper.json: -------------------------------------------------------------------------------- 1 | { 2 | "resultCode": "ChallengeShopper", 3 | "action": { 4 | "paymentData": "Te1CMIy1vKQTYsSHZ+gRbFpQy4d4n2HLD3c2b7xKnRNpWzWPuI=", 5 | "paymentMethodType": "scheme", 6 | "token": "S0zYWQ0MGEwMjU2MjEifQ==", 7 | "type": "threeDS2" 8 | }, 9 | "authentication": { "threeds2.challengeToken": "S0zYWQ0MGEwMjU2MjEifQ==" }, 10 | "details": [ 11 | { 12 | "key": "threeds2.challengeResult", 13 | "type": "text" 14 | } 15 | ], 16 | "paymentData": "Te1CMIy1vKQTYsSHZ+gRbFpQy4d4n2HLD3c2b7xKnRNpWzWPuI=" 17 | } 18 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentlinks-recurring-payment-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "amount": { 3 | "currency": "EUR", 4 | "value": 100 5 | }, 6 | "expiresAt": "2020-10-28T12:00:00Z", 7 | "reference": "REFERENCE_NUMBER", 8 | "url": "https://checkoutshopper-test.adyen.com/checkoutshopper/payByLink.shtml?d=YW1vdW50TWlub3JW...JRA", 9 | "merchantAccount": "YOUR_MERCHANT_ACCOUNT" 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentmethods-balance-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "resultCode": "Success", 3 | "balance": { 4 | "currency": "EUR", 5 | "value": 2500 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentmethods-error-forbidden-403.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 403, 3 | "errorCode": "901", 4 | "message": "Invalid Merchant Account", 5 | "errorType": "security" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/payments-error-invalid-data-422.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "130", 4 | "message": "Reference Missing", 5 | "errorType": "validation" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/payments-success-paypal.json: -------------------------------------------------------------------------------- 1 | { 2 | "resultCode": "Pending", 3 | "action": { 4 | "type": "sdk", 5 | "paymentMethodType": "paypal", 6 | "paymentData": "Ab02b4c0!BQABAgARb1TvUJa4nwS0Z1nOmxoYfD9+z...", 7 | "sdkData": { 8 | "orderID": "EC-42N19135GM6949000" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsResponse-ThreeDS2Result.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "812345678912345A", 3 | "resultCode": "AuthenticationFinished", 4 | "merchantReference": "ABC1234", 5 | "threeDS2Result": { 6 | "authenticationValue": "3q263q263q263q263q263q263q263q263q26", 7 | "dsTransID": "abcd9a67-abcd9a67-abcd9a67-abcd9a671", 8 | "eci": "05", 9 | "messageVersion": "2.1.0", 10 | "threeDSServerTransID": "abcd1234-abcd1234-abcd1234-abcd1234-", 11 | "transStatus": "Y" 12 | } 13 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsdetails-action-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515232733321252", 3 | "resultCode": "Authorised", 4 | "additionalData": { 5 | "liabilityShift": "true", 6 | "refusalReasonRaw": "AUTHORISED" 7 | } 8 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsdetails-error-invalid-data-422.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "101", 4 | "message": "Invalid card number", 5 | "errorType": "validation" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsdetails-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"8515232733321252", 3 | "resultCode":"Authorised", 4 | "additionalData":{ 5 | "liabilityShift":"true", 6 | "refusalReasonRaw":"AUTHORISED" 7 | } 8 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsession-error-invalid-data-422.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "14_012", 4 | "message": "The provided SDK token could not be parsed.", 5 | "errorType": "validation" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsresult-error-invalid-data-payload-422.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "14_018", 4 | "message": "Invalid payload provided", 5 | "errorType": "validation", 6 | "merchantReference": "merchantReference", 7 | "paymentMethod": "applepay", 8 | "shopperLocale": "NL" 9 | 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsresult-multibanco-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "resultCode": "PresentToShopper", 3 | "action": { 4 | "paymentMethodType": "multibanco", 5 | "type": "voucher", 6 | "entity": "12101", 7 | "expiresAt": "2020-01-12T09:37:49", 8 | "initialAmount": { 9 | "currency": "EUR", 10 | "value": 1000 11 | }, 12 | "merchantName": "YOUR_MERCHANT", 13 | "merchantReference": "YOUR_ORDER_NUMBER", 14 | "reference": "501 422 944", 15 | "totalAmount": { 16 | "currency": "EUR", 17 | "value": 1000 18 | }, 19 | "action": "voucher" 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/paymentsresult-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8535253563623704", 3 | "resultCode": "Authorised", 4 | "merchantReference": "merchantReference", 5 | "paymentMethod": "applepay", 6 | "shopperLocale": "NL" 7 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/refunds-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "merchantAccount": "test_merchant_account", 3 | "paymentPspReference": "852633330805862B", 4 | "pspReference": "862633338502676D", 5 | "reference": "my_reference", 6 | "status": "received", 7 | "amount": { 8 | "currency": "EUR", 9 | "value": 1000 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/reversals-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "merchantAccount": "test_merchant_account", 3 | "paymentPspReference": "852633330805862B", 4 | "pspReference": "862633338502676D", 5 | "reference": "my_reference", 6 | "status": "received", 7 | "amount": { 8 | "currency": "EUR", 9 | "value": 1000 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/sessions-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "session-test-id", 3 | "amount": { 4 | "currency": "EUR", 5 | "value": 1000 6 | }, 7 | "reference": "TestReference", 8 | "returnUrl": "http://test-url.com", 9 | "expiresAt": "2021-09-30T06:45:06Z", 10 | "merchantAccount": "TestMerchant", 11 | "store": "My Store" 12 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkout/standalone-cancels-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "merchantAccount": "test_merchant_account", 3 | "pspReference": "861633338418518C", 4 | "reference": "852633330805862B", 5 | "status": "received", 6 | "paymentReference": "852633330805862B" 7 | } 8 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/checkoututility/originkeys-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "originKeys": { 3 | "https://www.your-domain1.com": "pub.v2.7814286629520534.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.UEwIBmW9-c_uXo5wSEr2w8Hz8hVIpujXPHjpcEse3xI", 4 | "https://www.your-domain3.com": "pub.v2.7814286629520534.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.fUvflu-YIdZSsLEH8Qqmr7ksE4ag_NYiiMXK0s6aq_4", 5 | "https://www.your-domain2.com": "pub.v2.7814286629520534.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.EP6eXBJKk0t7-QIUl6e_b1qMuMHGepxG_SlUqxAYrfY" 6 | } 7 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/data-protection-response.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": "ACTIVE_RECURRING_TOKEN_EXISTS" 3 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/disputes/accept-disputes.json: -------------------------------------------------------------------------------- 1 | { 2 | "disputeServiceResult": { 3 | "success": true 4 | } 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/disputes/defend-dispute.json: -------------------------------------------------------------------------------- 1 | { 2 | "disputeServiceResult": { 3 | "success": true 4 | } 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/disputes/delete-dispute.json: -------------------------------------------------------------------------------- 1 | { 2 | "disputeServiceResult": { 3 | "success": true 4 | } 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/disputes/download-defense-document.json: -------------------------------------------------------------------------------- 1 | { 2 | "disputeServiceResult": { 3 | "success": true 4 | } 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/disputes/supply-dispute-defense-document.json: -------------------------------------------------------------------------------- 1 | { 2 | "disputeServiceResult": { 3 | "success": true 4 | } 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/grants/post-grants-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "GR00000000000000000000001", 3 | "grantAccountId": "CG00000000000000000000001", 4 | "grantOfferId": "0000000000000001", 5 | "counterparty": { 6 | "accountHolderId": "AH00000000000000000000001", 7 | "balanceAccountId": "BA00000000000000000000001" 8 | }, 9 | "amount": { 10 | "currency": "EUR", 11 | "value": 1000000 12 | }, 13 | "fee": { 14 | "amount": { 15 | "value": 120000, 16 | "currency": "EUR" 17 | } 18 | }, 19 | "balances": { 20 | "currency": "EUR", 21 | "fee": 120000, 22 | "principal": 1000000, 23 | "total": 1120000 24 | }, 25 | "repayment": { 26 | "basisPoints": 1400 27 | }, 28 | "status": "Pending" 29 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/hop/get-onboarding-url-success-async.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "1234567890123456", 3 | "redirectUrl": "https://test.adyen.com/hop", 4 | "resultCode": "success", 5 | "submittedAsync": true 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/hop/get-onboarding-url-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "1234567890123456", 3 | "redirectUrl": "https://test.adyen.com/hop", 4 | "resultCode": "success", 5 | "submittedAsync": false 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/legalentitymanagement/BusinessLine.json: -------------------------------------------------------------------------------- 1 | { 2 | "capability": "issueBankAccount", 3 | "industryCode": "55", 4 | "legalEntityId": "LE322JV223222D5FZ9N74BSGM", 5 | "sourceOfFunds": { 6 | "adyenProcessedFunds": "false", 7 | "description": "Funds from my flower shop business", 8 | "type": "business" 9 | }, 10 | "webData": [ 11 | { 12 | "webAddress": "https://www.adyen.com" 13 | } 14 | ], 15 | "id": "SE322KT223222D5FJ7TJN2986" 16 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/legalentitymanagement/Document.json: -------------------------------------------------------------------------------- 1 | { 2 | "attachment": { 3 | "content": "VGhpcyBpcyBhIHN0cmluZw==", 4 | "contentType": "string", 5 | "filename": "string", 6 | "pageName": "string", 7 | "pageType": "string" 8 | }, 9 | "attachments": [{ 10 | "content": "VGhpcyBpcyBhIHN0cmluZw==", 11 | "contentType": "string", 12 | "filename": "string", 13 | "pageName": "string", 14 | "pageType": "string" 15 | }], 16 | "description": "string", 17 | "expiryDate": "string", 18 | "fileName": "string", 19 | "id": "SE322KT223222D5FJ7TJN2986", 20 | "issuerCountry": "string", 21 | "issuerState": "string", 22 | "number": "string", 23 | "owner": { 24 | "id": "123456789", 25 | "type": "passport" 26 | }, 27 | "type": "driversLicense" 28 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/legalentitymanagement/GeneratePCI.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/legalentitymanagement/OnboardingThemes.json: -------------------------------------------------------------------------------- 1 | { 2 | "next": "string", 3 | "previous": "string", 4 | "themes": [{ 5 | "createdAt": "2022-10-31T01:30:00+01:00", 6 | "description": "string", 7 | "id": "SE322KT223222D5FJ7TJN2986", 8 | "properties": { "sample": "string" }, 9 | "updatedAt": "2022-10-31T01:30:00+01:00" 10 | }] 11 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/legalentitymanagement/TermsOfServiceStatus.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [ 3 | { 4 | "acceptedBy": "YOUR_LEGAL_ENTITY_2", 5 | "acceptedFor": "YOUR_LEGAL_ENTITY_1", 6 | "createdAt": "2022-12-05T13:36:58.212253Z", 7 | "id": "TOSA000AB00000000B2AAAB2BA0AA0", 8 | "type": "adyenIssuing" 9 | } 10 | ] 11 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/legalentitymanagement/TransferInstrument.json: -------------------------------------------------------------------------------- 1 | { 2 | "bankAccount": { 3 | "countryCode": "NL", 4 | "currencyCode": "EUR", 5 | "iban": "NL62ABNA0000000123" 6 | }, 7 | "legalEntityId": "LE322KH223222D5GG4C9J83RN", 8 | "type": "bankAccount", 9 | "id": "SE576BH223222F5GJVKHH6BDT" 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/management/logo.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": "BASE-64_ENCODED_STRING_FROM_THE_REQUEST" 3 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/management/me.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "S2-6262224667", 3 | "username": "ws_123456@Company.Test", 4 | "clientKey": "test_UCP6BO23234FFEFE33E4GWX63", 5 | "allowedIpAddresses": [], 6 | "roles": [ 7 | "Management API - Users read and write", 8 | "Management API - Accounts read", 9 | "Trigger webhook notifications", 10 | "Management API - Payout Account Settings Read And Write", 11 | "Manage LegalEntities via API", 12 | "Manage associated partner accounts via API", 13 | "PSP Pos initial configuration" 14 | ], 15 | "_links": { 16 | "self": { 17 | "href": "https://management-test.adyen.com/v1/me" 18 | }, 19 | "allowedOrigins": { 20 | "href": "https://management-test.adyen.com/v1/me/allowedOrigins" 21 | } 22 | }, 23 | "companyName": "Test", 24 | "active": true 25 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/check-account-holder-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "85158152328111154", 3 | "resultCode": "Success" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/close-account-holder-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515810799236011", 3 | "accountHolderStatus": { 4 | "status": "Closed", 5 | "processingState": { 6 | "disabled": false, 7 | "processedFrom": { 8 | "currency": "USD", 9 | "value": 0 10 | }, 11 | "processedTo": { 12 | "currency": "USD", 13 | "value": 0 14 | }, 15 | "tierNumber": 0 16 | }, 17 | "payoutState": { 18 | "allowPayout": true, 19 | "payoutLimit": { 20 | "currency": "USD", 21 | "value": 0 22 | }, 23 | "disabled": false, 24 | "tierNumber": 0 25 | }, 26 | "events": [] 27 | } 28 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/close-account-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"8515810799236011", 3 | "status":"Closed" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/create-account-holder-error-invalid-fields.json: -------------------------------------------------------------------------------- 1 | { 2 | "invalidFields": [ 3 | { 4 | "errorCode": 28, 5 | "errorDescription": "Account holder already exists with the accountHolderCode: GENERATE_CODE", 6 | "fieldType": { 7 | "field": "accountHolderCode", 8 | "fieldName": "accountHolderCode" 9 | } 10 | } 11 | ], 12 | "pspReference": "8815813233102537" 13 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/create-account-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"9914913130220156", 3 | "submittedAsync":"false", 4 | "accountHolderCode":"TestAccountHolder5691", 5 | "accountCode":"195920946", 6 | "status":"Active" 7 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/delete-bank-account-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"9914694372670551", 3 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/delete-payout-methods.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "85158152328111154", 3 | "resultCode": "Success" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/delete-shareholder-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"9914694372990637", 3 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/get-uploaded-documents-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"9914694369860322", 3 | "documentDetails": [ 4 | { 5 | "accountHolderCode":"TestAccountHolder8031", 6 | "bankAccountUUID": "EXAMPLE_UUID", 7 | "countryCode":"NL", 8 | "description":"description1", 9 | "documentType":"BANK_STATEMENT", 10 | "filename":"bankstatement.png" 11 | 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/suspend-account-holder-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515813523937793", 3 | "accountHolderStatus": { 4 | "status": "Suspended", 5 | "processingState": { 6 | "disabled": false, 7 | "processedFrom": { 8 | "currency": "USD", 9 | "value": 0 10 | }, 11 | "processedTo": { 12 | "currency": "USD", 13 | "value": 9999 14 | }, 15 | "tierNumber": 0 16 | }, 17 | "payoutState": { 18 | "allowPayout": false, 19 | "disabled": false 20 | }, 21 | "events": [] 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/un-suspend-account-holder-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8815813528286482", 3 | "accountHolderStatus": { 4 | "status": "Active", 5 | "processingState": { 6 | "disabled": false, 7 | "processedFrom": { 8 | "currency": "USD", 9 | "value": 0 10 | }, 11 | "processedTo": { 12 | "currency": "USD", 13 | "value": 9999 14 | }, 15 | "tierNumber": 0 16 | }, 17 | "payoutState": { 18 | "allowPayout": false, 19 | "disabled": false 20 | }, 21 | "events": [] 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/update-account-holder-state-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515813355311349", 3 | "accountHolderCode": "8515843355311359", 4 | "accountHolderStatus": { 5 | "status": "Active", 6 | "processingState": { 7 | "disabled": false, 8 | "processedFrom": { 9 | "currency": "USD", 10 | "value": 0 11 | }, 12 | "processedTo": { 13 | "currency": "USD", 14 | "value": 9999 15 | }, 16 | "tierNumber": 0 17 | }, 18 | "payoutState": { 19 | "allowPayout": false, 20 | "disabled": true, 21 | "disableReason": "test reason payout" 22 | }, 23 | "events": [] 24 | } 25 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/update-account-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "9914860311411119", 3 | "invalidFields": [], 4 | "accountCode": "198360329231", 5 | "payoutSchedule": { 6 | "nextScheduledPayout": "2017-02-06T11:32:26+01:00", 7 | "schedule": "WEEKLY" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/account/upload-document-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "invalidFields": [], 3 | "pspReference": "8815815165741111", 4 | "accountHolderCode": "TestAccountHolder8031" 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/fund/payout-account-holder-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "9915090894325643", 3 | "submittedAsync": "false", 4 | "bankAccountUUID": "testbankaccount", 5 | "merchantReference": "MerchantReference" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/fund/refund-funds-transfer.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "9915090893984580", 3 | "resultCode": "Received" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/fund/refund-not-paid-out-transfers-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "9915090894215323", 3 | "submittedAsync": "false", 4 | "resultCode": "Failed" 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/fund/setup-beneficiary-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "9914860354282596", 3 | "submittedAsync": "false", 4 | "resultCode": "Success" 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/fund/transfer-funds-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "9915090893984580", 3 | "submittedAsync": "false", 4 | "merchantReference": "MerchantReference", 5 | "resultCode": "Received" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/account-closed-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": { 3 | "errorCode": "000", 4 | "message": "test error message" 5 | }, 6 | "eventDate": "2019-01-01T01:00:00+01:00", 7 | "eventType": "ACCOUNT_CLOSED", 8 | "executingUserKey": "executing-user-key", 9 | "live": false, 10 | "pspReference": "TSTPSPR0001", 11 | "content": { 12 | "invalidFields": [ 13 | { 14 | "errorCode": 1, 15 | "errorDescription": "Field is missing", 16 | "fieldType": { 17 | "field": "AccountHolderDetails.BusinessDetails.Shareholders.unknown", 18 | "fieldName": "unknown", 19 | "shareholderCode": "SH00001" 20 | } 21 | } 22 | ], 23 | "pspReference": "TSTPSPR0001", 24 | "resultCode": "Success", 25 | "status": "Closed" 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/account-funds-below-thresold-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "eventType": "ACCOUNT_FUNDS_BELOW_THRESHOLD", 3 | "executingUserKey": "ws", 4 | "live": "true", 5 | "pspReference": "Test_ACCOUNT_CREATED", 6 | "content": { 7 | "accountCode": "TestAccountHolder", 8 | "balanceDate": "2020-11-04", 9 | "currentFunds": { 10 | "currency": "USD", 11 | "value": 96 12 | }, 13 | "fundThreshold": { 14 | "currency": "USD", 15 | "value": 100 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/account-holder-store-status-change-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "eventDate": "2019-12-16T10:38:15+01:00", 3 | "eventType": "ACCOUNT_HOLDER_STORE_STATUS_CHANGE", 4 | "executingUserKey": "Store Status Update", 5 | "live": false, 6 | "pspReference": "TSTPSPR0001", 7 | "content": { 8 | "accountHolderCode": "AH000001", 9 | "store": "x00x00x00-xx00-0xx0-x000-00xx00xx000000", 10 | "storeReference": "Ref#000001", 11 | "oldStatus": "Pending", 12 | "newStatus": "Active", 13 | "reason": "Store was successfully set up" 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/account-holder-upcoming-deadline-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "eventDate": "2019-09-25T09:52:28+02:00", 3 | "eventType": "ACCOUNT_HOLDER_UPCOMING_DEADLINE", 4 | "live": false, 5 | "pspReference": "9315693979482563", 6 | "content": { 7 | "accountHolderCode": "testD47", 8 | "event": "InactivateAccount", 9 | "executionDate": "2019-10-11", 10 | "reason": "Processed more than GBP 5000.00 or equivalent, deadline triggered" 11 | } 12 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/account-holder-verification.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": { 3 | "errorCode": "000", 4 | "message": "test error message" 5 | }, 6 | "eventDate": "2019-01-01T01:00:00+01:00", 7 | "eventType": "ACCOUNT_HOLDER_VERIFICATION", 8 | "executingUserKey": "executing-user-key", 9 | "live": false, 10 | "pspReference": "TSTPSPR0001", 11 | "content": { 12 | "accountHolderCode": "AH0000001", 13 | "kycCheckStatusData": { 14 | "type": "IDENTITY_VERIFICATION", 15 | "status": "PENDING", 16 | "summary": { 17 | "kycCheckCode": 100, 18 | "kycCheckDescription": "KYC check summary description" 19 | }, 20 | "requiredFields": [ 21 | "field.missing" 22 | ] 23 | }, 24 | "shareholderCode": "SH00000001" 25 | } 26 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/beneficiary-setup.json: -------------------------------------------------------------------------------- 1 | { 2 | "eventDate": "2018-03-02T17:35:58+01:00", 3 | "eventType": "BENEFICIARY_SETUP", 4 | "executingUserKey": "executingUserKey", 5 | "live": "false", 6 | "pspReference": "8815200085572134", 7 | "content": { 8 | "destinationAccountCode": "117001608", 9 | "destinationAccountHolderCode": "ah690", 10 | "merchantReference": "test", 11 | "sourceAccountCode": "136058999", 12 | "sourceAccountHolderCode": "ah689", 13 | "transferDate": "2018-03-02T17:35:57+01:00", 14 | "transferredTransactionCount": 0 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/compensate-negative-balance-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": { 3 | "errorCode": "000", 4 | "message": "test error message" 5 | }, 6 | "eventDate": "2019-01-01T01:00:00+01:00", 7 | "eventType": "COMPENSATE_NEGATIVE_BALANCE", 8 | "executingUserKey": "executing-user-key", 9 | "live": false, 10 | "pspReference": "TSTPSPR0001", 11 | "content": { 12 | "records": [ 13 | { 14 | "accountCode": "AC000001", 15 | "amount": { 16 | "currency": "EUR", 17 | "value": 10 18 | }, 19 | "transferDate": "2019-01-01T01:00:00+01:00" 20 | } 21 | ] 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/create-notification-configuration-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515077331535427", 3 | "submittedAsync": "false", 4 | "configurationDetails": { 5 | "active": "true", 6 | "apiVersion": 1, 7 | "description": "TestBas", 8 | "eventConfigs": [ 9 | { 10 | "NotificationEventConfiguration": { 11 | "eventType": "ACCOUNT_HOLDER_STATUS_CHANGE", 12 | "includeMode": "INCLUDE" 13 | } 14 | } 15 | ], 16 | "messageFormat": "SOAP", 17 | "notificationId": 157, 18 | "notifyURL": "https://cal-test.adyen.com/cal/services/ViasNotification/handleGenericEvent", 19 | "sendActionHeader": "true", 20 | "sslProtocol": "SSLInsecureCiphers" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/delete-notification-configurations-success.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "pspReference": "8515078085249090", 4 | "submittedAsync": "false" 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/direct-debit-initiated-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "eventDate": "2019-11-15T11:42:59+01:00", 3 | "eventType": "DIRECT_DEBIT_INITIATED", 4 | "live": false, 5 | "pspReference": "991573814577004H", 6 | "content": { 7 | "accountCode": "100000000", 8 | "amount": { 9 | "currency": "EUR", 10 | "value": 10000000 11 | }, 12 | "debitInitiationDate": "2019-11-15", 13 | "merchantAccountCode": "TestMarketPlaceMerchant", 14 | "status": { 15 | "statusCode": "Initiated" 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/get-notification-configuration-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8815078078131377", 3 | "submittedAsync": "false", 4 | "configurationDetails": { 5 | "active": "true", 6 | "apiVersion": 1, 7 | "description": "TestBas", 8 | "eventConfigs": [ 9 | { 10 | "NotificationEventConfiguration": { 11 | "eventType": "ACCOUNT_HOLDER_STATUS_CHANGE", 12 | "includeMode": "INCLUDE" 13 | } 14 | } 15 | ], 16 | "messageFormat": "SOAP", 17 | "notificationId": 157, 18 | "notifyURL": "https://cal-test.adyen.com/cal/services/ViasNotification/handleGenericEvent", 19 | "sendActionHeader": "true", 20 | "sslProtocol": "SSLInsecureCiphers" 21 | } 22 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/payment-failure-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "eventDate": "2018-03-07T13:44:34+01:00", 3 | "eventType": "PAYMENT_FAILURE", 4 | "executingUserKey": "ws_957630", 5 | "live": "false", 6 | "pspReference": "Test_PAYMENT_FAILURE", 7 | "content": { 8 | "errorFields": [ 9 | { 10 | "ErrorFieldType": { 11 | "errorCode": 1, 12 | "errorDescription": "Field is missing", 13 | "fieldType": { 14 | "field": "AccountHolderDetails.accountNumber", 15 | "fieldName": "accountNumber" 16 | } 17 | } 18 | } 19 | ], 20 | "errorMessage": { 21 | "code": "10_062", 22 | "text": "Processing is not allowed because the account holder TestAccountHolder is not in the processing state." 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/report-available-test.json: -------------------------------------------------------------------------------- 1 | { 2 | "eventDate": "2018-03-07T13:44:34+01:00", 3 | "eventType": "REPORT_AVAILABLE", 4 | "executingUserKey": "ReportProcessor", 5 | "live": "false", 6 | "pspReference": "marketplace_payments_accounting_report_2016_01_01.csv", 7 | "content": { 8 | "accountCode": "TestMarketPlaceV1", 9 | "accountType": "MarketPlace", 10 | "eventDate": "2018-03-07T13:44:34+01:00", 11 | "remoteAccessUrl": "https:\/\/ca-test.adyen.com\/reports\/download\/MarketPlace\/TestMarketPlaceV1\/marketplace_payments_accounting_report_2016_01_01.csv", 12 | "success": "true" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/marketpay/notification/update-notification-configuration-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515078084389038", 3 | "submittedAsync": "false", 4 | "configurationDetails": { 5 | "active": "false", 6 | "apiVersion": 1, 7 | "description": "TestUpdate", 8 | "eventConfigs": [ 9 | { 10 | "NotificationEventConfiguration": { 11 | "eventType": "ACCOUNT_CREATED", 12 | "includeMode": "INCLUDE" 13 | } 14 | }, 15 | { 16 | "NotificationEventConfiguration": { 17 | "eventType": "ACCOUNT_HOLDER_CREATED", 18 | "includeMode": "EXCLUDE" 19 | } 20 | } 21 | ], 22 | "messageFormat": "SOAP", 23 | "notificationId": 157, 24 | "notifyURL": "https://cal-test.adyen.com/cal/services/ViasNotification/handleGenericEvent", 25 | "sendActionHeader": "true", 26 | "sslProtocol": "SSLInsecureCiphers" 27 | } 28 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/notification-response-refund-fail.json: -------------------------------------------------------------------------------- 1 | { 2 | "live": "false", 3 | "notificationItems": [{ 4 | "NotificationRequestItem": { 5 | "additionalData": { 6 | "hmacSignature": "lQnzbwY09e5mwkC8YZozlHu5v\/2SFzAx6WRrvHx+3b8=" 7 | }, 8 | "amount": { 9 | "currency": "EUR", 10 | "value": 100 11 | }, 12 | "eventCode": "CAPTURE", 13 | "eventDate": "2020-01-21T12:30:00+01:00", 14 | "merchantAccountCode": "DotNetAlexandros", 15 | "merchantReference": "UseqNbr006-orderId006\\\/", 16 | "originalReference": "TEST_CUSTOM_881578412007338A", 17 | "paymentMethod": "mc", 18 | "pspReference": "TEST_CUSTOM_881578412137072J", 19 | "reason": "sf", 20 | "success": "false" 21 | } 22 | }] 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/notification/authorisation-true.json: -------------------------------------------------------------------------------- 1 | { 2 | "live": "false", 3 | "notificationItems": [{ 4 | "NotificationRequestItem": { 5 | "additionalData": { 6 | "expiryDate": "12\/2012", 7 | " NAME1 ": "VALUE1", 8 | "authCode": "1234", 9 | "cardSummary": "7777", 10 | "totalFraudScore": "10", 11 | "hmacSignature": "OzDjCMZIsdtDqrZ+cl\/FWC+WdESrorctXTzAzW33dXI=", 12 | "NAME2": " VALUE2 ", 13 | "fraudCheck-6-ShopperIpUsage": "10" 14 | }, 15 | "amount": { 16 | "currency": "EUR", 17 | "value": 10100 18 | }, 19 | "eventCode": "AUTHORISATION", 20 | "eventDate": "2017-01-19T16:42:03+01:00", 21 | "merchantAccountCode": "MagentoMerchantTest2", 22 | "merchantReference": "8313842560770001", 23 | "operations": ["CANCEL", "CAPTURE", "REFUND"], 24 | "paymentMethod": "visa", 25 | "pspReference": "123456789", 26 | "reason": "1234:7777:12\/2012", 27 | "success": "true" 28 | } 29 | }] 30 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/notification/capture-false.json: -------------------------------------------------------------------------------- 1 | { 2 | "live": "false", 3 | "notificationItems": [{ 4 | "NotificationRequestItem": { 5 | "additionalData": { 6 | "hmacSignature": "KujHNqpyCAMdGefj7lfQ8AeD0Jke9Zs2bVAqScQDWi4=" 7 | }, 8 | "amount": { 9 | "currency": "USD", 10 | "value": 23623 11 | }, 12 | "eventCode": "CAPTURE", 13 | "eventDate": "2017-01-25T18:08:19+01:00", 14 | "merchantAccountCode": "MagentoMerchantTest2", 15 | "merchantReference": "00000001", 16 | "originalReference": "ORIGINAL_PSP", 17 | "paymentMethod": "visa", 18 | "pspReference": "PSP_REFERENCE", 19 | "reason": "Insufficient balance on payment", 20 | "success": "false" 21 | } 22 | }] 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/notification/capture-true.json: -------------------------------------------------------------------------------- 1 | { 2 | "live": "false", 3 | "notificationItems": [{ 4 | "NotificationRequestItem": { 5 | "additionalData": { 6 | "hmacSignature": "qvS6I3Gdi1jx+jSh7IopAgcHtMoxvXlNL7DYQ+j1hd0=" 7 | }, 8 | "amount": { 9 | "currency": "USD", 10 | "value": 23623 11 | }, 12 | "eventCode": "CAPTURE", 13 | "eventDate": "2017-01-25T18:08:19+01:00", 14 | "merchantAccountCode": "MagentoMerchantTest2", 15 | "merchantReference": "00000001", 16 | "originalReference": "ORIGINAL_PSP", 17 | "paymentMethod": "visa", 18 | "pspReference": "PSP_REFERENCE", 19 | "reason": "", 20 | "success": "true" 21 | } 22 | }] 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/notification/refund-false.json: -------------------------------------------------------------------------------- 1 | { 2 | "live": "false", 3 | "notificationItems": [{ 4 | "NotificationRequestItem": { 5 | "additionalData": { 6 | "hmacSignature": "HZXziBYopfDIzDhk49iC\/\/yCfxmy\/z0xWuvvTxFNUSA=" 7 | }, 8 | "amount": { 9 | "currency": "EUR", 10 | "value": 1500 11 | }, 12 | "eventCode": "REFUND", 13 | "eventDate": "2017-02-17T11:04:07+01:00", 14 | "merchantAccountCode": "MagentoMerchantTest2", 15 | "merchantReference": "payment-2017-1-17-11-refund", 16 | "originalReference": "ORIGINAL_PSP", 17 | "paymentMethod": "visa", 18 | "pspReference": "PSP_REFERENCE", 19 | "reason": "Insufficient balance on payment", 20 | "success": "false" 21 | } 22 | }] 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/notification/refund-true.json: -------------------------------------------------------------------------------- 1 | { 2 | "live": "false", 3 | "notificationItems": [{ 4 | "NotificationRequestItem": { 5 | "additionalData": { 6 | "hmacSignature": "KJFhURWP8Pv9m8k+7NGHNJAupBj6X6J\/VWAikFxeWhA=" 7 | }, 8 | "amount": { 9 | "currency": "EUR", 10 | "value": 1500 11 | }, 12 | "eventCode": "REFUND", 13 | "eventDate": "2017-02-17T11:11:44+01:00", 14 | "merchantAccountCode": "MagentoMerchantTest2", 15 | "merchantReference": "payment-2017-1-17-11-refund", 16 | "originalReference": "ORIGINAL_PSP", 17 | "paymentMethod": "visa", 18 | "pspReference": "PSP_REFERENCE", 19 | "reason": "", 20 | "success": "true" 21 | } 22 | }] 23 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/payout/modifyResponse-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8815131762537886", 3 | "response": "[payout-confirm-received]" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/payout/payout-error-403.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 403, 3 | "errorCode": "901", 4 | "message": "Invalid Merchant Account", 5 | "errorType": "security" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/payout/payout-error-422.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "130", 4 | "message": "Reference Missing", 5 | "errorType": "validation" 6 | } 7 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/payout/payout-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"8814689190961342", 3 | "resultCode":"Authorised", 4 | "authCode":"12345" 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/payout/storeDetail-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8515136787207087", 3 | "recurringDetailReference": "8415088571022720", 4 | "resultCode": "Success" 5 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/payout/storeDetailAndSubmitThirdParty-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "fraudResultType": "GREEN", 4 | "fraudManualReview": "false" 5 | }, 6 | "pspReference": "8515131751004933", 7 | "resultCode": "[payout-submit-received]" 8 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/payout/submitResponse-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "fraudResultType": "GREEN", 4 | "fraudManualReview": "false" 5 | }, 6 | "pspReference": "8815131768219992", 7 | "resultCode": "[payout-submit-received]" 8 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/pos-terminal-management/assing-terminals-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "results": { 3 | "V400m-123456789": "ActionScheduled", 4 | "P400Plus-123456789": "Done" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Adyen.Test/mocks/pos-terminal-management/find-terminals-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "companyAccount" : "TestCompany", 3 | "merchantAccount" : "TestMerchant", 4 | "merchantInventory": false, 5 | "store": "MyStore", 6 | "terminal": "V400m-123456789" 7 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/pos-terminal-management/get-stores-under-account-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "stores": [ 3 | { 4 | "store": "YOUR_STORE", 5 | "description": "YOUR_STORE", 6 | "address": { 7 | "city": "The City", 8 | "countryCode": "NL", 9 | "postalCode": "1234", 10 | "streetAddress": "The Street" 11 | }, 12 | "status": "Active", 13 | "merchantAccountCode": "YOUR_MERCHANT_ACCOUNT" 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/pos-terminal-management/get-terminals-details-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "companyAccount": "YOUR_COMPANY_ACCOUNT", 3 | "merchantAccount": "YOUR_MERCHANT_ACCOUNT", 4 | "merchantInventory": false, 5 | "terminal": "P400Plus-275479597", 6 | "deviceModel": "P400Plus", 7 | "serialNumber": "275-479-597", 8 | "permanentTerminalId": "12000000", 9 | "terminalStatus": "ReAssignToInventoryPending", 10 | "firmwareVersion": "Verifone_VOS 1.50.7", 11 | "country": "NETHERLANDS", 12 | "dhcpEnabled": false 13 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/posmobile/create-session.json: -------------------------------------------------------------------------------- 1 | { 2 | "amount": { 3 | "currency": "EUR", 4 | "value": 100 5 | }, 6 | "countryCode": "NL", 7 | "expiresAt": "2022-01-11T13:53:18+01:00", 8 | "id": "CS451F2AB1ED897A94", 9 | "merchantAccount": "YOUR_MERCHANT_ACCOUNT", 10 | "reference": "YOUR_PAYMENT_REFERENCE", 11 | "returnUrl": "https://your-company.com/checkout?shopperOrder=12xy..", 12 | "sessionData": "Ab02b4c0!BQABAgBfYI29..." 13 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/recurring/createPermit-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "permitResultList": [ 3 | { 4 | "resultKey": "string", 5 | "token": "string" 6 | } 7 | ], 8 | "pspReference": "string" 9 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/recurring/disable-error-803.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 422, 3 | "errorCode": "803", 4 | "message": "PaymentDetail not found", 5 | "errorType": "validation" 6 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/recurring/disable-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "details": [ 3 | { 4 | "RecurringDetail": { 5 | "acquirer": "TestPmmAcquirer", 6 | "acquirerAccount": "TestPmmAcquirerAccount", 7 | "additionalData": { 8 | "cardBin": "411111" 9 | }, 10 | "alias": "ALIAS", 11 | "aliasType": "Default", 12 | "card": { 13 | "expiryMonth": "8", 14 | "expiryYear": "2018", 15 | "holderName": "Holder", 16 | "number": "1111" 17 | }, 18 | "contractTypes": [ 19 | "ONECLICK" 20 | ], 21 | "creationDate": "2017-03-07T09:43:33+01:00", 22 | "firstPspReference": "PSP_REF", 23 | "paymentMethodVariant": "visa", 24 | "recurringDetailReference": "RECURRING_REFERENCE", 25 | "variant": "visa" 26 | } 27 | } 28 | ], 29 | "response": "[detail-successfully-disabled]" 30 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/recurring/disablePermit-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "string", 3 | "status": "disabled" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/recurring/notifyShopper-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "displayedReference": "Example displayed reference", 3 | "message": "Request processed successfully", 4 | "pspReference": "8516167336214570", 5 | "reference": "Example reference", 6 | "resultCode": "Success", 7 | "shopperNotificationReference": "IA0F7500002462" 8 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/recurring/scheduleAccountUpdater-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "string", 3 | "result": "string" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/refund-received.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference": "8524873258461343", 3 | "response": "[refund-received]" 4 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/storedvalue/changeStatus-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "authCode": "authCode", 3 | "currentBalance": { 4 | "currency": "str", 5 | "value": 0 6 | }, 7 | "pspReference": "string", 8 | "refusalReason": "string", 9 | "resultCode": "Refused", 10 | "thirdPartyRefusalReason": "string" 11 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/storedvalue/checkBalance-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "currentBalance": { 3 | "currency": "str", 4 | "value": 0 5 | }, 6 | "pspReference": "string", 7 | "refusalReason": "string", 8 | "resultCode": "Success", 9 | "thirdPartyRefusalReason": "string" 10 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/storedvalue/issue-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "authCode": "authCode", 3 | "currentBalance": { 4 | "currency": "str", 5 | "value": 0 6 | }, 7 | "paymentMethod": { 8 | "additionalProp1": "string", 9 | "additionalProp2": "string", 10 | "additionalProp3": "string" 11 | }, 12 | "pspReference": "string", 13 | "refusalReason": "string", 14 | "resultCode": "Success", 15 | "thirdPartyRefusalReason": "string" 16 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/storedvalue/load-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "authCode": "authCode", 3 | "currentBalance": { 4 | "currency": "str", 5 | "value": 0 6 | }, 7 | "pspReference": "string", 8 | "refusalReason": "string", 9 | "resultCode": "Success", 10 | "thirdPartyRefusalReason": "string" 11 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/storedvalue/mergeBalance-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "authCode": "string", 3 | "currentBalance": { 4 | "currency": "str", 5 | "value": 0 6 | }, 7 | "pspReference": "string", 8 | "refusalReason": "string", 9 | "resultCode": "Success", 10 | "thirdPartyRefusalReason": "string" 11 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/terminalapi/display-response-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "SaleToPOIResponse": { 3 | "DisplayResponse": { 4 | "OutputResult": [{ 5 | "Device": "CustomerDisplay", 6 | "InfoQualify": "Display", 7 | "Response": { 8 | "Result": "Success" 9 | } 10 | }] 11 | }, 12 | "MessageHeader": { 13 | "ProtocolVersion": "3.0", 14 | "SaleID": "POSSystemID12345Appie", 15 | "MessageClass": "Device", 16 | "MessageCategory": "Display", 17 | "ServiceID": "20135010", 18 | "POIID": "MX925-284691408", 19 | "MessageType": "Response" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/terminalapi/pospayment-async-success.json: -------------------------------------------------------------------------------- 1 | ok -------------------------------------------------------------------------------- /Adyen.Test/mocks/terminalapi/pospayment-card-acquisition-request.json: -------------------------------------------------------------------------------- 1 | { 2 | "SaleToPOIRequest":{ 3 | "MessageHeader":{ 4 | "ProtocolVersion":"3.0", 5 | "MessageClass":"Service", 6 | "MessageCategory":"CardAcquisition", 7 | "MessageType":"Request", 8 | "ServiceID":"0612120526", 9 | "SaleID":"CashRegB3", 10 | "POIID":"V400m-324689783" 11 | }, 12 | "CardAcquisitionRequest":{ 13 | "SaleData":{ 14 | "SaleTransactionID":{ 15 | "TransactionID":"TID-2018-08-01-16:43:01", 16 | "TimeStamp":"2018-08-01T16:43:01" 17 | }, 18 | "TokenRequestedType":"Customer" 19 | }, 20 | "CardAcquisitionTransaction":{ 21 | "TotalAmount":10, 22 | "ForceEntryMode": ["MagStripe","Contactless"], 23 | "PaymentType":"Refund" 24 | }, 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/terminalapi/pospayment-no-security-trailer.json: -------------------------------------------------------------------------------- 1 | { 2 | "SaleToPOIResponse": { 3 | "SecurityTrailer": null, 4 | "MessageHeader": { 5 | "ProtocolVersion": "3.0", 6 | "SaleID": "John", 7 | "MessageClass": "Service", 8 | "MessageCategory": "Payment", 9 | "ServiceID": "9739", 10 | "POIID": "MX915-284251016", 11 | "MessageType": "Response" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/terminalapi/pospayment-reversal-response-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "SaleToPOIResponse": { 3 | "ReversalResponse": { 4 | "POIData": { 5 | "POITransactionID": { 6 | "TimeStamp": "2019-08-22T11:09:22.575Z", 7 | "TransactionID": "8515661234567890C" 8 | } 9 | }, 10 | "ReversedAmount": 10100, 11 | "Response": { 12 | "Result": "Success", 13 | "AdditionalResponse": "store=Store1234¤cy=EUR" 14 | } 15 | }, 16 | "MessageHeader": { 17 | "ProtocolVersion": "3.0", 18 | "SaleID": "POSSystemID123456", 19 | "MessageClass": "Service", 20 | "MessageCategory": "Reversal", 21 | "ServiceID": "22123456", 22 | "POIID": "P400Plus-1234567890", 23 | "MessageType": "Response" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/threedsecure2/authorise-response-identifyshopper.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "expiryDate": "10\/2020", 4 | "threeds2.threeDSServerTransID": "74044f6c-7d79-4dd1-9859-3b2879a32fb0", 5 | "cardSummary": "1245", 6 | "aliasType": "Default", 7 | "alias": "G250484829855790", 8 | "paymentMethod": "visa", 9 | "threeds2.threeDS2Token": "[token]", 10 | "paymentMethodVariant": "visa", 11 | "threeds2.threeDSMethodURL": "https:\/\/pal-test.adyen.com\/threeds2simulator\/acs\/startMethod.shtml", 12 | "deviceChannel": "browser" 13 | }, 14 | "pspReference": "8535432125638799", 15 | "resultCode": "IdentifyShopper" 16 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/threedsecure2/authorise3ds2-response-challengeshopper.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "threeds2.threeDS2ResponseData.transStatus": "C", 4 | "threeds2.threeDS2ResponseData.acsChallengeMandated": "Y", 5 | "threeds2.threeDS2ResponseData.acsURL": "https://pal-test.adyen.com/threeds2simulator/acs/challenge.shtml", 6 | "threeds2.threeDS2ResponseData.threeDSServerTransID": "74044f6c-7d79-4dd1-9859-3b2879a32fb1", 7 | "threeds2.threeDS2ResponseData.authenticationType": "01", 8 | "threeds2.threeDS2ResponseData.messageVersion": "2.1.0", 9 | "threeds2.threeDS2Token": "[token]", 10 | "threeds2.threeDS2ResponseData.acsTransID": "ba961c4b-33f2-4830-3141-744b8586aeb0", 11 | "threeds2.threeDS2ResponseData.acsReferenceNumber": "ADYEN-ACS-SIMULATOR", 12 | "threeds2.threeDS2ResponseData.deviceChannel": "browser" 13 | }, 14 | "pspReference": "8535493828757679", 15 | "resultCode": "ChallengeShopper" 16 | 17 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/threedsecure2/authorise3ds2-success.json: -------------------------------------------------------------------------------- 1 | { 2 | "additionalData": { 3 | "expiryDate": "10/2020", 4 | "cvcResult": "1 Matches", 5 | "authCode": "62013", 6 | "avsResult": "4 AVS not supported for this card type", 7 | "cardSummary": "1245", 8 | "aliasType": "Default", 9 | "alias": "G250484827315790", 10 | "paymentMethod": "visa", 11 | "paymentMethodVariant": "visa" 12 | }, 13 | "pspReference": "8535493830438417", 14 | "resultCode": "Authorised", 15 | "authCode": "62013", 16 | "merchantReference": "your_merchantReference", 17 | "paymentMethod": "applepay", 18 | "shopperLocale": "NL" 19 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/transfers/get-transaction.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "EVJN4227C224222B5JBDHPTD672M52EUR", 3 | "amount": { 4 | "value": -10000, 5 | "currency": "EUR" 6 | }, 7 | "status": "booked", 8 | "eventId": "EVJN4227C224222B5JBDHPTD672M52", 9 | "transfer": { 10 | "id": "48TYZO5ZVURJ2FCW", 11 | "reference": "Your internal reference for the transfer" 12 | }, 13 | "valueDate": "2023-08-11T16:19:35+02:00", 14 | "bookingDate": "2023-08-11T16:19:39+02:00", 15 | "creationDate": "2023-08-11T16:19:35+02:00", 16 | "accountHolder": { 17 | "id": "AH00000000000000000000001", 18 | "description": "Your description of the account holder" 19 | }, 20 | "balanceAccount": { 21 | "id": "BA00000000000000000000001", 22 | "description": "Your description of the balance account" 23 | }, 24 | "balancePlatform": "YOUR_BALANCE_PLATFORM" 25 | } -------------------------------------------------------------------------------- /Adyen.Test/mocks/voidPendingRefund-received.json: -------------------------------------------------------------------------------- 1 | { 2 | "pspReference":"8815450600449645", 3 | "response":"[voidPendingRefund-received]" 4 | } -------------------------------------------------------------------------------- /Adyen/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | Properties/ 4 | Adyen.nuspec 5 | nuget.exe 6 | *.user -------------------------------------------------------------------------------- /Adyen/ApiSerialization/Converter/JsonConvertDeserializerWrapper.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace Adyen.ApiSerialization.Converter 4 | { 5 | internal class JsonConvertDeserializerWrapper 6 | { 7 | internal static T DeserializeObject(string objectToDeserialize) 8 | { 9 | return JsonConvert.DeserializeObject(objectToDeserialize); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Adyen/ApiSerialization/IMessagePayload.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.ApiSerialization 2 | { 3 | public interface IMessagePayload { } 4 | } 5 | -------------------------------------------------------------------------------- /Adyen/ApiSerialization/IMessagePayloadSerializer.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.ApiSerialization 2 | { 3 | internal interface IMessagePayloadSerializer where T : IMessagePayload 4 | { 5 | IMessagePayload Deserialize(string messagePayloadJson); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Adyen/ApiSerialization/MessageHeaderSerializer.cs: -------------------------------------------------------------------------------- 1 | using Adyen.Model.TerminalApi; 2 | 3 | namespace Adyen.ApiSerialization 4 | { 5 | internal class MessageHeaderSerializer 6 | { 7 | internal MessageHeader Deserialize(string messageHeaderJson) 8 | { 9 | return Converter.JsonConvertDeserializerWrapper.DeserializeObject(messageHeaderJson); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Adyen/ApiSerialization/MessagePayloadSerializer.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.ApiSerialization 2 | { 3 | internal class MessagePayloadSerializer : IMessagePayloadSerializer where T : IMessagePayload 4 | { 5 | public IMessagePayload Deserialize(string messagePayloadJson) 6 | { 7 | return Converter.JsonConvertDeserializerWrapper.DeserializeObject(messagePayloadJson); 8 | } 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen/ApiSerialization/OpenAPIDateConverter.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json.Converters; 2 | 3 | namespace Adyen.ApiSerialization 4 | { 5 | /// 6 | /// Formatter for 'date' openapi formats ss defined by full-date - RFC3339 7 | /// see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#data-types 8 | /// 9 | public class OpenAPIDateConverter : IsoDateTimeConverter 10 | { 11 | /// 12 | /// Initializes a new instance of the class. 13 | /// 14 | public OpenAPIDateConverter() 15 | { 16 | // full-date = date-fullyear "-" date-month "-" date-mday 17 | DateTimeFormat = "yyyy-MM-dd"; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Adyen/ApiSerialization/TypeHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Adyen.ApiSerialization 4 | { 5 | internal static class TypeHelper 6 | { 7 | internal static Type CreateGenericTypeFromStringFullNamespace(Type genericType, string tFullNamespace) 8 | { 9 | Type[] typeArgs = { Type.GetType(tFullNamespace) }; 10 | Type repositoryType = genericType.MakeGenericType(typeArgs); 11 | 12 | return repositoryType; 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Adyen/BaseUrlConfig.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen 2 | { 3 | public class BaseUrlConfig 4 | { 5 | /// 6 | /// Url to use for Checkout actions. Ensure no trailing slashes. 7 | /// 8 | public string CheckoutUrl { get; set; } 9 | 10 | /// 11 | /// Url to use for Payment actions. Ensure no trailing slashes. 12 | /// 13 | public string PaymentUrl { get; set; } 14 | 15 | /// 16 | /// Url to use for all other actions. Ensure no trailing slashes. 17 | /// 18 | public string BaseUrl { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /Adyen/Constants/ApiConstants.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Constants 2 | { 3 | public class ApiConstants 4 | { 5 | public const string AdyenLibraryName = "adyen-library-name"; 6 | public const string AdyenLibraryVersion = "adyen-library-version"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Adyen/Constants/ClientConfig.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Constants 2 | { 3 | public class ClientConfig 4 | { 5 | //Test cloud api endpoints 6 | public const string CloudApiEndPointTest = "https://terminal-api-test.adyen.com"; 7 | 8 | //Live cloud api endpoints 9 | public const string CloudApiEndPointEULive = "https://terminal-api-live.adyen.com"; 10 | public const string CloudApiEndPointAULive = "https://terminal-api-live-au.adyen.com"; 11 | public const string CloudApiEndPointUSLive = "https://terminal-api-live-us.adyen.com"; 12 | public const string CloudApiEndPointAPSELive = "https://terminal-api-live-apse.adyen.com"; 13 | 14 | public const string UserAgentSuffix = "adyen-dotnet-api-library/"; 15 | public const string NexoProtocolVersion = "3.0"; 16 | 17 | public const string LibName = "adyen-dotnet-api-library"; 18 | public const string LibVersion = "32.0.0"; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Adyen/Exceptions/DeserializationException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Adyen.Exceptions 4 | { 5 | public class DeserializationException : Exception 6 | { 7 | public DeserializationException(string message, Exception innerException) : base(message, innerException) 8 | { 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen/Exceptions/ExceptionMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Exceptions 2 | { 3 | internal class ExceptionMessages 4 | { 5 | internal const string SaleToPoiMessageRootMissing = "SaleToPOIMessage missing root"; 6 | internal const string ExceptionDuringNotification = "Notifications are not yet supported"; 7 | internal const string InvalidMessageType = "Invalid Message Type for the message: {0}"; 8 | internal const string TerminalErrorResponse = "Terminal Error Response: {0}"; 9 | internal const string ExceptionDuringDeserialization = "Exception during deserialization of object: {0}, Exception Message: {1}"; 10 | internal const string MissingLiveEndpointUrlPrefix = "Missing liveEndpointUrlPrefix for endpoint generation"; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AbortRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class AbortRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public MessageReference MessageReference; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public string AbortReason; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 21 | public DisplayOutput DisplayOutput; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AccountType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum AccountType 7 | { 8 | 9 | /// 10 | Default, 11 | 12 | /// 13 | Savings, 14 | 15 | /// 16 | Checking, 17 | 18 | /// 19 | CreditCard, 20 | 21 | /// 22 | Universal, 23 | 24 | /// 25 | Investment, 26 | 27 | /// 28 | CardTotals, 29 | 30 | /// 31 | EpurseCard, 32 | } 33 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AdminRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class AdminRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string ServiceIdentification; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AdminResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class AdminResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AlgorithmIdentifier.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class AlgorithmIdentifier 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public Parameter Parameter; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public AlgorithmType Algorithm; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AlignmentType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum AlignmentType 7 | { 8 | 9 | /// 10 | Left, 11 | 12 | /// 13 | Right, 14 | 15 | /// 16 | Centred, 17 | 18 | /// 19 | Justified, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AllowedProduct.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class AllowedProduct 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string ProductLabel; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public string AdditionalProductInfo; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string ProductCode; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlAttributeAttribute] 25 | public string EanUpc; 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/Amount.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class Amount 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string Currency; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlTextAttribute] 17 | public decimal? Value; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AreaSize.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class AreaSize 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string X; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string Y; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/AuthenticationMethodType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum AuthenticationMethodType 7 | { 8 | 9 | /// 10 | Bypass, 11 | 12 | /// 13 | ManualVerification, 14 | 15 | /// 16 | MerchantAuthentication, 17 | 18 | /// 19 | OfflinePIN, 20 | 21 | /// 22 | OnLinePIN, 23 | 24 | /// 25 | PaperSignature, 26 | 27 | /// 28 | SecuredChannel, 29 | 30 | /// 31 | SecureCertificate, 32 | 33 | /// 34 | SecureNoCertificate, 35 | 36 | /// 37 | SignatureCapture, 38 | 39 | /// 40 | UnknownMethod, 41 | } 42 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/BalanceInquiryRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class BalanceInquiryRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public PaymentAccountReq PaymentAccountReq; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public LoyaltyAccountReq LoyaltyAccountReq; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/BarcodeType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum BarcodeType 7 | { 8 | 9 | /// 10 | EAN8, 11 | 12 | /// 13 | EAN13, 14 | 15 | /// 16 | UPCA, 17 | 18 | /// 19 | Code25, 20 | 21 | /// 22 | Code128, 23 | 24 | /// 25 | PDF417, 26 | 27 | /// 28 | QRCode, 29 | } 30 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/BatchRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class BatchRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute("TransactionToPerform", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public TransactionToPerform[] TransactionToPerform; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public bool? RemoveAllFlag; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlIgnoreAttribute] 21 | public bool? RemoveAllFlagSpecified; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/BatchResponse.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class BatchResponse 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public Response Response; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute("PerformedTransaction", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public PerformedTransaction[] PerformedTransaction; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CapturedSignature.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class CapturedSignature 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public AreaSize AreaSize; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute("SignaturePoint?", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public SignaturePoint[] SignaturePoint; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CardAcquisitionRequest.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class CardAcquisitionRequest : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public SaleData SaleData; 16 | 17 | /// 18 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 19 | public CardAcquisitionTransaction CardAcquisitionTransaction; 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CardReaderAPDUResponse.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class CardReaderAPDUResponse 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public Response Response; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, DataType = "base64Binary")] 17 | public byte[] APDUData; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "base64Binary")] 21 | public byte[] CardStatusWords; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CardReaderPowerOffRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class CardReaderPowerOffRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public DisplayOutput DisplayOutput; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "integer")] 17 | public int? MaxWaitingTime; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CardReaderPowerOffResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class CardReaderPowerOffResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | } 17 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CardholderPIN.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class CardholderPIN 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public ContentInformation EncrPINBlock; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public PINFormatType PINFormat; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string AdditionalInput; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CashHandlingDevice.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class CashHandlingDevice 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute("CoinsOrBills", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public CoinsOrBills[] CoinsOrBills; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public bool? CashHandlingOKFlag; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string Currency; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CharacterHeightType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum CharacterHeightType 7 | { 8 | 9 | /// 10 | SingleHeight, 11 | 12 | /// 13 | DoubleHeight, 14 | 15 | /// 16 | HalfHeight, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CharacterStyleType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum CharacterStyleType 7 | { 8 | 9 | /// 10 | Normal, 11 | 12 | /// 13 | Bold, 14 | 15 | /// 16 | Italic, 17 | 18 | /// 19 | Underlined, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CharacterWidthType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum CharacterWidthType 7 | { 8 | 9 | /// 10 | SingleWidth, 11 | 12 | /// 13 | DoubleWidth, 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CheckTypeCodeType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum CheckTypeCodeType 7 | { 8 | 9 | /// 10 | Personal, 11 | 12 | /// 13 | Company, 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CoinsOrBills.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class CoinsOrBills 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public decimal? UnitValue; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "integer")] 17 | public int? Number; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ColorType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum ColorType 7 | { 8 | 9 | /// 10 | White, 11 | 12 | /// 13 | Black, 14 | 15 | /// 16 | Red, 17 | 18 | /// 19 | Green, 20 | 21 | /// 22 | Blue, 23 | 24 | /// 25 | Yellow, 26 | 27 | /// 28 | Magenta, 29 | 30 | /// 31 | Cyan, 32 | } 33 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/CustomerOrderReqType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum CustomerOrderReqType 7 | { 8 | 9 | /// 10 | Open, 11 | 12 | /// 13 | Closed, 14 | 15 | /// 16 | Both, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/DeviceType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum DeviceType 7 | { 8 | 9 | /// 10 | CashierDisplay, 11 | 12 | /// 13 | CustomerDisplay, 14 | 15 | /// 16 | CashierInput, 17 | 18 | /// 19 | CustomerInput, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/DiagnosisRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class DiagnosisRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute("AcquirerID", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string[] AcquirerID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string POIID; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | [System.ComponentModel.DefaultValueAttribute(false)] 22 | public bool? HostDiagnosisFlag; 23 | 24 | public DiagnosisRequest() 25 | { 26 | HostDiagnosisFlag = false; 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/DisplayRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class DisplayRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute("DisplayOutput", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public DisplayOutput[] DisplayOutput; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/DisplayResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class DisplayResponse : IMessagePayload 11 | { 12 | /// 13 | [System.Xml.Serialization.XmlElementAttribute("OutputResult", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 14 | public OutputResult[] OutputResult; 15 | } 16 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/DocumentQualifierType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum DocumentQualifierType 7 | { 8 | 9 | /// 10 | SaleReceipt, 11 | 12 | /// 13 | CashierReceipt, 14 | 15 | /// 16 | CustomerReceipt, 17 | 18 | /// 19 | Document, 20 | 21 | /// 22 | Voucher, 23 | 24 | /// 25 | Journal, 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/EnableServiceRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class EnableServiceRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string ServicesEnabled; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public DisplayOutput DisplayOutput; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public TransactionActionType TransactionAction; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/EnableServiceResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class EnableServiceResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | } 17 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/EncapsulatedContent.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class EncapsulatedContent 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, DataType = "base64Binary")] 13 | public byte[] Content; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public ContentType ContentType; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/EncryptedContent.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class EncryptedContent 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public AlgorithmIdentifier ContentEncryptionAlgorithm; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, DataType = "base64Binary")] 17 | public byte[] EncryptedData; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public ContentType ContentType; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/EntryModeType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum EntryModeType 7 | { 8 | 9 | /// 10 | RFID, 11 | 12 | /// 13 | Keyed, 14 | 15 | /// 16 | Manual, 17 | 18 | /// 19 | File, 20 | 21 | /// 22 | Scanned, 23 | 24 | /// 25 | MagStripe, 26 | 27 | /// 28 | ICC, 29 | 30 | /// 31 | SynchronousICC, 32 | 33 | /// 34 | Tapped, 35 | 36 | /// 37 | Contactless, 38 | 39 | /// 40 | Mobile, 41 | } 42 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ForceTypeModeType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum ForceEntryModeType 7 | { 8 | //Payment instrument information are taken from RFID 9 | RFID, 10 | //Manual key entry 11 | Keyed, 12 | //Reading of embossing or OCR of printed data either at time of transaction or after the event. 13 | Manual, 14 | //Account data on file 15 | File, 16 | //Scanned by a bar code reader. 17 | Scanned, 18 | //Magnetic stripe 19 | MagStripe, 20 | //Contact ICC (asynchronous) 21 | ICC, 22 | //Contact ICC (synchronous) 23 | SynchronousICC, 24 | //Contactless card reader Magnetic Stripe 25 | Tapped, 26 | //Contactless card reader conform to ISO 14443 27 | Contactless, 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/GenericProfileType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum GenericProfileType 7 | { 8 | 9 | /// 10 | Basic, 11 | 12 | /// 13 | Standard, 14 | 15 | /// 16 | Extended, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/GeographicCoordinates.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class GeographicCoordinates 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string Latitude; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public string Longitude; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/Geolocation.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class Geolocation 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public GeographicCoordinates GeographicCoordinates; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public UTMCoordinates UTMCoordinates; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/GetTotalsRequest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class GetTotalsRequest 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public List TotalDetails; 16 | 17 | /// 18 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 19 | public TotalFilter TotalFilter; 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/GetTotalsResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class GetTotalsResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | 17 | /// 18 | [System.Xml.Serialization.XmlElementAttribute("TransactionTotals", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 19 | public TransactionTotals[] TransactionTotals; 20 | 21 | /// 22 | [System.Xml.Serialization.XmlAttributeAttribute] 23 | public string POIReconciliationID; 24 | } 25 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/GlobalStatusType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum GlobalStatusType 7 | { 8 | 9 | /// 10 | OK, 11 | 12 | /// 13 | Busy, 14 | 15 | /// 16 | Maintenance, 17 | 18 | /// 19 | Unreachable, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/HostStatus.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class HostStatus 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string AcquirerID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | [System.ComponentModel.DefaultValueAttribute(true)] 18 | public bool? IsReachableFlag; 19 | 20 | public HostStatus() 21 | { 22 | IsReachableFlag = true; 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ICCResetData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class ICCResetData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "base64Binary")] 13 | public byte[] ATRValue; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "base64Binary")] 17 | public byte[] CardStatusWords; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/IdentificationSupportType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum IdentificationSupportType 7 | { 8 | 9 | /// 10 | NoCard, 11 | 12 | /// 13 | LoyaltyCard, 14 | 15 | /// 16 | HybridCard, 17 | 18 | /// 19 | LinkedCard, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/IdentificationType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum IdentificationType 7 | { 8 | 9 | /// 10 | PAN, 11 | 12 | /// 13 | ISOTrack2, 14 | 15 | /// 16 | BarCode, 17 | 18 | /// 19 | AccountNumber, 20 | 21 | /// 22 | PhoneNumber, 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/InfoQualifyType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum InfoQualifyType 7 | { 8 | 9 | /// 10 | Status, 11 | 12 | /// 13 | Error, 14 | 15 | /// 16 | Display, 17 | 18 | /// 19 | Sound, 20 | 21 | /// 22 | Input, 23 | 24 | /// 25 | POIReplication, 26 | 27 | /// 28 | CustomerAssistance, 29 | 30 | /// 31 | Receipt, 32 | 33 | /// 34 | Document, 35 | 36 | /// 37 | Voucher, 38 | } 39 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/InputCommandType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum InputCommandType 7 | { 8 | 9 | /// 10 | GetAnyKey, 11 | 12 | /// 13 | GetConfirmation, 14 | 15 | /// 16 | SiteManager, 17 | 18 | /// 19 | TextString, 20 | 21 | /// 22 | DigitString, 23 | 24 | /// 25 | DecimalString, 26 | 27 | /// 28 | GetFunctionKey, 29 | 30 | /// 31 | GetMenuEntry, 32 | 33 | /// 34 | Password, 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/InputRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class InputRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public DisplayOutput DisplayOutput; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public InputData InputData; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/InputResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class InputResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public OutputResult OutputResult; 16 | 17 | /// 18 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 19 | public InputResult InputResult; 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/InputResult.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class InputResult 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public Response Response; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public Input Input; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public DeviceType Device; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlAttributeAttribute] 25 | public InfoQualifyType InfoQualify; 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/IssuerAndSerialNumber.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class IssuerAndSerialNumber 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlArrayAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | [System.Xml.Serialization.XmlArrayItemAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = false)] 14 | public RelativeDistinguishedName[] Issuer; 15 | 16 | /// 17 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, DataType = "integer")] 18 | public int? SerialNumber; 19 | } 20 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/KEKIdentifier.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class KEKIdentifier 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string KeyIdentifier; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string KeyVersion; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "base64Binary")] 21 | public byte[] DerivationIdentifier; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoginResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class LoginResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | 17 | /// 18 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 19 | public POISystemData POISystemData; 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LogoutRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class LogoutRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | [System.ComponentModel.DefaultValueAttribute(false)] 14 | public bool? MaintenanceAllowed; 15 | } 16 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LogoutResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class LogoutResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | } 17 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyAccount.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class LoyaltyAccount 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public LoyaltyAccountID LoyaltyAccountID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string LoyaltyBrand; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyAccountReq.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class LoyaltyAccountReq 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public TransactionIdentification CardAcquisitionReference; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public LoyaltyAccountID LoyaltyAccountID; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyAmount.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class LoyaltyAmount 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | [System.ComponentModel.DefaultValueAttribute(LoyaltyUnitType.Point)] 14 | public LoyaltyUnitType LoyaltyUnit; 15 | 16 | /// 17 | [System.Xml.Serialization.XmlAttributeAttribute] 18 | public string Currency; 19 | 20 | /// 21 | [System.Xml.Serialization.XmlTextAttribute] 22 | public decimal? Value; 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class LoyaltyData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public TransactionIdentification CardAcquisitionReference; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public LoyaltyAccountID LoyaltyAccountID; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 21 | public LoyaltyAmount LoyaltyAmount; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyHandlingType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum LoyaltyHandlingType 7 | { 8 | 9 | /// 10 | Forbidden, 11 | 12 | /// 13 | Processed, 14 | 15 | /// 16 | Allowed, 17 | 18 | /// 19 | Proposed, 20 | 21 | /// 22 | Required, 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class LoyaltyRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public SaleData SaleData; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public LoyaltyTransaction LoyaltyTransaction; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlElementAttribute("LoyaltyData", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 21 | public LoyaltyData[] LoyaltyData; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyTotals.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class LoyaltyTotals 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public TransactionType TransactionType; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "integer")] 17 | public int? TransactionCount; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public decimal? TransactionAmount; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyTransactionType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum LoyaltyTransactionType 7 | { 8 | 9 | /// 10 | Award, 11 | 12 | /// 13 | Rebate, 14 | 15 | /// 16 | Redemption, 17 | 18 | /// 19 | AwardRefund, 20 | 21 | /// 22 | RebateRefund, 23 | 24 | /// 25 | RedemptionRefund, 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/LoyaltyUnitType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum LoyaltyUnitType 7 | { 8 | 9 | /// 10 | Point, 11 | 12 | /// 13 | Monetary, 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/MenuEntryTagType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum MenuEntryTagType 7 | { 8 | 9 | /// 10 | Selectable, 11 | 12 | /// 13 | NonSelectable, 14 | 15 | /// 16 | SubMenu, 17 | 18 | /// 19 | NonSelectableSubMenu, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/Message/SaleToPOIRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi.Message 2 | { 3 | public class SaleToPOIRequest : SaleToPOIMessage 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/Message/SaleToPoiRequestSecured.cs: -------------------------------------------------------------------------------- 1 | using Adyen.Security; 2 | 3 | namespace Adyen.Model.TerminalApi.Message 4 | { 5 | internal class SaleToPoiRequestSecured : SaleToPoiMessageSecured 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/Message/SaleToPoiResponseSecured.cs: -------------------------------------------------------------------------------- 1 | using Adyen.Security; 2 | 3 | namespace Adyen.Model.TerminalApi.Message 4 | { 5 | internal class SaleToPoiResponseSecured : SaleToPoiMessageSecured 6 | { 7 | 8 | } 9 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/MessageClassType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum MessageClassType 7 | { 8 | 9 | /// 10 | Service, 11 | 12 | /// 13 | Device, 14 | 15 | /// 16 | Event, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/MessageType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum MessageType 7 | { 8 | 9 | /// 10 | Request, 11 | 12 | /// 13 | Response, 14 | 15 | /// 16 | Notification, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/NamedKeyEncryptedData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class NamedKeyEncryptedData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string KeyName; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public EncryptedContent EncryptedContent; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | [System.ComponentModel.DefaultValueAttribute(VersionType.v0)] 22 | public VersionType Version; 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/OutputBarcode.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class OutputBarcode 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | [System.ComponentModel.DefaultValueAttribute(BarcodeType.EAN13)] 14 | public BarcodeType BarcodeType; 15 | 16 | /// 17 | [System.Xml.Serialization.XmlTextAttribute] 18 | public string BarcodeValue; 19 | } 20 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/OutputFormatType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum OutputFormatType 7 | { 8 | 9 | /// 10 | MessageRef, 11 | 12 | /// 13 | Text, 14 | 15 | /// 16 | XHTML, 17 | 18 | /// 19 | BarCode, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/OutputResult.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class OutputResult 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public Response Response; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public DeviceType Device; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public InfoQualifyType InfoQualify; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PINFormatType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum PINFormatType 7 | { 8 | 9 | /// 10 | ISO0, 11 | 12 | /// 13 | ISO1, 14 | 15 | /// 16 | ISO2, 17 | 18 | /// 19 | ISO3, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PINRequestType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum PINRequestType 7 | { 8 | 9 | /// 10 | PINVerify, 11 | 12 | /// 13 | PINVerifyOnly, 14 | 15 | /// 16 | PINEnter, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PINResponse.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class PINResponse 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public Response Response; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public CardholderPIN CardholderPIN; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/POIData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class POIData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public TransactionIdentification POITransactionID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string POIReconciliationID; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/POIProfile.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class POIProfile 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string ServiceProfiles; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | [System.ComponentModel.DefaultValueAttribute(GenericProfileType.Standard)] 18 | public GenericProfileType GenericProfile; 19 | } 20 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/POISoftware.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class POISoftware 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string ManufacturerID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string ApplicationName; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string SoftwareVersion; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlAttributeAttribute] 25 | public string CertificationCode; 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/Parameter.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class Parameter 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "base64Binary")] 13 | public byte[] InitialisationVector; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PaymentAccountReq.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class PaymentAccountReq 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public TransactionIdentification CardAcquisitionReference; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public PaymentInstrumentData PaymentInstrumentData; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | [System.ComponentModel.DefaultValueAttribute(AccountType.Default)] 22 | public AccountType AccountType; 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PaymentInstrumentType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum PaymentInstrumentType 7 | { 8 | 9 | /// 10 | Card, 11 | 12 | /// 13 | Check, 14 | 15 | /// 16 | Mobile, 17 | 18 | /// 19 | StoredValue, 20 | 21 | /// 22 | Cash, 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PaymentToken.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class PaymentToken 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public TokenRequestedType TokenRequestedType; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string TokenValue; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public System.DateTime ExpiryDateTime; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlIgnoreAttribute] 25 | public bool? ExpiryDateTimeSpecified; 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PaymentTotals.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class PaymentTotals 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public TransactionType TransactionType; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "integer")] 17 | public int? TransactionCount; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public decimal? TransactionAmount; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PaymentType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum PaymentType 7 | { 8 | 9 | /// 10 | Normal, 11 | 12 | /// 13 | Refund, 14 | 15 | /// 16 | OneTimeReservation, 17 | 18 | /// 19 | FirstReservation, 20 | 21 | /// 22 | UpdateReservation, 23 | 24 | /// 25 | Completion, 26 | 27 | /// 28 | CashAdvance, 29 | 30 | /// 31 | CashDeposit, 32 | 33 | /// 34 | Recurring, 35 | 36 | /// 37 | Instalment, 38 | 39 | /// 40 | IssuerInstalment, 41 | 42 | /// 43 | PaidOut, 44 | } 45 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PeriodUnitType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum PeriodUnitType 7 | { 8 | 9 | /// 10 | Daily, 11 | 12 | /// 13 | Weekly, 14 | 15 | /// 16 | Monthly, 17 | 18 | /// 19 | Annual, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PredefinedContent.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class PredefinedContent 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string ReferenceID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string Language; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PrintRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class PrintRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public PrintOutput PrintOutput; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PrintResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class PrintResponse :IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | 17 | /// 18 | [System.Xml.Serialization.XmlAttributeAttribute] 19 | public DocumentQualifierType DocumentQualifier; 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/PrinterStatusType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum PrinterStatusType 7 | { 8 | 9 | /// 10 | OK, 11 | 12 | /// 13 | PaperLow, 14 | 15 | /// 16 | NoPaper, 17 | 18 | /// 19 | PaperJam, 20 | 21 | /// 22 | OutOfOrder, 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/RecipientIdentifier.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class RecipientIdentifier 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public IssuerAndSerialNumber IssuerAndSerialNumber; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ReconciliationRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class ReconciliationRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute("AcquirerID", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string[] AcquirerID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public ReconciliationType ReconciliationType; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string POIReconciliationID; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ReconciliationType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum ReconciliationType 7 | { 8 | 9 | /// 10 | SaleReconciliation, 11 | 12 | /// 13 | AcquirerSynchronisation, 14 | 15 | /// 16 | AcquirerReconciliation, 17 | 18 | /// 19 | PreviousReconciliation, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/RelativeDistinguishedName.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class RelativeDistinguishedName 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string Attribute; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public string AttributeValue; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/Response.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class Response 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string AdditionalResponse; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public ResultType Result; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public ErrorConditionType? ErrorCondition; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlIgnoreAttribute] 25 | public bool? ErrorConditionSpecified; 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ResponseModeType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum ResponseModeType 7 | { 8 | 9 | /// 10 | NotRequired, 11 | 12 | /// 13 | Immediate, 14 | 15 | /// 16 | PrintEnd, 17 | 18 | /// 19 | SoundEnd, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ResultType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum ResultType 7 | { 8 | 9 | /// 10 | Success, 11 | 12 | /// 13 | Failure, 14 | 15 | /// 16 | Partial, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/ReversalReasonType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum ReversalReasonType 7 | { 8 | 9 | /// 10 | CustCancel, 11 | 12 | /// 13 | MerchantCancel, 14 | 15 | /// 16 | Malfunction, 17 | 18 | /// 19 | Unable2Compl, 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SaleProfile.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SaleProfile 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string ServiceProfiles; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | [System.ComponentModel.DefaultValueAttribute(GenericProfileType.Standard)] 18 | public GenericProfileType GenericProfile; 19 | } 20 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SaleSoftware.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SaleSoftware 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string ManufacturerID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string ApplicationName; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string SoftwareVersion; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlAttributeAttribute] 25 | public string CertificationCode; 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SaleToIssuerData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SaleToIssuerData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string StatementReference; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SensitiveCardData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SensitiveCardData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute("TrackData", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public TrackData[] TrackData; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string PAN; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string CardSeqNumb; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlAttributeAttribute] 25 | public string ExpiryDate; 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SensitiveMobileData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SensitiveMobileData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string MSISDN; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string IMSI; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string IMEI; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SignaturePoint.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SignaturePoint 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string X; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string Y; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SignerIdentifier.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SignerIdentifier 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public IssuerAndSerialNumber IssuerAndSerialNumber; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SoundActionType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum SoundActionType 7 | { 8 | 9 | /// 10 | StartSound, 11 | 12 | /// 13 | StopSound, 14 | 15 | /// 16 | SetDefaultVolume, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SoundFormatType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum SoundFormatType 7 | { 8 | 9 | /// 10 | SoundRef, 11 | 12 | /// 13 | MessageRef, 14 | 15 | /// 16 | Text, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/SoundResponse.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class SoundResponse 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public Response Response; 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/StoredValueAccountStatus.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class StoredValueAccountStatus 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public StoredValueAccountID StoredValueAccountID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public decimal? CurrentBalance; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlIgnoreAttribute] 21 | public bool? CurrentBalanceSpecified; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/StoredValueAccountType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum StoredValueAccountType 7 | { 8 | 9 | /// 10 | GiftCard, 11 | 12 | /// 13 | PhoneCard, 14 | 15 | /// 16 | Other, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/StoredValueRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class StoredValueRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public SaleData SaleData; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute("StoredValueData", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public StoredValueData[] StoredValueData; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string CustomerLanguage; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/StoredValueTransactionType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum StoredValueTransactionType 7 | { 8 | 9 | /// 10 | Reserve, 11 | 12 | /// 13 | Activate, 14 | 15 | /// 16 | Load, 17 | 18 | /// 19 | Unload, 20 | 21 | /// 22 | Reverse, 23 | 24 | /// 25 | Duplicate, 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TerminalEnvironmentType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum TerminalEnvironmentType 7 | { 8 | 9 | /// 10 | Attended, 11 | 12 | /// 13 | SemiAttended, 14 | 15 | /// 16 | Unattended, 17 | } 18 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TokenRequestedType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum TokenRequestedType 7 | { 8 | 9 | /// 10 | Transaction, 11 | 12 | /// 13 | Customer, 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TotalDetailsType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum TotalDetailsType 7 | { 8 | 9 | /// 10 | POIID, 11 | 12 | /// 13 | SaleID, 14 | 15 | /// 16 | OperatorID, 17 | 18 | /// 19 | ShiftNumber, 20 | 21 | /// 22 | TotalsGroupID 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TotalFilter.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class TotalFilter 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string POIID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public string SaleID; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | public string OperatorID; 22 | 23 | /// 24 | [System.Xml.Serialization.XmlAttributeAttribute] 25 | public string ShiftNumber; 26 | 27 | /// 28 | [System.Xml.Serialization.XmlAttributeAttribute] 29 | public string TotalsGroupID; 30 | } 31 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TrackData.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class TrackData 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute(DataType = "integer")] 13 | [System.ComponentModel.DefaultValueAttribute("2")] 14 | public int? TrackNumb; 15 | 16 | /// 17 | [System.Xml.Serialization.XmlAttributeAttribute] 18 | [System.ComponentModel.DefaultValueAttribute(TrackFormatType.ISO)] 19 | public TrackFormatType TrackFormat; 20 | 21 | /// 22 | [System.Xml.Serialization.XmlTextAttribute] 23 | public string TrackValue; 24 | 25 | } 26 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TrackFormatType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum TrackFormatType 7 | { 8 | 9 | /// 10 | ISO, 11 | 12 | /// 13 | [System.Xml.Serialization.XmlEnumAttribute("JIS-I")] 14 | JISI, 15 | 16 | /// 17 | [System.Xml.Serialization.XmlEnumAttribute("JIS-II")] 18 | JISII, 19 | 20 | /// 21 | AAMVA, 22 | 23 | /// 24 | [System.Xml.Serialization.XmlEnumAttribute("CMC-7")] 25 | CMC7, 26 | 27 | /// 28 | [System.Xml.Serialization.XmlEnumAttribute("E-13B")] 29 | E13B, 30 | } 31 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TransactionActionType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum TransactionActionType 7 | { 8 | 9 | /// 10 | StartTransaction, 11 | 12 | /// 13 | AbortTransaction, 14 | } 15 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TransactionIdentification.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class TransactionIdentification 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlAttributeAttribute] 13 | public string TransactionID; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlAttributeAttribute] 17 | public System.DateTime TimeStamp; 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TransactionStatusRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class TransactionStatusRequest 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public MessageReference MessageReference; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute("DocumentQualifier", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public DocumentQualifierType[] DocumentQualifier; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlAttributeAttribute] 21 | [System.ComponentModel.DefaultValueAttribute(false)] 22 | public bool? ReceiptReprintFlag; 23 | } 24 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TransactionToPerform.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class TransactionToPerform 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute("LoyaltyRequest", typeof(LoyaltyRequest), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | [System.Xml.Serialization.XmlElementAttribute("PaymentRequest", typeof(PaymentRequest), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 14 | [System.Xml.Serialization.XmlElementAttribute("ReversalRequest", typeof(ReversalRequest), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public object MessagePayload; 16 | } 17 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/TransmitResponse.cs: -------------------------------------------------------------------------------- 1 | using Adyen.ApiSerialization; 2 | 3 | namespace Adyen.Model.TerminalApi 4 | { 5 | /// 6 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 7 | [System.SerializableAttribute] 8 | [System.Diagnostics.DebuggerStepThroughAttribute] 9 | [System.ComponentModel.DesignerCategoryAttribute("code")] 10 | public class TransmitResponse : IMessagePayload 11 | { 12 | 13 | /// 14 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 15 | public Response Response; 16 | 17 | /// 18 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, DataType = "base64Binary")] 19 | public byte[] Message; 20 | } 21 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/UTMCoordinates.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | [System.Diagnostics.DebuggerStepThroughAttribute] 7 | [System.ComponentModel.DesignerCategoryAttribute("code")] 8 | public class UTMCoordinates 9 | { 10 | 11 | /// 12 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 13 | public string UTMZone; 14 | 15 | /// 16 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 17 | public string UTMEastward; 18 | 19 | /// 20 | [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] 21 | public string UTMNorthward; 22 | } 23 | } -------------------------------------------------------------------------------- /Adyen/Model/TerminalApi/VersionType.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Model.TerminalApi 2 | { 3 | /// 4 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] 5 | [System.SerializableAttribute] 6 | public enum VersionType 7 | { 8 | 9 | /// 10 | v0, 11 | 12 | /// 13 | v1, 14 | 15 | /// 16 | v2, 17 | 18 | /// 19 | v3, 20 | 21 | /// 22 | v4, 23 | 24 | /// 25 | v5, 26 | } 27 | } -------------------------------------------------------------------------------- /Adyen/Security/EncryptionCredentialDetails.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | 3 | namespace Adyen.Security 4 | { 5 | public class EncryptionCredentialDetails 6 | { 7 | [Required] 8 | public string Password { get; set; } 9 | 10 | [Required] 11 | public int KeyVersion { get; set; } 12 | 13 | [Required] 14 | public string KeyIdentifier { get; set; } 15 | 16 | [Required] 17 | public int AdyenCryptoVersion { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Adyen/Security/EncryptionDerivedKey.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Security 2 | { 3 | internal class EncryptionDerivedKey 4 | { 5 | internal const int HmacKeyLength = 32; 6 | internal const int CipherKeyLength = 32; 7 | internal const int IVLength = 16; 8 | 9 | internal byte[] HmacKey; 10 | internal byte[] CipherKey; 11 | internal byte[] IV; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Adyen/Security/Exceptions/NexoCryptoException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Adyen.Security.Exceptions 4 | { 5 | public class NexoCryptoException : Exception 6 | { 7 | public NexoCryptoException(string message) : base(message) 8 | { 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Adyen/Security/Extension/ArrayExtension.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Security.Extension 2 | { 3 | internal static class ArrayExtension 4 | { 5 | public static T[] Slice(this T[] source, int start, int end) 6 | { 7 | if (end < 0) 8 | { 9 | end = source.Length + end; 10 | } 11 | int len = end - start; 12 | 13 | T[] res = new T[len]; 14 | for (int i = 0; i < len; i++) 15 | { 16 | res[i] = source[i + start]; 17 | } 18 | return res; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Adyen/Security/HmacSha256Wrapper.cs: -------------------------------------------------------------------------------- 1 | using System.Security.Cryptography; 2 | 3 | namespace Adyen.Security 4 | { 5 | internal class HmacSha256Wrapper 6 | { 7 | internal byte[] HMac(byte[] bytesToHMac, byte[] hmacKey) 8 | { 9 | var hmacSha256 = new HMACSHA256(hmacKey); 10 | 11 | return hmacSha256.ComputeHash(bytesToHMac); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Adyen/Security/IvModGenerator.cs: -------------------------------------------------------------------------------- 1 | using System.Security.Cryptography; 2 | 3 | namespace Adyen.Security 4 | { 5 | internal class IvModGenerator 6 | { 7 | internal byte[] GenerateRandomMod() 8 | { 9 | var ivMod = new byte[EncryptionDerivedKey.IVLength]; 10 | using (var rng = RandomNumberGenerator.Create()) 11 | { 12 | rng.GetNonZeroBytes(ivMod); 13 | } 14 | 15 | return ivMod; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Adyen/Security/SaleToPoiMessageSecured.cs: -------------------------------------------------------------------------------- 1 | using Adyen.Model.TerminalApi; 2 | 3 | namespace Adyen.Security 4 | { 5 | public class SaleToPoiMessageSecured 6 | { 7 | public MessageHeader MessageHeader { get; set; } 8 | 9 | public string NexoBlob { get; set; } 10 | 11 | public SecurityTrailer SecurityTrailer { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Adyen/Security/SecurityTrailer.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using Newtonsoft.Json; 3 | using Newtonsoft.Json.Converters; 4 | 5 | namespace Adyen.Security 6 | { 7 | /// 8 | ///It contains information related to the security of the message 9 | /// 10 | /// 11 | ///SecurityTrailer as used by Adyen 12 | /// 13 | public class SecurityTrailer 14 | { 15 | [Required] 16 | public int? AdyenCryptoVersion { get; set; } 17 | [Required] 18 | public string KeyIdentifier { get; set; } 19 | [Required] 20 | public int? KeyVersion { get; set; } 21 | [Required] 22 | public byte[] Nonce { get; set; } 23 | [Required] 24 | public byte[] Hmac { get; set; } 25 | public override string ToString() 26 | { 27 | return JsonConvert.SerializeObject(this, Formatting.Indented, new StringEnumConverter()); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Adyen/Service/ApiException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Adyen.Model; 3 | 4 | namespace Adyen.Service 5 | { 6 | public class ApiException:Exception 7 | { 8 | public int StatusCode { get; set; } 9 | 10 | public ApiError ApiError{ get; set; } 11 | 12 | public ApiException(int statusCode,string message) 13 | :base(message) 14 | { 15 | StatusCode = statusCode; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Adyen/Service/Resource/Terminal/TerminalApi.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Adyen.Service.Resource.Terminal 4 | { 5 | [Obsolete("Use TerminalApiSyncClient or TerminalApiAsyncClient instead.")] 6 | public class TerminalApi : ServiceResource 7 | { 8 | [Obsolete("Use TerminalApiSyncClient or TerminalApiAsyncClient instead.")] 9 | public TerminalApi(AbstractService abstractService, bool asynchronous) 10 | : base(abstractService, null) 11 | { 12 | if (asynchronous) { 13 | Endpoint = abstractService.Client.GetCloudApiEndpoint()+ "/async"; 14 | } else { 15 | Endpoint = abstractService.Client.GetCloudApiEndpoint() + "/sync"; 16 | } 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Adyen/Service/Resource/Terminal/TerminalApiAsyncClient.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Service.Resource.Terminal 2 | { 3 | /// 4 | /// Service that sends terminal-api requests to the cloud terminal-api `/async` endpoint. 5 | /// 6 | public class TerminalApiAsyncClient : ServiceResource 7 | { 8 | /// 9 | /// Instantiate a to send requests to the cloud terminal-api `/async` endpoint. 10 | /// 11 | /// . 12 | public TerminalApiAsyncClient(AbstractService abstractService) 13 | : base(abstractService, abstractService.Client.GetCloudApiEndpoint() + "/async") 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Adyen/Service/Resource/Terminal/TerminalApiLocal.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Adyen.Service.Resource.Terminal 4 | { 5 | [Obsolete("Use TerminalApiLocalClient instead.")] 6 | public class TerminalApiLocal: ServiceResource 7 | { 8 | [Obsolete("Use TerminalApiLocalClient instead.")] 9 | public TerminalApiLocal(AbstractService abstractService) 10 | : base(abstractService, abstractService.Client.Config.LocalTerminalApiEndpoint) 11 | { 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Adyen/Service/Resource/Terminal/TerminalApiLocalClient.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Service.Resource.Terminal 2 | { 3 | /// 4 | /// Service that sends terminal-api requests to your specified endpoint in . 5 | /// 6 | public class TerminalApiLocalClient : ServiceResource 7 | { 8 | /// 9 | /// Instantiate a to send requests to your specified endpoint in . 10 | /// 11 | /// . 12 | public TerminalApiLocalClient(AbstractService abstractService) 13 | : base(abstractService, abstractService.Client.Config.LocalTerminalApiEndpoint) 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Adyen/Service/Resource/Terminal/TerminalApiSyncClient.cs: -------------------------------------------------------------------------------- 1 | namespace Adyen.Service.Resource.Terminal 2 | { 3 | public class TerminalApiSyncClient : ServiceResource 4 | { 5 | /// 6 | /// Instantiate a to send requests to the cloud terminal-api `/sync` endpoint. 7 | /// 8 | /// . 9 | public TerminalApiSyncClient(AbstractService abstractService) 10 | : base(abstractService, abstractService.Client.GetCloudApiEndpoint() + "/sync") 11 | { 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Adyen/Util/ByteArrayConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text; 3 | using Newtonsoft.Json; 4 | 5 | namespace Adyen.Util 6 | { 7 | internal class ByteArrayConverter : JsonConverter 8 | { 9 | public override bool CanConvert(Type objectType) 10 | { 11 | return objectType == typeof(byte[]); 12 | } 13 | 14 | public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) 15 | { 16 | if (reader.TokenType == JsonToken.Null) 17 | return null; 18 | return Encoding.UTF8.GetBytes((string)reader.Value); 19 | } 20 | 21 | public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) 22 | { 23 | byte[] bytes = (byte[])value; 24 | writer.WriteValue(Encoding.UTF8.GetString(bytes)); 25 | } 26 | 27 | } 28 | } -------------------------------------------------------------------------------- /Adyen/Util/TerminalApi/AdditionalResponse.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Adyen.Util.TerminalApi 4 | { 5 | 6 | public class AdditionalResponse 7 | { 8 | public Dictionary AdditionalData { get; set; } 9 | public string Message { get; set; } 10 | public string Store { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /Adyen/Util/Util.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Adyen.Util 4 | { 5 | public class Util 6 | { 7 | public static string CalculateSessionValidity() 8 | { 9 | //+1day 10 | var dateTime=DateTime.Now.AddDays(1); 11 | return String.Format("{0:s}", dateTime); 12 | 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Adyen/Webhooks/WebhookHandler.cs: -------------------------------------------------------------------------------- 1 | using Adyen.Model.Notification; 2 | using Adyen.Util; 3 | 4 | namespace Adyen.Webhooks 5 | { 6 | public class WebhookHandler 7 | { 8 | public NotificationRequest HandleNotificationRequest(string jsonRequest) 9 | { 10 | return JsonOperation.Deserialize(jsonRequest); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Adyen/adyen-dotnet-api-library-key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adyen/adyen-dotnet-api-library/00044a5de0ee8bf217a5fcc46b07111ee63538df/Adyen/adyen-dotnet-api-library-key.snk -------------------------------------------------------------------------------- /Adyen/adyen-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adyen/adyen-dotnet-api-library/00044a5de0ee8bf217a5fcc46b07111ee63538df/Adyen/adyen-logo.png -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution guidelines 2 | 3 | ## How to contribute step-by-step 4 | 5 | 1. Fork the `Adyen/adyen-dotnet-api-library` repository. 6 | 2. Create a new branch from `main` in your fork. This makes it easier for you to keep track of your changes. 7 | 3. Make the desired changes to the code. 8 | * If you are adding new functionality or fixing a bug, we recommend you add unit tests that cover it. 9 | 4. Push the changes to your fork. 10 | 5. Create a pull request to the `Adyen/adyen-dotnet-api-library` repository. 11 | 6. In your pull request, please describe in detail: 12 | * What problem you’re solving 13 | * Your approach to fixing the problem 14 | * Any tests you wrote 15 | 7. Check Allow edits from maintainers. 16 | 8. Create the pull request. 17 | 9. Ensure that all checks have passed. 18 | 19 | After you create your pull request, one of the code owners will review your code. We aim to review your request within 2-3 business days. 20 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 32.0.0 -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- 1 | Vagrant.configure("2") do |config| 2 | config.vm.box = "jeffnoxon/ubuntu-20.04-arm64" 3 | config.vm.network "private_network", ip: "192.168.58.30" 4 | config.vm.provider :parallels do |v| 5 | v.memory = "4096" 6 | v.cpus = 2 7 | end 8 | config.vm.synced_folder '.', '/home/vagrant/adyen-dotnet-api-library', disabled: false 9 | config.vm.network :forwarded_port, guest:9876, host: 9876 10 | end -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": ["config:base"], 4 | "minimumReleaseAge": "21 days" 5 | } 6 | -------------------------------------------------------------------------------- /templates/csharp/api_invoke.mustache: -------------------------------------------------------------------------------- 1 | {{#requiredParams}}{{#isPathParam}}{{paramName}}, {{/isPathParam}}{{#isBodyParam}}{{paramName}}, {{/isBodyParam}}{{#isQueryParam}}{{paramName}}, {{/isQueryParam}}{{/requiredParams}}{{#optionalParams}}{{#isPathParam}}{{paramName}}, {{/isPathParam}}{{#isBodyParam}}{{paramName}}, {{/isBodyParam}}{{#isQueryParam}}{{paramName}}, {{/isQueryParam}}{{/optionalParams}}requestOptions -------------------------------------------------------------------------------- /templates/csharp/api_parameter_ordering.mustache: -------------------------------------------------------------------------------- 1 | {{#isPathParam}}{{{dataType}}} {{paramName}} = default, {{/isPathParam}}{{#isBodyParam}}{{{dataType}}} {{paramName}} = default, {{/isBodyParam}}{{#isQueryParam}}{{{dataType}}} {{paramName}} = default, {{/isQueryParam}} -------------------------------------------------------------------------------- /templates/csharp/api_parameter_ordering_required.mustache: -------------------------------------------------------------------------------- 1 | {{#isPathParam}}{{{dataType}}} {{paramName}}, {{/isPathParam}}{{#isBodyParam}}{{{dataType}}} {{paramName}}, {{/isBodyParam}}{{#isQueryParam}}{{{dataType}}} {{paramName}}, {{/isQueryParam}} -------------------------------------------------------------------------------- /templates/csharp/api_parameters.mustache: -------------------------------------------------------------------------------- 1 | {{! Path and body are required, followed by optional query string and request options }} 2 | {{#requiredParams}}{{>api_parameter_ordering_required}}{{/requiredParams}}{{#optionalParams}}{{>api_parameter_ordering}}{{/optionalParams}}RequestOptions requestOptions = default -------------------------------------------------------------------------------- /templates/csharp/api_parameters_async.mustache: -------------------------------------------------------------------------------- 1 | {{! Path and body are required, followed by optional query string and request options }} 2 | {{#requiredParams}}{{>api_parameter_ordering_required}}{{/requiredParams}}{{#optionalParams}}{{>api_parameter_ordering}}{{/optionalParams}}RequestOptions requestOptions = default, CancellationToken cancellationToken = default -------------------------------------------------------------------------------- /templates/csharp/config.yaml: -------------------------------------------------------------------------------- 1 | templateDir: ./templates/csharp 2 | files: 3 | api-single.mustache: 4 | folder: api 5 | templateType: API 6 | destinationFilename: Single.cs -------------------------------------------------------------------------------- /templates/csharp/method_documentation.mustache: -------------------------------------------------------------------------------- 1 | /// 2 | /// {{{summary}}} 3 | /// 4 | {{#pathParams}} 5 | /// - {{description}}{{#isDeprecated}} (deprecated){{/isDeprecated}} 6 | {{/pathParams}} 7 | {{#bodyParams}} 8 | /// - {{description}}{{#isDeprecated}} (deprecated){{/isDeprecated}} 9 | {{/bodyParams}} 10 | {{#queryParams}} 11 | /// - {{description}}{{#isDeprecated}} (deprecated){{/isDeprecated}} 12 | {{/queryParams}} 13 | /// - Additional request options. -------------------------------------------------------------------------------- /templates/csharp/partial_header.mustache: -------------------------------------------------------------------------------- 1 | /* 2 | {{#appName}} 3 | * {{{.}}} 4 | * 5 | {{/appName}} 6 | * 7 | * {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}} 8 | * 9 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 10 | * https://openapi-generator.tech 11 | * Do not edit the class manually. 12 | */ 13 | --------------------------------------------------------------------------------