├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Doxyfile ├── GlobalPayments.Api.sln ├── LICENSE.md ├── README.md ├── examples ├── gpapi │ └── end-to-end │ │ ├── end-to-end.sln │ │ └── end-to-end │ │ ├── App_Start │ │ ├── BundleConfig.cs │ │ └── RouteConfig.cs │ │ ├── Authorization.ashx │ │ ├── Authorization.ashx.cs │ │ ├── Bundle.config │ │ ├── ChallengeNotificationUrl.ashx │ │ ├── ChallengeNotificationUrl.ashx.cs │ │ ├── Check3dsVersion.ashx │ │ ├── Check3dsVersion.ashx.cs │ │ ├── Content │ │ ├── Site.css │ │ └── styles.css │ │ ├── Default.aspx │ │ ├── Default.aspx.cs │ │ ├── Default.aspx.designer.cs │ │ ├── Global.asax │ │ ├── Global.asax.cs │ │ ├── InitiateAuthentication.ashx │ │ ├── InitiateAuthentication.ashx.cs │ │ ├── MethodNotificationUrl.ashx │ │ ├── MethodNotificationUrl.ashx.cs │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── ServiceDependencies │ │ │ └── azsneyderwebapp-staging - Web Deploy │ │ │ └── profile.arm.json │ │ ├── Scripts │ │ ├── globalpayments-3ds.copy.min.js.map │ │ ├── globalpayments-3ds.js │ │ ├── globalpayments-3ds.min.js.map │ │ ├── jquery-3.7.0.intellisense.js │ │ ├── jquery-3.7.0.js │ │ ├── jquery-3.7.0.min.js │ │ ├── jquery-3.7.0.min.map │ │ ├── jquery-3.7.0.slim.js │ │ ├── jquery-3.7.0.slim.min.js │ │ ├── jquery-3.7.0.slim.min.map │ │ └── main.js │ │ ├── Site.Mobile.Master │ │ ├── Site.Mobile.Master.cs │ │ ├── Site.Mobile.Master.designer.cs │ │ ├── ViewSwitcher.ascx │ │ ├── ViewSwitcher.ascx.cs │ │ ├── ViewSwitcher.ascx.designer.cs │ │ ├── Web.Debug.config │ │ ├── Web.Release.config │ │ ├── Web.config │ │ ├── end-to-end.csproj │ │ ├── favicon.ico │ │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ │ └── packages.config ├── mvc │ └── end-to-end │ │ ├── end-to-end.sln │ │ └── end-to-end │ │ ├── .bowerrc │ │ ├── Controllers │ │ └── HomeController.cs │ │ ├── Models │ │ ├── OrderDetails.cs │ │ └── SuccessModel.cs │ │ ├── Program.cs │ │ ├── Properties │ │ └── launchSettings.json │ │ ├── Startup.cs │ │ ├── Views │ │ ├── Home │ │ │ ├── Error.cshtml │ │ │ ├── Index.cshtml │ │ │ └── Success.cshtml │ │ ├── Shared │ │ │ ├── Error.cshtml │ │ │ └── _Layout.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ ├── bower.json │ │ ├── bundleconfig.json │ │ ├── end-to-end.csproj │ │ ├── libman.json │ │ └── wwwroot │ │ ├── css │ │ ├── site.css │ │ └── site.min.css │ │ ├── favicon.ico │ │ ├── images │ │ ├── banner1.svg │ │ ├── banner2.svg │ │ ├── banner3.svg │ │ └── banner4.svg │ │ ├── js │ │ ├── site.js │ │ └── site.min.js │ │ └── lib │ │ ├── bootstrap │ │ ├── LICENSE │ │ └── dist │ │ │ ├── css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap-theme.min.css.map │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ └── npm.js │ │ ├── jquery-validation-unobtrusive │ │ ├── .bower.json │ │ ├── jquery.validate.unobtrusive.js │ │ └── jquery.validate.unobtrusive.min.js │ │ ├── jquery-validation │ │ ├── .bower.json │ │ ├── LICENSE.md │ │ └── dist │ │ │ ├── additional-methods.js │ │ │ ├── additional-methods.min.js │ │ │ ├── jquery.validate.js │ │ │ └── jquery.validate.min.js │ │ └── jquery │ │ ├── .bower.json │ │ ├── LICENSE.txt │ │ └── dist │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ └── jquery.min.map ├── selfboarding │ └── BoardingAPI │ │ └── TestBoardingAPI │ │ └── TestBoardingAPI │ │ └── Models │ │ └── CompletedApplication.cs ├── terminals │ └── heartland-payment-app │ │ └── TestTerminalApp │ │ ├── TestTerminalApp.sln │ │ └── TestTerminalApp │ │ ├── Program.cs │ │ └── TestTerminalApp.csproj └── webforms │ └── end-to-end │ ├── .nuget │ ├── NuGet.Config │ ├── NuGet.exe │ ├── NuGet.exe.old │ └── NuGet.targets │ ├── Default.aspx │ ├── Default.aspx.cs │ ├── Default.aspx.designer.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── Response.aspx │ ├── Response.aspx.cs │ ├── Response.aspx.designer.cs │ ├── Scripts │ ├── jquery-1.7.1.intellisense.js │ ├── jquery-1.7.1.js │ └── jquery-1.7.1.min.js │ ├── Web.Debug.config │ ├── Web.Release.config │ ├── Web.config │ ├── css │ ├── response.css │ └── site.css │ ├── end-to-end.csproj │ ├── end-to-end.sln │ └── packages.config ├── src └── GlobalPayments.Api │ ├── Builders │ ├── AuthorizationBuilder.cs │ ├── BaseBuilder.cs │ ├── BillingBuilder.cs │ ├── FileProcessingBuilder.cs │ ├── FraudBuilder.cs │ ├── InstallmentBuilder.cs │ ├── ManagementBuilder.cs │ ├── PayFacBuilder.cs │ ├── RecurringBuilder.cs │ ├── ReportBuilder.cs │ ├── RequestBuilder │ │ ├── GpApi │ │ │ ├── GpApiAuthorizationRequestBuilder.cs │ │ │ ├── GpApiFileProcessingRequestBuilder.cs │ │ │ ├── GpApiInstallmentRequestBuilder.cs │ │ │ ├── GpApiManagementRequestBuilder.cs │ │ │ ├── GpApiMiCRequestBuilder.cs │ │ │ ├── GpApiPayFacRequestBuilder.cs │ │ │ ├── GpApiRecurringRequestBuilder.cs │ │ │ ├── GpApiReportRequestBuilder.cs │ │ │ └── GpApiSecureRequestBuilder.cs │ │ └── RequestBuilderValidations.cs │ ├── ResubmitBuilder.cs │ ├── Secure3dBuilder.cs │ ├── SecureBuilder.cs │ ├── TransactionBuilder.cs │ ├── TransactionReportBuilder.cs │ ├── UserReportBuilder.cs │ └── Validations │ │ ├── ValidationClause.cs │ │ ├── ValidationTarget.cs │ │ └── Validations.cs │ ├── Entities │ ├── Action.cs │ ├── AdditionalTaxDetails.cs │ ├── Address.cs │ ├── AlternativePaymentResponse.cs │ ├── AutoSubstantiation.cs │ ├── BNPLResponse.cs │ ├── BankPaymentResponse.cs │ ├── BatchSummary.cs │ ├── Billing │ │ ├── AuthorizationRecord.cs │ │ ├── Bill.cs │ │ ├── BillingResponse.cs │ │ ├── ConvenienceFeeResponse.cs │ │ ├── Credentials.cs │ │ ├── LoadHostedPaymentResponse.cs │ │ ├── LoadSecurePayResponse.cs │ │ ├── TokenData.cs │ │ └── TokenResponse.cs │ ├── BlockedCardType.cs │ ├── BrowserData.cs │ ├── Card.cs │ ├── CardIssuerResponse.cs │ ├── CheckResponseErrorMessage.cs │ ├── CommercialData.cs │ ├── CommercialLineItem.cs │ ├── CountryData.cs │ ├── Customer.cs │ ├── CustomerDocument.cs │ ├── DccRateData.cs │ ├── DebitMac.cs │ ├── DecisionManager.cs │ ├── DiscountDetails.cs │ ├── DisputeDocument.cs │ ├── Document.cs │ ├── DocumentUploadData.cs │ ├── EcommerceInfo.cs │ ├── EncryptionData.cs │ ├── Enums.cs │ ├── Enums │ │ ├── AcquisitionType.cs │ │ ├── ActionSortProperty.cs │ │ ├── AdvancedDepositType.cs │ │ ├── AgeIndicator.cs │ │ ├── AuthenticationSource.cs │ │ ├── BNPLShippingMethod.cs │ │ ├── BNPLType.cs │ │ ├── BankPaymentStatus.cs │ │ ├── BankPaymentType.cs │ │ ├── BillPresentment.cs │ │ ├── BillingLoadType.cs │ │ ├── BlockCardType.cs │ │ ├── CardTypeFilter.cs │ │ ├── ChallengeRequestIndicator.cs │ │ ├── Channel.cs │ │ ├── CommercialIndicator.cs │ │ ├── CountryCodeFormat.cs │ │ ├── CreditDebitIndicator.cs │ │ ├── CustomerAuthenticationMethod.cs │ │ ├── CustomerDocumentType.cs │ │ ├── CvnPresenceIndicator.cs │ │ ├── DccProcessor.cs │ │ ├── DccRateType.cs │ │ ├── DebugLevel.cs │ │ ├── DebugLogsOutput.cs │ │ ├── DecoupledFlowRequest.cs │ │ ├── DeliveryTimeFrame.cs │ │ ├── DepositSortProperty.cs │ │ ├── DepositStatus.cs │ │ ├── DisplayOption.cs │ │ ├── DisputeSortProperty.cs │ │ ├── DisputeStage.cs │ │ ├── DisputeStatus.cs │ │ ├── DocumentCategory.cs │ │ ├── EmvFallbackCondition.cs │ │ ├── EmvLastChipRead.cs │ │ ├── EncryptedFieldMatrix.cs │ │ ├── ExemptReason.cs │ │ ├── ExemptStatus.cs │ │ ├── ExtraChargeType.cs │ │ ├── FileProcessingActionType.cs │ │ ├── FileType.cs │ │ ├── FraudFilterResult.cs │ │ ├── FundsStatus.cs │ │ ├── GatewayProvider.cs │ │ ├── HostedPaymentType.cs │ │ ├── InputAlignment.cs │ │ ├── IntervalToExpire.cs │ │ ├── Language.cs │ │ ├── LodgingItemType.cs │ │ ├── LogFile.cs │ │ ├── MerchantAccountStatus.cs │ │ ├── MerchantAccountType.cs │ │ ├── MerchantAccountsSortProperty.cs │ │ ├── MerchantCategory.cs │ │ ├── MerchantInitiatedRequestType.cs │ │ ├── NetGrossIndicator.cs │ │ ├── OperationType.cs │ │ ├── OrderTransactionType.cs │ │ ├── PayByLinkSortProperty.cs │ │ ├── PayByLinkStatus.cs │ │ ├── PayByLinkType.cs │ │ ├── PaymentEntryMode.cs │ │ ├── PaymentMethodFunction.cs │ │ ├── PaymentMethodName.cs │ │ ├── PaymentMethodProgram.cs │ │ ├── PaymentMethodUsageMode.cs │ │ ├── PaymentProvider.cs │ │ ├── PaymentType.cs │ │ ├── PersonFunctions.cs │ │ ├── PhoneNumberType.cs │ │ ├── PreOrderIndicator.cs │ │ ├── PrestigiousPropertyLimit.cs │ │ ├── PriorAuthenticationMethod.cs │ │ ├── ProPayAccountStatus.cs │ │ ├── PromptType.cs │ │ ├── PropayTermsVersion.cs │ │ ├── RecordId.cs │ │ ├── Region.cs │ │ ├── Reinitialize.cs │ │ ├── RemittanceReferenceType.cs │ │ ├── ReorderIndicator.cs │ │ ├── Risk.cs │ │ ├── RiskAssessmentStatus.cs │ │ ├── SafIndicator.cs │ │ ├── SafMode.cs │ │ ├── SdkInterface.cs │ │ ├── SdkUiType.cs │ │ ├── Secure3dStatus.cs │ │ ├── ServiceEndpoints.cs │ │ ├── ServiceType.cs │ │ ├── ShaHashType.cs │ │ ├── ShippingMethod.cs │ │ ├── SortDirection.cs │ │ ├── StatusChangeReason.cs │ │ ├── StoredCredentialInitiator.cs │ │ ├── StoredCredentialReason.cs │ │ ├── StoredCredentialSequence.cs │ │ ├── StoredCredentialType.cs │ │ ├── StoredPaymentMethodSortProperty.cs │ │ ├── StoredPaymentMethodStatus.cs │ │ ├── SuspiciousAccountActivity.cs │ │ ├── TaxCategory.cs │ │ ├── TerminalConfigType.cs │ │ ├── TextFormat.cs │ │ ├── TokenizationFieldMatrix.cs │ │ ├── TokenizationOperationType.cs │ │ ├── TokenizationType.cs │ │ ├── TrackNumber.cs │ │ ├── TransactionSortProperty.cs │ │ ├── TransactionStatus.cs │ │ ├── TransactionType.cs │ │ ├── UCAFIndicator.cs │ │ ├── UDFileType.cs │ │ ├── UcafType.cs │ │ ├── UnitOfMeasure.cs │ │ ├── UpdateResourceFileType.cs │ │ ├── UsableBalanceMode.cs │ │ ├── UserLevelRelationship.cs │ │ ├── UserStatus.cs │ │ ├── UserType.cs │ │ └── VoidReason.cs │ ├── Exceptions.cs │ ├── FileProcessor.cs │ ├── FileUploaded.cs │ ├── FraudManagementResponse.cs │ ├── FraudResponse.cs │ ├── FraudRule.cs │ ├── FraudRuleCollection.cs │ ├── FundsAccountDetails.cs │ ├── FundsData.cs │ ├── GpApi │ │ ├── AccessTokenInfo.cs │ │ ├── GpApiAccount.cs │ │ ├── GpApiEntity.cs │ │ ├── GpApiRequest.cs │ │ ├── GpApiResponse.cs │ │ ├── GpApiSessionInfo.cs │ │ ├── GpApiTokenResponse.cs │ │ ├── InstallmentData.cs │ │ └── PagedResult.cs │ ├── HostedPaymentData.cs │ ├── IInstallmentEntity.cs │ ├── IRecurringEntity.cs │ ├── IRequestBuilder.cs │ ├── Lodging.cs │ ├── Lodging │ │ └── LodgingData.cs │ ├── LodgingItems.cs │ ├── MaskedValueCollection.cs │ ├── MessageExtension.cs │ ├── MobileData.cs │ ├── OnlineBoarding │ │ ├── BoardingApplication.cs │ │ └── BoardingResponse.cs │ ├── OrderDetails.cs │ ├── PayByLinkData.cs │ ├── PayByLinkResponse.cs │ ├── PayFac │ │ ├── AccountPermissions.cs │ │ ├── BankAccountData.cs │ │ ├── BankAccountOwnershipData.cs │ │ ├── BeneficialOwnerData.cs │ │ ├── BusinessData.cs │ │ ├── DeviceData.cs │ │ ├── FlashFundsPaymentCardData.cs │ │ ├── GrossBillingInformation.cs │ │ ├── OrderDevice.cs │ │ ├── OwnersData.cs │ │ ├── PayFacResponseData.cs │ │ ├── RenewAccountData.cs │ │ ├── SignificantOwnerData.cs │ │ ├── ThreatRiskData.cs │ │ ├── UserPersonalData.cs │ │ └── UserReference.cs │ ├── PayerDetails.cs │ ├── PaymentMethodList.cs │ ├── PaymentStatistics.cs │ ├── Payroll │ │ ├── Entities │ │ │ ├── ClientInfo.cs │ │ │ ├── Employee.cs │ │ │ ├── Enums.cs │ │ │ ├── PayrollCollectionItem.cs │ │ │ ├── PayrollData.cs │ │ │ ├── PayrollEntity.cs │ │ │ └── SessionInfo.cs │ │ ├── PayrollEncoder.cs │ │ ├── PayrollRequest.cs │ │ └── PayrollResponse.cs │ ├── Person.cs │ ├── PhoneNumber.cs │ ├── Product.cs │ ├── RecurringEntity.cs │ ├── Reporting │ │ ├── ActionSummary.cs │ │ ├── AltPaymentData.cs │ │ ├── CheckData.cs │ │ ├── DepositSummary.cs │ │ ├── DisputeSummary.cs │ │ ├── MerchantAccountSummary.cs │ │ ├── MerchantSummary.cs │ │ ├── PayByLinkSummary.cs │ │ ├── SearchCriteria.cs │ │ ├── StoredPaymentMethodSummary.cs │ │ └── TransactionSummary.cs │ ├── Request.cs │ ├── RiskAssessment.cs │ ├── SSORequestData.cs │ ├── Schedule.cs │ ├── StoredCredential.cs │ ├── TableService │ │ ├── BaseTableServiceResponse.cs │ │ ├── BumpStatusCollection.cs │ │ ├── LoginResponse.cs │ │ ├── ServerAssignmentResponse.cs │ │ ├── ServerListResponse.cs │ │ ├── ShiftAssignments.cs │ │ ├── TableServiceResponse.cs │ │ └── Ticket.cs │ ├── Terms.cs │ ├── ThirdPartyResponse.cs │ ├── ThreeDSecure.cs │ ├── Transaction.cs │ ├── TransactionApi │ │ ├── Request │ │ │ └── TransactionData.cs │ │ ├── Response │ │ │ ├── CardResponse.cs │ │ │ ├── CheckResponse.cs │ │ │ ├── PaymentResponse.cs │ │ │ └── TransactionResponseDetail.cs │ │ ├── TransactionApiAuthorizationRequestBuilder.cs │ │ ├── TransactionApiEntity.cs │ │ ├── TransactionApiManagementRequestBuilder.cs │ │ ├── TransactionApiReportRequestBuilder.cs │ │ ├── TransactionApiRequest.cs │ │ ├── TransactionApiResponse.cs │ │ ├── TransactionApiSessionInfo.cs │ │ ├── TransactionApiStatusCode.cs │ │ └── TransactionApiTokenResponse.cs │ ├── UPA │ │ ├── Button.cs │ │ ├── GenericData.cs │ │ ├── HostData.cs │ │ ├── MessageLines.cs │ │ ├── PANDetails.cs │ │ ├── POSData.cs │ │ ├── PrintData.cs │ │ ├── ProcessingIndicator.cs │ │ ├── PromptData.cs │ │ ├── PromptMessages.cs │ │ ├── ScanData.cs │ │ ├── ThreeDesDukpt.cs │ │ ├── TrackData.cs │ │ ├── UDData.cs │ │ ├── UpaConfigContent.cs │ │ ├── UpaParam.cs │ │ └── UpaTransactionData.cs │ ├── User.cs │ ├── UserAccount.cs │ └── UserLinks.cs │ ├── Gateways │ ├── AmaryllisConnector.cs │ ├── BillPay │ │ ├── AuthorizationRequest.cs │ │ ├── BillingRequest.cs │ │ ├── GatewayRequestBase.cs │ │ ├── IBillPayRequest.cs │ │ ├── IBillPayResponse.cs │ │ ├── ManagementRequest.cs │ │ ├── RecurringRequest.cs │ │ ├── ReportRequest.cs │ │ ├── Requests │ │ │ ├── BillPayRequestBase.cs │ │ │ ├── ClearLoadedBillsRequest.cs │ │ │ ├── CommitPreloadedBillsRequest.cs │ │ │ ├── CreateCustomerAccountRequest.cs │ │ │ ├── CreateSingleSignOnAccountRequest.cs │ │ │ ├── DeleteCustomerAccountRequest.cs │ │ │ ├── DeleteSingleSignOnAccountRequest.cs │ │ │ ├── GetAchTokenRequest.cs │ │ │ ├── GetConvenienceFeeRequest.cs │ │ │ ├── GetTokenInformationRequest.cs │ │ │ ├── GetTokenRequest.cs │ │ │ ├── GetTransactionByOrderIDRequest.cs │ │ │ ├── LoadSecurePayRequest.cs │ │ │ ├── MakeBlindPaymentRequest.cs │ │ │ ├── MakeBlindPaymentReturnTokenRequest.cs │ │ │ ├── MakePaymentRequest.cs │ │ │ ├── MakePaymentReturnTokenRequest.cs │ │ │ ├── MakeQuickPayBlindPaymentRequest.cs │ │ │ ├── MakeQuickPayBlindPaymentReturnTokenRequest.cs │ │ │ ├── PreloadBillsRequest.cs │ │ │ ├── ReversePaymentRequest.cs │ │ │ ├── UpdateCustomerAccountRequest.cs │ │ │ ├── UpdateSingleSignOnAccountRequest.cs │ │ │ └── UpdateTokenRequest.cs │ │ └── Responses │ │ │ ├── BillPayResponseBase.cs │ │ │ ├── BillingRequestResponse.cs │ │ │ ├── CommitPreloadBillsResponse.cs │ │ │ ├── ConvenienceFeeRequestResponse.cs │ │ │ ├── CreateCustomerAccountResponse.cs │ │ │ ├── CustomerAccountResponse.cs │ │ │ ├── PreloadBillsResponse.cs │ │ │ ├── ReversalResponse.cs │ │ │ ├── SecurePayResponse.cs │ │ │ ├── SingleSignOnAccountResponse.cs │ │ │ ├── TokenInformationRequestResponse.cs │ │ │ ├── TokenRequestResponse.cs │ │ │ ├── TransactionByOrderIDRequestResponse.cs │ │ │ ├── TransactionResponse.cs │ │ │ └── UpdateTokenResponse.cs │ ├── BillPayProvider.cs │ ├── DataServicesConnector.cs │ ├── Events │ │ ├── ConnectionEvent.cs │ │ ├── GatewayEvent.cs │ │ ├── GatewayEventType.cs │ │ └── IGatewayEvent.cs │ ├── Gateway.cs │ ├── GatewayResponse.cs │ ├── GeniusConnector.cs │ ├── Gp3DSProvider.cs │ ├── GpApiConnector.cs │ ├── GpEcomConnector.cs │ ├── HttpClientHandlerBuilder.cs │ ├── Interfaces │ │ ├── IAccessTokenProvider.cs │ │ ├── IBillingProvider.cs │ │ ├── IDeviceCloudService.cs │ │ ├── IFileProcessingService.cs │ │ ├── IFraudCheckService.cs │ │ ├── IInstallmentService.cs │ │ ├── IOpenBankingProvider.cs │ │ ├── IPayFacProvider.cs │ │ ├── IPaymentGateway.cs │ │ ├── IRecurringService.cs │ │ ├── IReportingService.cs │ │ └── ISecure3dProvider.cs │ ├── NWSConnector.cs │ ├── NetworkConnector.cs │ ├── NetworkGateway.cs │ ├── OnlineBoardingConnector.cs │ ├── OpenBankingProvider.cs │ ├── PayPlanConnector.cs │ ├── PayrollConnector.cs │ ├── PorticoConnector.cs │ ├── ProPayConnector.cs │ ├── RestGateway.cs │ ├── TableServiceConnector.cs │ ├── TransactionApiConnector.cs │ ├── TransitConnector.cs │ └── XmlGateway.cs │ ├── GlobalPayments.Api.csproj │ ├── Logging │ ├── IRequestLogger.cs │ └── ProtectSensitiveData.cs │ ├── Mapping │ ├── GpApiMapping.cs │ ├── OpenBankingMapping.cs │ └── TransactionApiMapping.cs │ ├── Network │ ├── Abstractions │ │ ├── IBatchProvider.cs │ │ ├── IDataElement.cs │ │ └── IStanProvider.cs │ ├── Elements │ │ ├── DE103_Check_MICR_Data.cs │ │ ├── DE117_WIC_Data_Field_EA.cs │ │ ├── DE117_WIC_Data_Field_PS.cs │ │ ├── DE117_WIC_Data_Fields.cs │ │ ├── DE123_ReconciliationTotal.cs │ │ ├── DE123_ReconciliationTotals.cs │ │ ├── DE124_SundryData.cs │ │ ├── DE124_SundryEntry.cs │ │ ├── DE127_ForwardingData.cs │ │ ├── DE127_ForwardingDataEntry.cs │ │ ├── DE22_PosDataCode.cs │ │ ├── DE30_OriginalAmounts.cs │ │ ├── DE3_ProcessingCode.cs │ │ ├── DE43_CardAcceptorData.cs │ │ ├── DE44_AdditionalResponseData.cs │ │ ├── DE46_FeeAmounts.cs │ │ ├── DE48_14_PinEncryptionMethodology.cs │ │ ├── DE48_1_CommunicationDiagnostics.cs │ │ ├── DE48_2_HardwareSoftwareConfig.cs │ │ ├── DE48_33_PosConfiguration.cs │ │ ├── DE48_34_MessageConfiguration.cs │ │ ├── DE48_39_PriorMessageInformation.cs │ │ ├── DE48_8_CustomerData.cs │ │ ├── DE48_Address.cs │ │ ├── DE48_MessageControl.cs │ │ ├── DE48_Name.cs │ │ ├── DE54_AdditionalAmount.cs │ │ ├── DE54_AmountsAdditional.cs │ │ ├── DE56_OriginalDataElements.cs │ │ ├── DE62_2_CardIssuerEntry.cs │ │ ├── DE62_CardIssuerData.cs │ │ ├── DE63_ProductData.cs │ │ ├── DE63_ProductDataEntry.cs │ │ ├── DE72_DataRecord.cs │ │ └── EWICData.cs │ ├── Entities │ │ ├── FleetData.cs │ │ ├── NtsData.cs │ │ ├── PriorMessageInformation.cs │ │ ├── ProductData.cs │ │ ├── RecordDataEntry.cs │ │ └── TransactionMatchingData.cs │ ├── Enums │ │ ├── AuthorizerCode.cs │ │ ├── CardDataInputCapability.cs │ │ ├── CardDataOutputCapability.cs │ │ ├── CardHolderAuthenticationCapability.cs │ │ ├── CardHolderAuthenticationEntity.cs │ │ ├── CardHolderAuthenticationMethod.cs │ │ ├── CharacterSet.cs │ │ ├── ConnectionType.cs │ │ ├── DE123_TotalType.cs │ │ ├── DE123_TransactionType.cs │ │ ├── DE124_SundryDataTag.cs │ │ ├── DE127_ForwardingDataTag.cs │ │ ├── DE22_CardDataInputMode.cs │ │ ├── DE22_CardHolderPresence.cs │ │ ├── DE22_CardPresence.cs │ │ ├── DE25_MessageReasonCode.cs │ │ ├── DE39_ActionCode.cs │ │ ├── DE3_AccountType.cs │ │ ├── DE3_TransactionType.cs │ │ ├── DE44_ActionReasonCode.cs │ │ ├── DE48_AddressType.cs │ │ ├── DE48_AddressUsage.cs │ │ ├── DE48_AdministrativelyDirectedTaskCode.cs │ │ ├── DE48_CardType.cs │ │ ├── DE48_ConnectionResult.cs │ │ ├── DE48_CustomerDataType.cs │ │ ├── DE48_EncryptionAlgorithmDataCode.cs │ │ ├── DE48_HostConnected.cs │ │ ├── DE48_KeyManagementDataCode.cs │ │ ├── DE48_NameFormat.cs │ │ ├── DE48_NameType.cs │ │ ├── DE54_AccountType.cs │ │ ├── DE54_AmountTypeCode.cs │ │ ├── DE62_C00_2_VerificationType.cs │ │ ├── DE62_CardIssuerEntryTag.cs │ │ ├── DataElementId.cs │ │ ├── DataElementType.cs │ │ ├── DebitAuthorizerCode.cs │ │ ├── EncryptionType.cs │ │ ├── FallbackCode.cs │ │ ├── FeeType.cs │ │ ├── Iso4217_CurrencyCode.cs │ │ ├── Iso8583MessageType.cs │ │ ├── MessageType.cs │ │ ├── NetworkGatewayType.cs │ │ ├── NetworkProcessingFlag.cs │ │ ├── NetworkResponseCode.cs │ │ ├── NetworkResponseCodeOrigin.cs │ │ ├── NetworkTransactionType.cs │ │ ├── OperatingEnvironment.cs │ │ ├── PinCaptureCapability.cs │ │ ├── ProductCode.cs │ │ ├── ProductCodeSet.cs │ │ ├── ProductDataFormat.cs │ │ ├── ProtocolType.cs │ │ ├── ServiceLevel.cs │ │ ├── TerminalOutputCapability.cs │ │ └── UnitOfMeasure.cs │ ├── Iso8583Bitmap.cs │ ├── Iso8583Element.cs │ ├── Iso8583ElementFactory.cs │ ├── NetworkMessage.cs │ └── NetworkMessageHeader.cs │ ├── PaymentMethods │ ├── AccountFunds.cs │ ├── AlternativePaymentMethod.cs │ ├── BNPL.cs │ ├── BankPayment.cs │ ├── Cash.cs │ ├── Credit.cs │ ├── CreditCardData.cs │ ├── CreditTrackData.cs │ ├── Debit.cs │ ├── DebitTrackData.cs │ ├── EBT.cs │ ├── EBTCardData.cs │ ├── EBTTrackData.cs │ ├── Ewic.cs │ ├── EwicCardData.cs │ ├── EwicTrackData.cs │ ├── GiftCard.cs │ ├── Installment.cs │ ├── PaymentInterfaces │ │ ├── IAuthable.cs │ │ ├── IBalancable.cs │ │ ├── ICardData.cs │ │ ├── IChargable.cs │ │ ├── IEditable.cs │ │ ├── IEncryptable.cs │ │ ├── INotificationData.cs │ │ ├── IPaymentMethod.cs │ │ ├── IPinProtected.cs │ │ ├── IPrePayable.cs │ │ ├── IRefundable.cs │ │ ├── IReversable.cs │ │ ├── ISecure3d.cs │ │ ├── ITokenizable.cs │ │ ├── ITrackData.cs │ │ ├── IVerifiable.cs │ │ └── IVoidable.cs │ ├── RecurringPaymentMethod.cs │ ├── TransactionReference.cs │ └── eCheck.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── ServiceConfigs │ ├── AcceptorConfig.cs │ ├── BillPayConfig.cs │ ├── BoardingConfig.cs │ ├── Configuration.cs │ ├── Gateways │ │ ├── AcceptorConfig.cs │ │ ├── GatewayConfig.cs │ │ ├── GeniusConfig.cs │ │ ├── GpApiConfig.cs │ │ ├── GpEcomConfig.cs │ │ ├── PorticoConfig.cs │ │ ├── TransactionApiConfig.cs │ │ └── TransitConfig.cs │ ├── HostedPaymentConfig.cs │ ├── NetworkGatewayConfig.cs │ ├── PayrollConfig.cs │ ├── ServicesConfig.cs │ └── TableServiceConfig.cs │ ├── Services │ ├── AdminService.cs │ ├── BatchService.cs │ ├── BillPayService.cs │ ├── BoardingService.cs │ ├── CheckService.cs │ ├── CreditService.cs │ ├── DebitService.cs │ ├── DeviceCloudService.cs │ ├── DeviceService.cs │ ├── EbtService.cs │ ├── FileProcessingService.cs │ ├── FraudService.cs │ ├── GiftService.cs │ ├── GpApiService.cs │ ├── HostedService.cs │ ├── InstallmentService.cs │ ├── PayByLinkService.cs │ ├── PayFacService.cs │ ├── PayrollService.cs │ ├── RecurringService.cs │ ├── ReportingService.cs │ ├── Secure3dService.cs │ ├── TableService.cs │ └── TransitService.cs │ ├── ServicesContainer.cs │ ├── Terminals │ ├── Abstractions │ │ ├── IBatchClearResponse.cs │ │ ├── IBatchCloseResponse.cs │ │ ├── IBatchReportResponse.cs │ │ ├── ICardBrandSummary.cs │ │ ├── IDeviceCommInterface.cs │ │ ├── IDeviceInterface.cs │ │ ├── IDeviceMessage.cs │ │ ├── IDeviceResponse.cs │ │ ├── IDeviceScreen.cs │ │ ├── IEODResponse.cs │ │ ├── IInitializeResponse.cs │ │ ├── IRequestIdProvider.cs │ │ ├── IRequestSubGroup.cs │ │ ├── IResponseSubGroup.cs │ │ ├── ISAFResponse.cs │ │ ├── ISafDeleteFileResponse.cs │ │ ├── ISafParamsResponse.cs │ │ ├── ISafSummaryReport.cs │ │ ├── ISafUploadResponse.cs │ │ └── ISignatureResponse.cs │ ├── Builders │ │ ├── HpaAdminBuilder.cs │ │ ├── TerminalAuthBuilder.cs │ │ ├── TerminalBuilder.cs │ │ ├── TerminalManageBuilder.cs │ │ └── TerminalReportBuilder.cs │ ├── ConnectionConfig.cs │ ├── ControlCodes.cs │ ├── DeviceController.cs │ ├── DeviceInterface.cs │ ├── DeviceMessage.cs │ ├── DeviceResponse.cs │ ├── Diamond │ │ ├── DiamondController.cs │ │ ├── Entities │ │ │ ├── DiamondCloudRequest.cs │ │ │ └── Enums │ │ │ │ ├── AuthorizationMethod.cs │ │ │ │ ├── AuthorizationType.cs │ │ │ │ ├── CardSource.cs │ │ │ │ ├── DiamondCloudSearchCriteria.cs │ │ │ │ ├── DiamondCloudTransactionType.cs │ │ │ │ └── TransactionResult.cs │ │ ├── Interfaces │ │ │ ├── DiamondHttpInterface.cs │ │ │ └── DiamondInterface.cs │ │ └── Responses │ │ │ └── DiamondCloudResponse.cs │ ├── DiamondCloudConfig.cs │ ├── Enums │ │ ├── HostDecision.cs │ │ ├── MerchantDecision.cs │ │ ├── ReportOutPut.cs │ │ ├── SummaryType.cs │ │ └── TerminalReportType.cs │ ├── Extensions │ │ ├── BinaryReaderExtensions.cs │ │ ├── BitConverterExtensions.cs │ │ ├── ListExtensions.cs │ │ └── NetworkStreamExtensions.cs │ ├── Genius │ │ ├── Builders │ │ │ └── MitcManageBuilder.cs │ │ ├── Enums │ │ │ ├── MitcRequestType.cs │ │ │ └── TransactionIdType.cs │ │ ├── GeniusController.cs │ │ ├── GeniusInterface.cs │ │ ├── Interfaces │ │ │ ├── GeniusHttpInterface.cs │ │ │ └── MitcGateway.cs │ │ ├── Request │ │ │ └── GeniusMitcRequest.cs │ │ ├── Responses │ │ │ └── MitcResponse.cs │ │ └── ServiceConfigs │ │ │ └── MitcConfig.cs │ ├── HPA │ │ ├── HpaController.cs │ │ ├── HpaEnums.cs │ │ ├── HpaFileUpload.cs │ │ ├── HpaInterface.cs │ │ ├── Interfaces │ │ │ └── HpaTcpInterface.cs │ │ └── Responses │ │ │ ├── BatchReportResponse.cs │ │ │ ├── BatchResponse.cs │ │ │ ├── CardBrandSummary.cs │ │ │ ├── EODResponse.cs │ │ │ ├── HeartBeatResponse.cs │ │ │ ├── InitializeResponse.cs │ │ │ ├── SAFResponse.cs │ │ │ ├── SignatureResponse.cs │ │ │ ├── SipBaseResponse.cs │ │ │ ├── SipDeviceResponse.cs │ │ │ ├── SipKvpResponse.cs │ │ │ └── SipSendFileResponse.cs │ ├── Messaging │ │ ├── BroadcastMessageEventHandler.cs │ │ ├── MessageReceivedEventHandler.cs │ │ └── MessageSentEventHandler.cs │ ├── PAX │ │ ├── Interfaces │ │ │ ├── PaxHttpInterface.cs │ │ │ └── PaxTcpInterface.cs │ │ ├── PaxController.cs │ │ ├── PaxEnums.cs │ │ ├── PaxInterface.cs │ │ ├── Responses │ │ │ ├── BatchClearResponse.cs │ │ │ ├── BatchCloseResponse.cs │ │ │ ├── CashResponse.cs │ │ │ ├── CheckResponse.cs │ │ │ ├── CreditResponse.cs │ │ │ ├── DebitResponse.cs │ │ │ ├── DeviceResponse.cs │ │ │ ├── EbtResponse.cs │ │ │ ├── GiftResponse.cs │ │ │ ├── InitializeResponse.cs │ │ │ ├── LocalDetailReport.cs │ │ │ ├── ResetResponse.cs │ │ │ ├── SafDeleteFileResponse.cs │ │ │ ├── SafParamsResponse.cs │ │ │ ├── SafSummaryReport.cs │ │ │ ├── SafUploadResponse.cs │ │ │ └── SignatureResponse.cs │ │ └── SubGroups │ │ │ ├── AccountSubGroups.cs │ │ │ ├── AmountSubGroups.cs │ │ │ ├── AvsSubGroups.cs │ │ │ ├── CashierSubGroup.cs │ │ │ ├── CheckSubGroup.cs │ │ │ ├── CommercialSubGroups.cs │ │ │ ├── EcomSubGroup.cs │ │ │ ├── ExtDataSubGroups.cs │ │ │ ├── HostSubGroup.cs │ │ │ └── TraceSubGroups.cs │ ├── SummaryResponse.cs │ ├── TerminalUtilities.cs │ ├── UPA │ │ ├── Interfaces │ │ │ ├── UpaMicInterface.cs │ │ │ └── UpaTcpInterface.cs │ │ ├── Responses │ │ │ ├── BatchList.cs │ │ │ ├── BatchRecordResponse.cs │ │ │ ├── BatchReportResponse.cs │ │ │ ├── BatchTransactionResponse.cs │ │ │ ├── OpenTab.cs │ │ │ ├── OpenTabDetailsResponse.cs │ │ │ ├── PinDUKPTResponse.cs │ │ │ ├── SafReportResponse.cs │ │ │ ├── TransactionResponse.cs │ │ │ ├── UDScreenResponse.cs │ │ │ ├── UPAResponseHandler.cs │ │ │ ├── UpaEODResponse.cs │ │ │ ├── UpaGiftCardResponse.cs │ │ │ ├── UpaSAFResponse.cs │ │ │ └── UpaSignatureResponse.cs │ │ ├── UpaController.cs │ │ ├── UpaInterface.cs │ │ ├── UpaMessageType.cs │ │ ├── UpaSearchCriteria.cs │ │ └── UpaTransType.cs │ └── ValidationRequest.cs │ └── Utils │ ├── CardUtils.cs │ ├── CountryUtils.cs │ ├── ElementTree.cs │ ├── EmvData.cs │ ├── EmvUtils.cs │ ├── EnumUtils.cs │ ├── EventLogger.cs │ ├── Extensions.cs │ ├── FormDataUtils.cs │ ├── GenerationUtils.cs │ ├── IRawRequestBuilder.cs │ ├── JsonUtils.cs │ ├── Logging │ ├── RequestConsoleLogger.cs │ └── RequestFileLogger.cs │ ├── MessageReader.cs │ ├── MessageWriter.cs │ ├── NetworkMessageBuilder.cs │ ├── StringParser.cs │ ├── StringUtils.cs │ ├── TlvData.cs │ └── TransitRequestBuilder.cs └── tests └── GlobalPayments.Api.Tests ├── BatchProvider.cs ├── BillPay └── BillPayTests.cs ├── BuilderValidationTests.cs ├── CardUtilsTests.cs ├── Certifications ├── Portico │ ├── AutoSubCertification.cs │ ├── CheckCertification.cs │ ├── EcomCertification.cs │ ├── EcomCheckCertification.cs │ ├── LodgingCertification.cs │ ├── MotoCertification.cs │ ├── MotoCheckCertification.cs │ ├── RecurringCertification.cs │ └── RetailCertification.cs └── TransIT │ ├── TransitBaseTestClass.cs │ ├── TransitEcom.cs │ ├── TransitEcomTokens.cs │ └── TransitMoto.cs ├── CountryUtilsTests.cs ├── FileProcessing ├── FileProcessingClient.cs └── FilesToUpload │ ├── 202310261147-Create-Token-Tokenization-FPR-1000records.csv.encrypted.txt │ └── 202310261147CreateToken-TokenizationFPR-new.csv.encrypted.txt ├── GenerationUtilsTests.cs ├── Genius └── GeniusTests.cs ├── GlobalPayments.Api.Tests.csproj ├── GpApi ├── BaseGpApiReportingTest.cs ├── BaseGpApiTests.cs ├── Certification │ └── GpApiSdkCertificationTest.cs ├── Client │ └── GpApi3DSecureAcsClient.cs ├── FileProcessingTest.cs ├── FraudManagementTest.cs ├── GpApi3DSTestCards.cs ├── GpApi3DSecure2Test.cs ├── GpApi3DSecureTest.cs ├── GpApiAchTest.cs ├── GpApiApmTest.cs ├── GpApiAuthenticationTest.cs ├── GpApiAvsCheckTestCards.cs ├── GpApiBNPLTest.cs ├── GpApiBatchTest.cs ├── GpApiCreateInstallmentTest.cs ├── GpApiCreditCardNotPresentTest.cs ├── GpApiCreditCardPresentTest.cs ├── GpApiCreditWithMerchantIdTest.cs ├── GpApiDccCardNotPresentTest.cs ├── GpApiDebitTest.cs ├── GpApiDigitalWalletTest.cs ├── GpApiDisputeTest.cs ├── GpApiEbtTest.cs ├── GpApiInstallmentTests.cs ├── GpApiMappingTest.cs ├── GpApiMerchantAccountsTest.cs ├── GpApiMerchantsOnboardTest.cs ├── GpApiMultipleConfigTests.cs ├── GpApiOpenBankingTest.cs ├── GpApiPayByLinkTest.cs ├── GpApiPayerTest.cs ├── GpApiReportingActionsTest.cs ├── GpApiReportingDepositsTest.cs ├── GpApiReportingDisputesTest.cs ├── GpApiReportingStoredPaymentMethodsTest.cs ├── GpApiReportingTransactionsTest.cs ├── GpApiRiskAssessmentTest.cs ├── GpApiTokenManagementErrorTest.cs └── GpApiTokenManagementTest.cs ├── GpEcom ├── Certification │ ├── GpEcomSdkCertificationTest.cs │ └── JsonComparatorTest.cs ├── GpEcom3dSecureTests.cs ├── GpEcomApmTest.cs ├── GpEcomCreditTest.cs ├── GpEcomDataServiceReportingTest.cs ├── GpEcomHppRequestTest.cs ├── GpEcomHppResponseTest.cs ├── GpEcomOpenBankingTest.cs ├── GpEcomRecurringTest.cs ├── GpEcomReportingTest.cs ├── GpEcomSecure3dServiceExemptionTest.cs ├── GpEcomSecure3dServiceTest.cs └── Hpp │ └── RealexHppClient.cs ├── JsonComparator.cs ├── Logging ├── CustomWebProxy.cs └── TransitCertLogger.cs ├── Network ├── Certification │ ├── ContactLessEMVTests.cs │ └── VoyagerEMVTests.cs ├── NWSAdministrativeTests.cs ├── NWSAvsTests.cs ├── NWSBatchTests.cs ├── NWSCheckTests.cs ├── NWSCombined3DesTokenizationTest.cs ├── NWSCreditTests.cs ├── NWSCvnTests.cs ├── NWSDebitTests.cs ├── NWSDebitTokenizationTests.cs ├── NWSEMVTests.cs ├── NWSEbtTests.cs ├── NWSEcomCardOnFileTests.cs ├── NWSEncryption3DesTests.cs ├── NWSEncryptionTests.cs ├── NWSEwicTests.cs ├── NWSFleetTests.cs ├── NWSGiftTests.cs ├── NWSIcrTests.cs ├── NWSPanTests.cs ├── NWSRegressionCreditTests.cs ├── NWSTimeoutTests.cs ├── NWSTokenizationTest.cs ├── NWSWexEMVTests.cs └── NWSWexTests.cs ├── OnlineBoarding └── OnlineBoardingTests.cs ├── Payroll └── PayrollTests.cs ├── Portico ├── PorticoAchTests.cs ├── PorticoAutoSubTests.cs ├── PorticoCreditTests.cs ├── PorticoDebitTests.cs ├── PorticoEbtTests.cs ├── PorticoEcommerceTests.cs ├── PorticoGiftTests.cs ├── PorticoInteracTests.cs ├── PorticoLevel2And3Tests.cs ├── PorticoRecurringTests.cs ├── PorticoReportingTests.cs └── PorticoTokenManagement.cs ├── ProPay ├── GetInformationTests.cs ├── ProPayAccountTests.cs ├── ProPayFundsTests.cs ├── ProPayInNetworkTransactionTests.cs └── TestData │ ├── TestAccountData.cs │ ├── TestDoc.docx │ ├── TestDocChargeback.docx │ ├── TestFundsData.cs │ └── testCertificate.crt ├── Properties └── AssemblyInfo.cs ├── Services ├── CheckServiceTests.cs ├── CreditServiceTests.cs ├── DebitServiceTests.cs ├── EbtServiceTests.cs └── GiftServiceTests.cs ├── StanGenerator.cs ├── TableService └── TableServiceTests.cs ├── Terminals ├── DiamondCloud │ └── DiamondCloudTest.cs ├── Genius │ └── GeniusCreditTests.cs ├── HPA │ ├── HpaAdminTests.cs │ ├── HpaCreditTests.cs │ ├── HpaDebitTests.cs │ ├── HpaEbtTests.cs │ ├── HpaEndOfDayTests.cs │ ├── HpaGiftTests.cs │ ├── HpaMessageTests.cs │ └── VRF │ │ └── VerificationTests.cs ├── Pax │ ├── PaxAdminTests.cs │ ├── PaxAsyncTests.cs │ ├── PaxBatchTests.cs │ ├── PaxCreditTests.cs │ ├── PaxDebitTests.cs │ ├── PaxEbtTests.cs │ ├── PaxGiftTests.cs │ ├── PaxLevel2Tests.cs │ ├── PaxMessageTests.cs │ └── PaxReportTests.cs ├── RequestIdProviders.cs └── UPA │ ├── FileExamples │ ├── UDDataFile.html │ ├── download.png │ ├── example.html │ └── example.jpg │ ├── UpaAdminTests.cs │ ├── UpaCreditTests.cs │ ├── UpaDebitTests.cs │ ├── UpaEbtTests.cs │ ├── UpaMicTests.cs │ └── UpaReportTests.cs ├── TestData ├── TestCards.cs ├── TestChecks.cs └── mt30_ad1.zip ├── ThreadSafeTests.cs ├── TransIT ├── TransitAuthenticationTests.cs ├── TransitCreditTests.cs └── TransitDebitTests.cs ├── TransactionApi ├── CARegion │ ├── TransactionApiAchCATests.cs │ └── TransactionApiCreditCATests.cs └── USRegion │ ├── TransactionApiAchTests.cs │ └── TransactionApiCreditTests.cs └── Utils └── ExtensionsTests.cs /.travis.yml: -------------------------------------------------------------------------------- 1 | language: csharp 2 | 3 | sudo: false 4 | branches: 5 | only: 6 | - master 7 | 8 | mono: none 9 | dotnet: 2.1.502 10 | 11 | addons: 12 | apt: 13 | packages: 14 | - doxygen 15 | 16 | install: 17 | - dotnet restore 18 | 19 | script: 20 | - doxygen Doxyfile 21 | 22 | deploy: 23 | local-dir: docs/html 24 | provider: pages 25 | skip-cleanup: true 26 | github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable 27 | keep-history: true 28 | on: 29 | branch: master 30 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/App_Start/BundleConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Optimization; 6 | using System.Web.UI; 7 | 8 | namespace end_to_end 9 | { 10 | public class BundleConfig 11 | { 12 | // For more information on Bundling, visit https://go.microsoft.com/fwlink/?LinkID=303951 13 | public static void RegisterBundles(BundleCollection bundles) 14 | { 15 | 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/App_Start/RouteConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Web; 4 | using System.Web.Routing; 5 | using Microsoft.AspNet.FriendlyUrls; 6 | 7 | namespace end_to_end 8 | { 9 | public static class RouteConfig 10 | { 11 | public static void RegisterRoutes(RouteCollection routes) 12 | { 13 | var settings = new FriendlyUrlSettings(); 14 | settings.AutoRedirectMode = RedirectMode.Permanent; 15 | routes.EnableFriendlyUrls(settings); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Authorization.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" CodeBehind="Authorization.ashx.cs" Class="end_to_end.Authorization" %> 2 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Bundle.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/ChallengeNotificationUrl.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" CodeBehind="ChallengeNotificationUrl.ashx.cs" Class="end_to_end.ChallengeNotificationUrl" %> 2 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Check3dsVersion.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" CodeBehind="Check3dsVersion.ashx.cs" Class="end_to_end.Check3dsVersion" %> 2 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Content/Site.css: -------------------------------------------------------------------------------- 1 | /* Move down content because we have a fixed navbar that is 50px tall */ 2 | body { 3 | padding-top: 50px; 4 | padding-bottom: 20px; 5 | } 6 | 7 | /* Wrapping element */ 8 | /* Set some basic padding to keep content from hitting the edges */ 9 | .body-content { 10 | padding-left: 15px; 11 | padding-right: 15px; 12 | } 13 | 14 | /* Set widths on the form inputs since otherwise they're 100% wide */ 15 | input, 16 | select, 17 | textarea { 18 | max-width: 280px; 19 | } 20 | 21 | 22 | /* Responsive: Portrait tablets and up */ 23 | @media screen and (min-width: 768px) { 24 | .jumbotron { 25 | margin-top: 20px; 26 | } 27 | 28 | .body-content { 29 | padding: 0; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Content/styles.css: -------------------------------------------------------------------------------- 1 | .container { 2 | background-color: #f2f2f2; 3 | padding: 5px 20px 15px 20px; 4 | border: 1px solid lightgrey; 5 | border-radius: 10px; 6 | max-width: 500px; 7 | margin-left: auto; 8 | margin-right: auto; 9 | } 10 | 11 | iframe[id^="secure-payment-field"] { 12 | min-height: 66px !important; 13 | } 14 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Default.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | 11 | namespace end_to_end 12 | { 13 | public partial class _Default 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="end_to_end.Global" Language="C#" %> 2 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Global.asax.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.Optimization; 6 | using System.Web.Routing; 7 | using System.Web.Security; 8 | using System.Web.SessionState; 9 | 10 | namespace end_to_end 11 | { 12 | public class Global : HttpApplication 13 | { 14 | void Application_Start(object sender, EventArgs e) 15 | { 16 | // Code that runs on application startup 17 | RouteConfig.RegisterRoutes(RouteTable.Routes); 18 | BundleConfig.RegisterBundles(BundleTable.Bundles); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/InitiateAuthentication.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" CodeBehind="InitiateAuthentication.ashx.cs" Class="end_to_end.InitiateAuthentication" %> 2 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/MethodNotificationUrl.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" CodeBehind="MethodNotificationUrl.ashx.cs" Class="end_to_end.MethodNotificationUrl" %> 2 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/Site.Mobile.Master.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace end_to_end 9 | { 10 | public partial class Site_Mobile : System.Web.UI.MasterPage 11 | { 12 | protected void Page_Load(object sender, EventArgs e) 13 | { 14 | 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/ViewSwitcher.ascx: -------------------------------------------------------------------------------- 1 | <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewSwitcher.ascx.cs" Inherits="end_to_end.ViewSwitcher" %> 2 |
3 | <%: CurrentView %> view | Switch to <%: AlternateView %> 4 |
-------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/ViewSwitcher.ascx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | namespace end_to_end { 11 | 12 | 13 | public partial class ViewSwitcher { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/gpapi/end-to-end/end-to-end/favicon.ico -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/gpapi/end-to-end/end-to-end/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Models/OrderDetails.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Models { 2 | public class OrderDetails { 3 | public string Token_value { get; set; } 4 | public string FirstName { get; set; } 5 | public string LastName { get; set; } 6 | public string Email { get; set; } 7 | public string Address { get; set; } 8 | public string City { get; set; } 9 | public string State { get; set; } 10 | public string Zip { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Models/SuccessModel.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Models { 2 | public class SuccessModel { 3 | public string FirstName { get; set; } 4 | public string TransactionId { get; set; } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Program.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Hosting; 2 | using Microsoft.Extensions.Hosting; 3 | 4 | namespace GlobalPayments { 5 | public class Program { 6 | public static void Main(string[] args) { 7 | CreateHostBuilder(args).Build().Run(); 8 | } 9 | 10 | public static IHostBuilder CreateHostBuilder(string[] args) => 11 | Host.CreateDefaultBuilder(args) 12 | .ConfigureWebHostDefaults(webBuilder => { 13 | webBuilder.UseStartup(); 14 | }); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:33141/", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "end_to_end": { 19 | "commandName": "Project", 20 | "launchBrowser": true, 21 | "environmentVariables": { 22 | "ASPNETCORE_ENVIRONMENT": "Development" 23 | }, 24 | "applicationUrl": "http://localhost:33142" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Error"; 3 | } 4 | 5 |

Error.

6 |

An error occurred while processing your request.

7 | 8 |

Development Mode

9 |

10 | Swapping to Development environment will display more detailed information about the error that occurred. 11 |

12 |

13 | Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. 14 |

15 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | @ViewData["Title"] - end_to_end 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | @RenderBody() 17 |
18 | 19 | @RenderSection("Scripts", required: false) 20 | 21 | 22 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using GlobalPayments 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "IncludeScopes": false, 4 | "LogLevel": { 5 | "Default": "Debug", 6 | "System": "Information", 7 | "Microsoft": "Information" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "IncludeScopes": false, 4 | "LogLevel": { 5 | "Default": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "asp.net", 3 | "private": true, 4 | "dependencies": { 5 | "bootstrap": "3.3.7", 6 | "jquery": "2.2.0", 7 | "jquery-validation": "1.14.0", 8 | "jquery-validation-unobtrusive": "3.2.6" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/bundleconfig.json: -------------------------------------------------------------------------------- 1 | // Configure bundling and minification for the project. 2 | // More info at https://go.microsoft.com/fwlink/?LinkId=808241 3 | [ 4 | { 5 | "outputFileName": "wwwroot/css/site.min.css", 6 | // An array of relative input file paths. Globbing patterns supported 7 | "inputFiles": [ 8 | "wwwroot/css/site.css" 9 | ] 10 | }, 11 | { 12 | "outputFileName": "wwwroot/js/site.min.js", 13 | "inputFiles": [ 14 | "wwwroot/js/site.js" 15 | ], 16 | // Optionally specify minification options 17 | "minify": { 18 | "enabled": true, 19 | "renameLocals": true 20 | }, 21 | // Optionally generate .map file 22 | "sourceMap": false 23 | } 24 | ] 25 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/libman.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "defaultProvider": "jsdelivr", 4 | "libraries": [ 5 | { 6 | "library": "bootstrap@4.6.1", 7 | "destination": "wwwroot/lib/bootstrap/", 8 | "files": [ 9 | "dist/js/bootstrap.min.js", 10 | "dist/js/bootstrap.js", 11 | "dist/css/bootstrap.css", 12 | "dist/css/bootstrap.min.css" 13 | ] 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/css/site.min.css: -------------------------------------------------------------------------------- 1 | body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}input,select,textarea{max-width:280px}.carousel-caption p{font-size:20px;line-height:1.4}.carousel-inner .item img[src$=".svg"]{width:100%}@media screen and (max-width:767px){.carousel-caption{display:none}} -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/mvc/end-to-end/end-to-end/wwwroot/favicon.ico -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Write your Javascript code. 2 | -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/mvc/end-to-end/end-to-end/wwwroot/js/site.min.js -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/lib/bootstrap/dist/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /examples/mvc/end-to-end/end-to-end/wwwroot/lib/jquery/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery", 3 | "main": "dist/jquery.js", 4 | "license": "MIT", 5 | "ignore": [ 6 | "package.json" 7 | ], 8 | "keywords": [ 9 | "jquery", 10 | "javascript", 11 | "browser", 12 | "library" 13 | ], 14 | "homepage": "https://github.com/jquery/jquery-dist", 15 | "version": "2.2.0", 16 | "_release": "2.2.0", 17 | "_resolution": { 18 | "type": "version", 19 | "tag": "2.2.0", 20 | "commit": "6fc01e29bdad0964f62ef56d01297039cdcadbe5" 21 | }, 22 | "_source": "git://github.com/jquery/jquery-dist.git", 23 | "_target": "2.2.0", 24 | "_originalSource": "jquery" 25 | } -------------------------------------------------------------------------------- /examples/selfboarding/BoardingAPI/TestBoardingAPI/TestBoardingAPI/Models/CompletedApplication.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace TestBoardingAPI.Models { 4 | public class CompletedApplication { 5 | public int Id { get; set; } 6 | public string Status { get; set; } 7 | public DateTime SubmittedDate { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /examples/terminals/heartland-payment-app/TestTerminalApp/TestTerminalApp/TestTerminalApp.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Exe 5 | netcoreapp1.1 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/webforms/end-to-end/.nuget/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/webforms/end-to-end/.nuget/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/webforms/end-to-end/.nuget/NuGet.exe -------------------------------------------------------------------------------- /examples/webforms/end-to-end/.nuget/NuGet.exe.old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/globalpayments/dotnet-sdk/ebd66f11a30531581a2eb4f3a346ec39dd56f470/examples/webforms/end-to-end/.nuget/NuGet.exe.old -------------------------------------------------------------------------------- /examples/webforms/end-to-end/Default.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | namespace end_to_end { 11 | 12 | 13 | public partial class Default { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /examples/webforms/end-to-end/css/response.css: -------------------------------------------------------------------------------- 1 | body { 2 | } 3 | .btn { 4 | TOP: 120px; 5 | box-sizing: border-box; 6 | font-size: 14px; 7 | font-weight: 400; 8 | text-align: center; 9 | white-space: nowrap; 10 | color: #ffffff; 11 | background-color: #36b46e; 12 | font-family: sans-serif; 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Builders/BaseBuilder.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities; 2 | 3 | namespace GlobalPayments.Api.Builders { 4 | public abstract class BaseBuilder { 5 | internal Validations Validations { get; set; } 6 | 7 | public BaseBuilder() { 8 | Validations = new Validations(); 9 | SetupValidations(); 10 | } 11 | 12 | public virtual TResult Execute(string configName = "default") { 13 | Validations.Validate(this); 14 | return default(TResult); 15 | } 16 | 17 | public virtual TResult Execute(Secure3dVersion version, string configName = "default") 18 | { 19 | Validations.Validate(this); 20 | return default(TResult); 21 | } 22 | 23 | protected virtual void SetupValidations() { } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/AdditionalTaxDetails.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public class AdditionalTaxDetails { 3 | public decimal? TaxAmount { get; set; } 4 | public TaxCategory? TaxCategory { get; set; } 5 | public decimal? TaxRate { get; set; } 6 | public string TaxType { get; set; } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/BNPLResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class BNPLResponse 8 | { 9 | public string ProviderName { get; set; } 10 | 11 | /// 12 | /// URL to redirect the customer, sent so merchant can redirect consumer to complete the payment. 13 | /// 14 | public string RedirectUrl { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Billing/BillingResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Billing { 6 | public class BillingResponse { 7 | /// 8 | /// Indicates if the action was succesful 9 | /// 10 | internal bool IsSuccessful { get; set; } 11 | 12 | /// 13 | /// The response code from the Billing Gateway 14 | /// 15 | public string ResponseCode { get; set; } 16 | 17 | /// 18 | /// The response message from the Billing Gateway 19 | /// 20 | public string ResponseMessage { get; set; } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Billing/ConvenienceFeeResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Billing { 6 | public class ConvenienceFeeResponse : BillingResponse { 7 | public decimal ConvenienceFee { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Billing/Credentials.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Billing { 6 | internal class Credentials { 7 | public string ApiKey { get; set; } 8 | public string MerchantName { get; set; } 9 | public string Password { get; set; } 10 | public string UserName { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Billing/LoadHostedPaymentResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Billing { 6 | public class LoadHostedPaymentResponse : BillingResponse { 7 | /// 8 | /// Unique identifier for the hosted payment page 9 | /// 10 | public string PaymentIdentifier { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Billing/LoadSecurePayResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Billing { 6 | public class LoadSecurePayResponse: BillingResponse { 7 | public string PaymentIdentifier { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Billing/TokenData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Billing { 6 | public class TokenData { 7 | public DateTime LastUsedDateUTC { get; set; } 8 | public bool IsExpired { get; set; } 9 | public bool ShareTokenWithGroup { get; set; } 10 | public List Merchants { get; set; } = null; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Billing/TokenResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Billing { 6 | public class TokenResponse: BillingResponse { 7 | public string Token { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/BlockedCardType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class BlockedCardType 8 | { 9 | public bool? Consumerdebit { get; set; } 10 | public bool? Consumercredit { get; set; } 11 | public bool? Commercialcredit { get; set; } 12 | public bool? Commercialdebit { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/BrowserData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities { 6 | public class BrowserData { 7 | public string AcceptHeader { get; set; } 8 | public ColorDepth ColorDepth { get; set; } 9 | public string IpAddress { get; set; } 10 | public bool JavaEnabled { get; set; } 11 | public bool JavaScriptEnabled { get; set; } 12 | public string Language { get; set; } 13 | public int ScreenHeight { get; set; } 14 | public int ScreenWidth { get; set; } 15 | public ChallengeWindowSize ChallengeWindowSize { get; set; } 16 | public string Timezone { get; set; } 17 | public string UserAgent { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/CheckResponseErrorMessage.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities 2 | { 3 | public class CheckResponseErrorMessage 4 | { 5 | public string RspMessage { get; set; } 6 | public string Type { get; set; } 7 | public string Code { get; set; } 8 | public string Message { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/CustomerDocument.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities 7 | { 8 | public class CustomerDocument 9 | { 10 | public string Reference { get; set; } 11 | public string Issuer { get; set; } 12 | public CustomerDocumentType Type { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/DebitMac.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public class DebitMac { 3 | public string TransactionCode { get; set; } 4 | public string TransmissionNumber { get; set; } 5 | public string BankResponseCode { get; set; } 6 | public string MacKey { get; set; } 7 | public string PinKey { get; set; } 8 | public string FieldKey { get; set; } 9 | public string TraceNumber { get; set; } 10 | public string MessageAuthenticationCode { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/DiscountDetails.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public class DiscountDetails { 3 | public string DiscountName { get; set; } 4 | public decimal? DiscountAmount { get; set; } 5 | public decimal? DiscountPercentage { get; set; } 6 | public string DiscountType { get; set; } 7 | public int DiscountPriority { get; set; } 8 | public bool DiscountIsStackable { get; set; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/DisputeDocument.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public class DisputeDocument : Document 5 | { 6 | [JsonProperty("type")] 7 | public string Type { get; set; } 8 | 9 | [JsonProperty("b64_content")] 10 | public string Base64Content { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Document.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities.Enums; 2 | using Newtonsoft.Json; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | namespace GlobalPayments.Api.Entities 8 | { 9 | public class Document 10 | { 11 | [JsonProperty("id")] 12 | public string Id { get; set; } 13 | public string Name { get; set; } 14 | public string Status { get; set; } 15 | public string TimeCreated { get; set; } 16 | public FileType Format { get; set; } 17 | public DocumentCategory Category { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/AcquisitionType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum AcquisitionType { 5 | [Map(Target.UPA, "None")] 6 | None, 7 | [Map(Target.UPA, "Contact")] 8 | Contact, 9 | [Map(Target.UPA, "Contactless")] 10 | Contactless, 11 | [Map(Target.UPA, "Swipe")] 12 | Swipe, 13 | [Map(Target.UPA, "Manual")] 14 | Manual, 15 | [Map(Target.UPA, "Scan")] 16 | Scan, 17 | [Map(Target.UPA, "Insert")] 18 | Insert, 19 | [Map(Target.UPA, "Tap")] 20 | Tap 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ActionSortProperty.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum ActionSortProperty { 6 | [Map(Target.GP_API, "TIME_CREATED")] 7 | TimeCreated, 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/AdvancedDepositType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum AdvancedDepositType { 3 | ASSURED_RESERVATION, 4 | CARD_DEPOSIT, 5 | PURCHASE, 6 | OTHER 7 | } 8 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/AgeIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum AgeIndicator { 3 | NO_ACCOUNT, 4 | NO_CHANGE, 5 | THIS_TRANSACTION, 6 | LESS_THAN_THIRTY_DAYS, 7 | THIRTY_TO_SIXTY_DAYS, 8 | MORE_THEN_SIXTY_DAYS 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/AuthenticationSource.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum AuthenticationSource { 3 | BROWSER, 4 | STORED_RECURRING, 5 | MOBILE_SDK, 6 | MERCHANT_INITIATED, 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/BNPLShippingMethod.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public enum BNPLShippingMethod { 8 | DELIVERY, 9 | COLLECTION, 10 | EMAIL 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/BNPLType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | [MapTarget(Target.GP_API)] 9 | public enum BNPLType { 10 | [Map(Target.GP_API, "AFFIRM")] 11 | AFFIRM, 12 | 13 | [Map(Target.GP_API, "CLEARPAY")] 14 | CLEARPAY, 15 | 16 | [Map(Target.GP_API, "KLARNA")] 17 | KLARNA 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/BankPaymentType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum BankPaymentType { 8 | FASTERPAYMENTS, 9 | SEPA 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/BillPresentment.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | /// 3 | /// The Presentment Status of a bill 4 | /// Will default to Full if not set 5 | /// 6 | public enum BillPresentment { 7 | Full 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/BillingLoadType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum BillingLoadType { 3 | None, 4 | Bills, 5 | SecurePayment 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/BlockCardType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | public enum BlockCardType 9 | { 10 | [Description("consumercredit")] 11 | CONSUMER_CREDIT, 12 | [Description("consumerdebit")] 13 | CONSUMER_DEBIT, 14 | [Description("commercialdebit")] 15 | COMMERCIAL_DEBIT, 16 | [Description("commercialcredit")] 17 | COMMERCIAL_CREDIT 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/CardTypeFilter.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum CardTypeFilter { 5 | [Map(Target.UPA, "GIFT")] 6 | GIFT, 7 | [Map(Target.UPA, "VISA")] 8 | VISA, 9 | [Map(Target.UPA, "MC")] 10 | MC, 11 | [Map(Target.UPA, "AMEX")] 12 | AMEX, 13 | [Map(Target.UPA, "DISCOVER")] 14 | DISCOVER 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ChallengeRequestIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum ChallengeRequestIndicator { 3 | NO_PREFERENCE, 4 | NO_CHALLENGE_REQUESTED, 5 | CHALLENGE_PREFERRED, 6 | CHALLENGE_MANDATED, 7 | NO_CHALLENGE_REQUESTED_TRANSACTION_RISK_ANALYSIS_PERFORMED, 8 | NO_CHALLENGE_REQUESTED_DATA_SHARE_ONLY, 9 | NO_CHALLENGE_REQUESTED_SCA_ALREADY_PERFORMED, 10 | NO_CHALLENGE_REQUESTED_WHITELIST, 11 | CHALLENGE_REQUESTED_PROMPT_FOR_WHITELIST 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/Channel.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum Channel { 6 | [Map(Target.GP_API, "CP")] 7 | CardPresent, 8 | 9 | [Map(Target.GP_API, "CNP")] 10 | CardNotPresent 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/CommercialIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum CommercialIndicator { 3 | Level_II, 4 | Level_III 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/CountryCodeFormat.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities 2 | { 3 | public enum CountryCodeFormat { 4 | Alpha2, 5 | Alpha3, 6 | Numeric, 7 | Name 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/CreditDebitIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum CreditDebitIndicator { 3 | Debit, 4 | Credit 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/CustomerAuthenticationMethod.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum CustomerAuthenticationMethod { 3 | NOT_AUTHENTICATED, 4 | MERCHANT_SYSTEM_AUTHENTICATION, 5 | FEDERATED_ID_AUTHENTICATION, 6 | ISSUER_CREDENTIAL_AUTHENTICATION, 7 | THIRD_PARTY_AUTHENTICATION, 8 | FIDO_AUTHENTICATION 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/CustomerDocumentType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum CustomerDocumentType { 8 | NATIONAL, 9 | CPF, 10 | CPNJ, 11 | CURP, 12 | SSN, 13 | DRIVER_LICENSE, 14 | PASSPORT 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DccProcessor.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum DccProcessor { 3 | None = 0, 4 | Fexco, 5 | Euroconex 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DccRateType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum DccRateType { 3 | None = 0, 4 | Sale, 5 | Refund 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DebugLevel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | [Flags] 5 | public enum DebugLevel { 6 | NOLOGS = 0, 7 | ERROR = 1, 8 | WARNING = 2, 9 | FLOW = 4, 10 | MESSAGE = 8, 11 | DATA = 16, 12 | PACKETS = 32, 13 | PIA = 64, 14 | PERF = 128 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DebugLogsOutput.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum DebugLogsOutput { 3 | CONSOLE = 0, 4 | FILE = 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DecoupledFlowRequest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum DecoupledFlowRequest { 8 | DECOUPLED_PREFERRED, 9 | DO_NOT_USE_DECOUPLED 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DeliveryTimeFrame.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum DeliveryTimeFrame { 3 | ELECTRONIC_DELIVERY, 4 | SAME_DAY, 5 | OVERNIGHT, 6 | TWO_DAYS_OR_MORE 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DepositSortProperty.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum DepositSortProperty { 6 | [Map(Target.GP_API, "TIME_CREATED")] 7 | TimeCreated, 8 | 9 | [Map(Target.GP_API, "STATUS")] 10 | Status, 11 | 12 | [Map(Target.GP_API, "TYPE")] 13 | Type, 14 | 15 | [Map(Target.GP_API, "DEPOSIT_ID")] 16 | DepositId 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DepositStatus.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum DepositStatus { 6 | [Map(Target.GP_API, "FUNDED")] 7 | Funded, 8 | 9 | [Map(Target.GP_API, "SPLIT_FUNDING")] 10 | SplitFunding, 11 | 12 | [Map(Target.GP_API, "DELAYED")] 13 | Delayed, 14 | 15 | [Map(Target.GP_API, "RESERVED")] 16 | Reserved, 17 | 18 | [Map(Target.GP_API, "IRREG")] 19 | Irregular, 20 | 21 | [Map(Target.GP_API, "RELEASED")] 22 | Released 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DisplayOption.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum DisplayOption { 3 | NoScreenChange = 0, 4 | ReturnToIdleScreen = 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DisputeStatus.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum DisputeStatus { 6 | [Map(Target.GP_API, "UNDER_REVIEW")] 7 | UnderReview, 8 | 9 | [Map(Target.GP_API, "WITH_MERCHANT")] 10 | WithMerchant, 11 | 12 | [Map(Target.GP_API, "CLOSED")] 13 | Closed, 14 | 15 | //Only for Settlement disputes 16 | [Map(Target.GP_API, "FUNDED")] 17 | Funded 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/DocumentCategory.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | public enum DocumentCategory 9 | { 10 | [Map(Target.GP_API, "IDENTITY_VERIFICATION")] 11 | IDENTITY_VERIFICATION, 12 | [Map(Target.GP_API, "RISK_REVIEW")] 13 | RISK_REVIEW, 14 | [Map(Target.GP_API, "UNDERWRITING")] 15 | UNDERWRITING, 16 | 17 | VERIFICATION 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/EmvFallbackCondition.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum EmvFallbackCondition { 5 | [Map(Target.Transit, "ICC_TERMINAL_ERROR")] 6 | ChipReadFailure, 7 | 8 | [Map(Target.Transit, "NO_CANDIDATE_LIST")] 9 | NoCandidateList 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/EmvLastChipRead.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum EmvLastChipRead { 5 | [Map(Target.Transit, "SUCCESSFUL")] 6 | [Map(Target.Portico, "CHIP_FAILED_PREV_SUCCESS")] 7 | [Map(Target.GP_API, "PREV_SUCCESS")] 8 | Successful, 9 | 10 | [Map(Target.Transit, "FAILED")] 11 | [Map(Target.Portico, "CHIP_FAILED_PREV_FAILED")] 12 | [Map(Target.GP_API, "PREV_FAILED")] 13 | Failed, 14 | 15 | [Map(Target.Transit, "NOT_A_CHIP_TRANSACTION")] 16 | NotAChipTransaction, 17 | 18 | [Map(Target.Transit, "UNKNOWN")] 19 | Unknown 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/EncryptedFieldMatrix.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum EncryptedFieldMatrix { 5 | [Map(Target.NWS, "1")] 6 | Track1, 7 | [Map(Target.NWS, "2")] 8 | Track2, 9 | [Map(Target.NWS, "3")] 10 | Pan, 11 | [Map(Target.NWS, "03")] 12 | CustomerData, 13 | [Map(Target.NWS, "04")] 14 | CustomerDataCSV 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ExemptReason.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum ExemptReason { 3 | APPLY_EXEMPTION, 4 | CONTINUE, 5 | FORCE_SECURE, 6 | BLOCK 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ExemptStatus.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum ExemptStatus { 3 | LOW_VALUE, 4 | TRANSACTION_RISK_ANALYSIS, 5 | TRUSTED_MERCHANT, 6 | SECURE_CORPORATE_PAYMENT, 7 | SCA_DELEGATION 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ExtraChargeType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum ExtraChargeType { 3 | Restaurant = 1, 4 | GiftShop = 2, 5 | MiniBar = 3, 6 | Telephone = 4, 7 | Laundry = 5, 8 | Other = 10 9 | } 10 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/FileProcessingActionType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum FileProcessingActionType { 3 | CREATE_UPLOAD_URL = 1, 4 | GET_DETAILS = 2 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/FileType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum FileType { 8 | TIF, 9 | TIFF, 10 | BMP, 11 | JPG, 12 | JPEG, 13 | GIF, 14 | PNG, 15 | DOC, 16 | DOCX 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/FraudFilterResult.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | public enum FraudFilterResult { 9 | [Map(Target.GP_API, "PENDING_REVIEW")] 10 | HOLD, 11 | 12 | [Map(Target.GP_API, "ACCEPTED")] 13 | PASS, 14 | 15 | [Map(Target.GP_API, "REJECTED")] 16 | BLOCK, 17 | 18 | [Map(Target.GP_API, "NOT_EXECUTED")] 19 | NOT_EXECUTED, 20 | 21 | [Map(Target.GP_API, "ERROR")] 22 | ERROR, 23 | 24 | [Map(Target.GP_API, "RELEASE_SUCCESSFUL")] 25 | RELEASE_SUCCESSFUL, 26 | 27 | [Map(Target.GP_API, "HOLD_SUCCESSFUL")] 28 | HOLD_SUCCESSFUL 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/FundsStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum FundsStatus { 8 | CAPTURED, 9 | DECLINE 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/GatewayProvider.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum GatewayProvider { 3 | Portico, 4 | GP_API, 5 | GP_Ecom, 6 | Genius, 7 | TransIT, 8 | TransactionApi 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/HostedPaymentType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | /// 3 | /// Specifies the Bill Pay Hosted Payment Type 4 | /// 5 | public enum HostedPaymentType { 6 | None, 7 | MakePayment, 8 | MakePaymentReturnToken, 9 | GetToken, 10 | MyAccount 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/InputAlignment.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum InputAlignment { 5 | [Description("LR")] 6 | LEFT_TO_RIGHT, 7 | [Description("RL")] 8 | RIGHT_TO_LEFT 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/IntervalToExpire.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum IntervalToExpire { 6 | [Map(Target.GP_API, "WEEK")] 7 | WEEK, 8 | 9 | [Map(Target.GP_API, "DAY")] 10 | DAY, 11 | 12 | [Map(Target.GP_API, "12_HOURS")] 13 | TWELVE_HOURS, 14 | 15 | [Map(Target.GP_API, "6_HOURS")] 16 | SIX_HOURS, 17 | 18 | [Map(Target.GP_API, "3_HOURS")] 19 | THREE_HOURS, 20 | 21 | [Map(Target.GP_API, "1_HOUR")] 22 | ONE_HOUR, 23 | 24 | [Map(Target.GP_API, "30_MINUTES")] 25 | THIRTY_MINUTES, 26 | 27 | [Map(Target.GP_API, "10_MINUTES")] 28 | TEN_MINUTES, 29 | 30 | [Map(Target.GP_API, "5_MINUTES")] 31 | FIVE_MINUTES 32 | } 33 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/Language.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum Language { 6 | [Map(Target.GP_API, "EN")] 7 | English, 8 | 9 | [Map(Target.GP_API, "ES")] 10 | Spanish 11 | } 12 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/LodgingItemType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum LodgingItemType { 8 | RESTAURANT, 9 | GIFT_SHOP, 10 | MINI_BAR, 11 | PHONE, 12 | LAUNDRY, 13 | OTHER, 14 | NO_SHOW 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/LogFile.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum LogFile { 5 | [Description("Debuglog1.log")] 6 | Debuglog1 = 1, 7 | [Description("Debuglog2.log")] 8 | Debuglog2 = 2, 9 | [Description("Debuglog3.log")] 10 | Debuglog3 = 3 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/MerchantAccountStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum MerchantAccountStatus { 8 | ACTIVE, 9 | INACTIVE 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/MerchantAccountType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum MerchantAccountType { 8 | TRANSACTION_PROCESSING, 9 | DATA_SERVICES, 10 | DISPUTE_MANAGEMENT, 11 | MERCHANT_MANAGEMENT, 12 | TOKENIZATION, 13 | FUND_MANAGEMENT, 14 | RISK_ASSESSMENT 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/MerchantAccountsSortProperty.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | [MapTarget(Target.GP_API)] 9 | public enum MerchantAccountsSortProperty { 10 | [Map(Target.GP_API, "TIME_CREATED")] 11 | TIME_CREATED 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/MerchantCategory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum MerchantCategory { 8 | HOTEL, 9 | AIRLINE, 10 | RETAIL, 11 | TOP_UP, 12 | PLAYER, 13 | CD_KEY, 14 | OTHER 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/MerchantInitiatedRequestType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum MerchantInitiatedRequestType { 3 | RECURRING_TRANSACTION, 4 | INSTALLMENT_TRANSACTION, 5 | ADD_CARD, 6 | MAINTAIN_CARD_INFORMATION, 7 | ACCOUNT_VERIFICATION, 8 | SPLIT_OR_DELAYED_SHIPMENT, 9 | TOP_UP, 10 | MAIL_ORDER, 11 | TELEPHONE_ORDER, 12 | WHITELIST_STATUS_CHECK, 13 | OTHER_PAYMENT, 14 | BILLING_AGREEMENT 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/NetGrossIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum NetGrossIndicator { 3 | Net, 4 | Gross 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/OperationType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum OperationType { 5 | [Map(Target.NWS, "1")] 6 | Reserved, 7 | [Map(Target.NWS, "2")] 8 | Decrypt 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/OrderTransactionType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum OrderTransactionType { 3 | GOODS_SERVICE_PURCHASE, 4 | CHECK_ACCEPTANCE, 5 | ACCOUNT_FUNDING, 6 | QUASI_CASH_TRANSACTION, 7 | PREPAID_ACTIVATION_AND_LOAD 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PayByLinkSortProperty.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | [MapTarget(Target.GP_API)] 9 | public enum PayByLinkSortProperty { 10 | [Map(Target.GP_API, "TIME_CREATED")] 11 | TimeCreated 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PayByLinkStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum PayByLinkStatus { 8 | ACTIVE, 9 | INACTIVE, 10 | CLOSED, 11 | EXPIRED, 12 | PAID 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PayByLinkType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum PayByLinkType { 8 | PAYMENT, 9 | HOSTED_PAYMENT_PAGE, 10 | THIRD_PARTY_PAGE 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PaymentEntryMode.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum PaymentEntryMode { 6 | [Map(Target.GP_API, "CHIP")] 7 | Chip, 8 | 9 | [Map(Target.GP_API, "CONTACTLESS_CHIP")] 10 | ContactlessChip, 11 | 12 | [Map(Target.GP_API, "CONTACTLESS_SWIPE")] 13 | ContactlessSwipe, 14 | 15 | [Map(Target.GP_API, "ECOM")] 16 | Ecom, 17 | 18 | [Map(Target.GP_API, "IN_APP")] 19 | InApp, 20 | 21 | [Map(Target.GP_API, "MANUAL")] 22 | Manual, 23 | 24 | [Map(Target.GP_API, "MOTO")] 25 | Moto, 26 | 27 | [Map(Target.GP_API, "SWIPE")] 28 | Swipe 29 | } 30 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PaymentMethodFunction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | public enum PaymentMethodFunction { 9 | [Description("PRIMARY_PAYOUT")] 10 | PRIMARY_PAYOUT, 11 | 12 | [Description("SECONDARY_PAYOUT")] 13 | SECONDARY_PAYOUT, 14 | 15 | [Description("ACCOUNT_ACTIVATION_FEE")] 16 | ACCOUNT_ACTIVATION_FEE 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PaymentMethodName.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum PaymentMethodName { 6 | [Map(Target.GP_API, "APM")] 7 | APM, 8 | 9 | [Map(Target.GP_API, "DIGITAL WALLET")] 10 | DigitalWallet, 11 | 12 | [Map(Target.GP_API, "CARD")] 13 | Card, 14 | 15 | [Map(Target.GP_API, "BANK_TRANSFER")] 16 | BankTransfer, 17 | 18 | [Map(Target.GP_ECOM, "BANK PAYMENT")] 19 | [Map(Target.GP_API, "BANK PAYMENT")] 20 | BankPayment, 21 | 22 | [Map(Target.GP_API, "BNPL")] 23 | BNPL 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PaymentMethodProgram.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum PaymentMethodProgram { 8 | ASSURED_RESERVATION, 9 | CARD_DEPOSIT, 10 | PURCHASE, 11 | OTHER 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PaymentMethodUsageMode.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum PaymentMethodUsageMode { 5 | [Map(Target.GP_API, "SINGLE")] 6 | Single, 7 | 8 | [Map(Target.GP_API, "MULTIPLE")] 9 | Multiple 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PaymentProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum PaymentProvider { 8 | OPEN_BANKING 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PaymentType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum PaymentType { 6 | [Map(Target.GP_API, "REFUND")] 7 | Refund, 8 | 9 | [Map(Target.GP_API, "SALE")] 10 | Sale 11 | } 12 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PersonFunctions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum PersonFunctions { 8 | APPLICANT, 9 | BENEFICIAL_OWNER, 10 | PAYMENT_METHOD_OWNER 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PhoneNumberType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum PhoneNumberType { 3 | Home, 4 | Work, 5 | Shipping, 6 | Mobile 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PreOrderIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum PreOrderIndicator { 3 | MERCHANDISE_AVAILABLE, 4 | FUTURE_AVAILABILITY 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PrestigiousPropertyLimit.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum PrestigiousPropertyLimit { 3 | LIMIT_500, 4 | LIMIT_1000, 5 | LIMIT_1500, 6 | NOT_PARTICIPATING 7 | } 8 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PriorAuthenticationMethod.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum PriorAuthenticationMethod { 3 | FRICTIONLESS_AUTHENTICATION, 4 | CHALLENGE_OCCURRED, 5 | AVS_VERIFIED, 6 | OTHER_ISSUER_METHOD 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ProPayAccountStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum ProPayAccountStatus { 8 | ReadyToProcess, 9 | FraudAccount, 10 | RiskwiseDeclined, 11 | Hold, 12 | Canceled, 13 | FraudVictim, 14 | ClosedEula, 15 | ClosedExcessiveChargeback 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PromptType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum PromptType { 3 | MENU = 1, 4 | OPTIONS = 2 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/PropayTermsVersion.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum PropayTermsVersion { 3 | MerchantUS = 1, 4 | PaymentUS = 2, 5 | MerchantCA = 3, 6 | MerchantUK = 4, 7 | MerchantAU = 5 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/RecordId.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum RecordId { 5 | [Map(Target.GP_API, "E3")] 6 | E3_Encryption, 7 | [Map(Target.NWS, "3D")] 8 | [Map(Target.GP_API, "3D")] 9 | Encryption_3DE, 10 | [Map(Target.NWS, "TD")] 11 | [Map(Target.GP_API, "TD")] 12 | Tokenization_TD 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/Region.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum Region { 3 | US, 4 | CA, 5 | AU, 6 | NZ, 7 | UK, 8 | EU 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/Reinitialize.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum Reinitialize { 3 | ReinitializeApplication = 1, 4 | NoReinitializeApplication = 0 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/RemittanceReferenceType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum RemittanceReferenceType { 8 | TEXT, 9 | PAN 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ReorderIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum ReorderIndicator { 3 | FIRST_TIME_ORDER, 4 | REORDER 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/Risk.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum Risk { 5 | High, 6 | Low 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/RiskAssessmentStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum RiskAssessmentStatus { 8 | ACCEPTED, 9 | REJECTED, 10 | CHALLENGE, 11 | PENDING_REVIEW 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/SafIndicator.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums 2 | { 3 | public enum SafIndicator 4 | { 5 | NEWLY_STORED_TRANSACTIONS, 6 | FAILED_TRANSACTIONS, 7 | ALL_TRANSACTIONS 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/SafMode.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums 2 | { 3 | public enum SafMode 4 | { 5 | STAY_ONLINE, 6 | STAY_OFFLINE, 7 | OFFLINE_TILL_BATCH, 8 | OFFLINE_ONDEMAND_OR_AUTO 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/SdkInterface.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum SdkInterface { 3 | NATIVE, 4 | BROWSER, 5 | BOTH 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/SdkUiType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System.ComponentModel; 3 | 4 | namespace GlobalPayments.Api.Entities 5 | { 6 | public enum SdkUiType { 7 | [Map(Target.GP_API, "TEXT")] 8 | TEXT, 9 | [Map(Target.GP_API, "SINGLE_SELECT")] 10 | SINGLE_SELECT, 11 | [Map(Target.GP_API, "MULTI_SELECT")] 12 | MULTI_SELECT, 13 | [Map(Target.GP_API, "OUT_OF_BAND")] 14 | OOB, 15 | [Map(Target.GP_API, "HTML_OTHER")] 16 | HTML_OTHER 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/Secure3dStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum Secure3dStatus { 8 | SUCCESS_AUTHENTICATED, 9 | SUCCESS_ATTEMPT_MADE, 10 | NOT_AUTHENTICATED, 11 | FAILED, 12 | NOT_ENROLLED, 13 | AVAILABLE, 14 | ENROLLED, 15 | CHALLENGE_REQUIRED 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ServiceType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum ServiceType { 5 | [Map(Target.NWS, "G")] 6 | GPN_API, 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ShaHashType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum ShaHashType { 8 | SHA1, 9 | SHA256, 10 | SHA512 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/ShippingMethod.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum ShippingMethod { 5 | BILLING_ADDRESS, 6 | ANOTHER_VERIFIED_ADDRESS, 7 | UNVERIFIED_ADDRESS, 8 | SHIP_TO_STORE, 9 | DIGITAL_GOODS, 10 | TRAVEL_AND_EVENT_TICKETS, 11 | OTHER 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/SortDirection.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum SortDirection { 6 | [Map(Target.GP_API, "ASC")] 7 | Ascending, 8 | 9 | [Map(Target.GP_API, "DESC")] 10 | Descending 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/StatusChangeReason.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum StatusChangeReason { 8 | ACTIVE, 9 | CLOSED_BY_MERCHANT, 10 | CLOSED_BY_RISK, 11 | APPLICATION_DENIED, 12 | PENDING_REVIEW, 13 | PENDING_MERCHANT_CONSENT, 14 | PENDING_IDENTITY_VALIDATION, 15 | PENDING_IDENTITY_VALIDATION_AND_PAYMENT, 16 | PENDING_PAYMENT, 17 | UNKNOWN_STATUS, 18 | REMOVE_PARTNERSHIP 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/StoredCredentialInitiator.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.Portico)] 5 | public enum StoredCredentialInitiator { 6 | [Map(Target.Portico, "C")] 7 | [Map(Target.GP_API, "PAYER")] 8 | [Map(Target.UPA, "C")] 9 | CardHolder, 10 | [Map(Target.Portico, "M")] 11 | [Map(Target.GP_API, "MERCHANT")] 12 | [Map(Target.UPA, "M")] 13 | Merchant, 14 | Scheduled 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/StoredCredentialReason.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum StoredCredentialReason { 5 | [Map(Target.GP_API, "INCREMENTAL")] 6 | Incremental, 7 | [Map(Target.GP_API, "RESUBMISSION")] 8 | Resubmission, 9 | [Map(Target.GP_API, "REAUTHORIZATION")] 10 | Reauthorization, 11 | [Map(Target.GP_API, "DELAYED")] 12 | Delayed, 13 | [Map(Target.GP_API, "NO_SHOW")] 14 | NoShow 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/StoredCredentialSequence.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum StoredCredentialSequence { 5 | [Map(Target.GP_API, "FIRST")] 6 | First, 7 | [Map(Target.GP_API, "SUBSEQUENT")] 8 | Subsequent, 9 | [Map(Target.GP_API, "LAST")] 10 | Last 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/StoredCredentialType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum StoredCredentialType { 5 | OneOff, 6 | [Map(Target.GP_API, "INSTALLMENT")] 7 | Installment, 8 | [Map(Target.GP_API, "RECURRING")] 9 | Recurring, 10 | [Map(Target.GP_API, "UNSCHEDULED")] 11 | Unscheduled, 12 | [Map(Target.GP_API, "SUBSCRIPTION")] 13 | Subscription, 14 | [Map(Target.GP_API, "MAINTAIN_PAYMENT_METHOD")] 15 | MaintainPaymentMethod, 16 | [Map(Target.GP_API, "MAINTAIN_PAYMENT_VERIFICATION")] 17 | MaintainPaymentVerification 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/StoredPaymentMethodSortProperty.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum StoredPaymentMethodSortProperty { 6 | [Map(Target.GP_API, "TIME_CREATED")] 7 | TimeCreated 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/StoredPaymentMethodStatus.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | [MapTarget(Target.GP_API)] 5 | public enum StoredPaymentMethodStatus { 6 | [Map(Target.GP_API, "ACTIVE")] 7 | Active 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/SuspiciousAccountActivity.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum SuspiciousAccountActivity { 3 | SUSPICIOUS_ACTIVITY, 4 | NO_SUSPICIOUS_ACTIVITY 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/TaxCategory.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum TaxCategory { 5 | [Map(Target.Transit, "SERVICE")] 6 | Service, 7 | 8 | [Map(Target.Transit, "DUTY")] 9 | Duty, 10 | 11 | [Map(Target.Transit, "VAT")] 12 | VAT, 13 | 14 | [Map(Target.Transit, "ALTERNATE")] 15 | Alternate, 16 | 17 | [Map(Target.Transit, "NATIONAL")] 18 | National, 19 | 20 | [Map(Target.Transit, "TAX_EXEMPT")] 21 | TaxExempt 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/TerminalConfigType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum TerminalConfigType { 3 | ContactTerminalConfiguration = 1, 4 | ContactCardDataConfiguration = 2, 5 | ContactCAPK = 3, 6 | ContactlessTerminalConfiguration = 4, 7 | ContactlessCardDataConfiguration = 5, 8 | ContactlessCAPK = 6, 9 | AIDList = 7, 10 | ModifyAIDs = 8 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/TextFormat.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum TextFormat { 3 | Numeric, 4 | Password, 5 | Alphanumeric 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/TokenizationFieldMatrix.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum TokenizationFieldMatrix { 5 | [Map(Target.NWS, "1")] 6 | AccountNumber, 7 | [Map(Target.NWS, "2")] 8 | TokenizedData 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/TokenizationOperationType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum TokenizationOperationType { 5 | [Map(Target.NWS, "1")] 6 | Tokenize, 7 | [Map(Target.NWS, "2")] 8 | DeTokenize, 9 | [Map(Target.NWS, "3")] 10 | DeleteToken, 11 | [Map(Target.NWS, "4")] 12 | UpdateToken 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/TokenizationType.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Enums { 4 | public enum TokenizationType { 5 | [Map(Target.NWS, "1")] 6 | GlobalTokenization, 7 | [Map(Target.NWS, "2")] 8 | MerchantTokenization 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/TrackNumber.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum TrackNumber { 3 | Unknown, 4 | TrackOne, 5 | TrackTwo, 6 | BothOneAndTwo, 7 | PAN 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UCAFIndicator.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum UCAFIndicator { 5 | [Map(Target.Transit, "0")] 6 | NotSupported, 7 | 8 | [Map(Target.Transit, "1")] 9 | MerchantOnly, 10 | 11 | [Map(Target.Transit, "2")] 12 | FullyAuthenticated, 13 | 14 | [Map(Target.Transit, "5")] 15 | IssuerRiskBased, 16 | 17 | [Map(Target.Transit, "6")] 18 | MerchantRiskBased, 19 | 20 | [Map(Target.Transit, "7")] 21 | PartialShipmentIncremental 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UDFileType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums { 2 | public enum UDFileType { 3 | HTML5, 4 | IMG, 5 | MOV 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UcafType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum UCAFType { 3 | 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UnitOfMeasure.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum UnitOfMeasure { 3 | Pound 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UpdateResourceFileType.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.Enums 2 | { 3 | public enum UpdateResourceFileType 4 | { 5 | RESOURCE_FILE, 6 | OFFLINE_RKI_KEY_FILE, 7 | INSTALLATION_PAKAGE, 8 | LICENSE_FILE 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UsableBalanceMode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum UsableBalanceMode { 8 | AVAILABLE_BALANCE, 9 | AVAILABLE_AND_PENDING_BALANCE 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UserLevelRelationship.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum UserLevelRelationship { 8 | SELF, 9 | ACCOUNTS 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UserStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.Enums 6 | { 7 | public enum UserStatus { 8 | ACTIVE, 9 | INACTIVE, 10 | UNDER_REVIEW, 11 | DECLINED 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/UserType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Enums 7 | { 8 | public enum UserType { 9 | [Description("MERCHANT")] 10 | MERCHANT 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Enums/VoidReason.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public enum VoidReason { 5 | [Map(Target.Transit, "POST_AUTH_USER_DECLINE")] 6 | PostAuth_UserDeclined, 7 | 8 | [Map(Target.Transit, "DEVICE_TIMEOUT")] 9 | DeviceTimeout, 10 | 11 | [Map(Target.Transit, "DEVICE_UNAVAILABLE")] 12 | DeviceUnavailable, 13 | 14 | [Map(Target.Transit, "PARTIAL_REVERSAL")] 15 | PartialReversal, 16 | 17 | [Map(Target.Transit, "TORN_TRANSACTIONS")] 18 | TornTransactions, 19 | 20 | [Map(Target.Transit, "POST_AUTH_CHIP_DECLINE")] 21 | PostAuth_ChipDecline 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/FileProcessor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public class FileProcessor { 5 | public string ResourceId { get; set; } 6 | public string UploadUrl { get; set; } 7 | public string ExpirationDate { get; set; } 8 | public string Status { get; set; } 9 | public string CreatedDate { get; set; } 10 | public string TotalRecordCount { get; set; } 11 | public string ResponseCode { get; set; } 12 | public string ResponseMessage { get; set; } 13 | public List FilesUploaded { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/FileUploaded.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class FileUploaded 8 | { 9 | public string FileId { get; set; } 10 | public string FileName { get; set; } 11 | public string TimeCreated { get; set; } 12 | public string Url { get; set; } 13 | public string ExpirationDate { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/FraudResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class FraudResponse 8 | { 9 | public class Rule 10 | { 11 | public String Name { get; set; } 12 | public String Id { get; set; } 13 | public String Action { get; set; } 14 | } 15 | 16 | public FraudFilterMode mode { get; set; } 17 | public String Result { get; set; } 18 | public List Rules { get; set; } 19 | 20 | public FraudResponse() 21 | { 22 | Rules = new List(); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/FraudRule.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class FraudRule 8 | { 9 | public string Key { get; set; } 10 | public FraudFilterMode Mode { get; set; } 11 | public string Description { get; set; } 12 | public string result { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/FraudRuleCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class FraudRuleCollection 8 | { 9 | public List Rules { get; set; } 10 | 11 | public FraudRuleCollection() 12 | { 13 | Rules = new List(); 14 | } 15 | 16 | public void AddRule(string key, FraudFilterMode mode) 17 | { 18 | if (hasRule(key)) 19 | return; 20 | 21 | Rules.Add(new FraudRule 22 | { 23 | Key = key, 24 | Mode = mode 25 | }); 26 | } 27 | 28 | private bool hasRule(string key) 29 | { 30 | return Rules.Exists(x => x.Key == key); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/FundsAccountDetails.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class FundsAccountDetails { 8 | public string Id { get; set; } 9 | public string Status { get; set; } 10 | public string TimeCreated { get; set; } 11 | public string TimeLastUpdated { get; set; } 12 | public decimal? Amount { get; set; } 13 | public string Reference { get; set; } 14 | public string Description { get; set; } 15 | public string Currency { get; set; } 16 | public string PaymentMethodType { get; set; } 17 | public string PaymentMethodName { get; set; } 18 | public UserAccount Account { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/FundsData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class FundsData 8 | { 9 | public string MerchantId { get; set; } 10 | public string RecipientAccountId { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/GpApi/GpApiAccount.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | internal class GpApiAccount { 3 | public string Id { get; set; } 4 | public string Name { get; set; } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/GpApi/GpApiEntity.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public abstract class GpApiEntity { 5 | internal abstract void FromJson(JsonDoc doc); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/GpApi/PagedResult.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public class PagedResult { 5 | public int TotalRecordCount { get; set; } 6 | public int PageSize { get; set; } 7 | public int Page { get; set; } 8 | public string Order { get; set; } 9 | public string OrderBy { get; set; } 10 | public List Results { get; set; } 11 | 12 | public PagedResult() { 13 | Results = new List(); 14 | } 15 | 16 | public void Add(T item) { 17 | Results.Add(item); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/IInstallmentEntity.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.PaymentMethods; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities { 7 | public interface IInstallmentEntity { 8 | Installment Create(string configName); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/IRecurringEntity.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | /// 3 | /// Base interface for recurring resource types. 4 | /// 5 | public interface IRecurringEntity { 6 | /// 7 | /// All resource should be supplied a merchant-/application-defined ID. 8 | /// 9 | string Id { get; set; } 10 | 11 | /// 12 | /// All resources should be supplied a gateway-defined ID. 13 | /// 14 | string Key { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/IRequestBuilder.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Builders; 2 | using GlobalPayments.Api.Entities; 3 | using GlobalPayments.Api.Gateways; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Text; 7 | 8 | namespace GlobalPayments.Api.Gateways 9 | { 10 | internal interface IRequestBuilder { 11 | Request BuildRequest(T builder, GpApiConnector gateway); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/LodgingItems.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class LodgingItems 8 | { 9 | public string Types { get; set; } 10 | public string Reference { get; set; } 11 | public string TotalAmount { get; set; } 12 | public string[] paymentMethodProgramCodes { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/MessageExtension.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | using System.Collections; 6 | 7 | namespace GlobalPayments.Api.Entities { 8 | public class MessageExtension 9 | { 10 | public string CriticalityIndicator { get; set; } 11 | public string MessageExtensionData { get; set; } 12 | public string MessageExtensionId { get; set; } 13 | public string MessageExtensionName { get; set; } 14 | } 15 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/OnlineBoarding/BoardingResponse.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.OnlineBoarding { 2 | public class BoardingResponse { 3 | public int? ApplicationId { get; set; } 4 | public string Message { get; set; } 5 | public bool HasSignatureLink { get { return !string.IsNullOrEmpty(SignatureUrl); } } 6 | public string SignatureUrl { get; set; } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/OrderDetails.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | using System; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities { 6 | public class OrderDetails { 7 | public decimal? InsuranceAmount { get; set; } 8 | public bool HasInsurance { get; set; } 9 | public decimal? HandlingAmount { get; set; } 10 | public string Description { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PayFac/BankAccountOwnershipData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.PayFac 6 | { 7 | public class BankAccountOwnershipData { 8 | public string FirstName { get; set; } 9 | public string LastName { get; set; } 10 | public Address OwnerAddress { get; set; } 11 | public string PhoneNumber { get; set; } 12 | 13 | public BankAccountOwnershipData() { 14 | OwnerAddress = new Address(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PayFac/BeneficialOwnerData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.PayFac 6 | { 7 | public class BeneficialOwnerData { 8 | public string OwnersCount { get; set; } 9 | public List OwnersList { get; set; } 10 | 11 | public BeneficialOwnerData() { 12 | OwnersList = new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PayFac/FlashFundsPaymentCardData.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.PaymentMethods; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.PayFac 7 | { 8 | public class FlashFundsPaymentCardData { 9 | public CreditCardData CreditCard { get; set; } 10 | public Address CardholderAddress { get; set; } 11 | 12 | public FlashFundsPaymentCardData() { 13 | CreditCard = new CreditCardData(); 14 | CardholderAddress = new Address(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PayFac/GrossBillingInformation.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.PaymentMethods; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.PayFac 7 | { 8 | public class GrossBillingInformation { 9 | public Address GrossSettleAddress { get; set; } 10 | public BankAccountData GrossSettleBankData { get; set; } 11 | public CreditCardData GrossSettleCreditCardData { get; set; } 12 | 13 | public GrossBillingInformation() { 14 | GrossSettleAddress = new Address(); 15 | GrossSettleBankData = new BankAccountData(); 16 | GrossSettleCreditCardData = new CreditCardData(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PayFac/ThreatRiskData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.PayFac 6 | { 7 | public class ThreatRiskData { 8 | /// 9 | /// SourceIp of Merchant, see ProPay Fraud Detection Solutions Manual 10 | /// 11 | public string MerchantSourceIP { get; set; } 12 | /// 13 | /// Threat Metrix Policy, see ProPay Fraud Detection Solutions Manual 14 | /// 15 | public string ThreatMetrixPolicy { get; set; } 16 | /// 17 | /// SessionId for Threat Metrix, see ProPay Fraud Detection Solutions Manual 18 | /// 19 | public string ThreatMetrixSessionID { get; set; } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PayFac/UserReference.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.PayFac 7 | { 8 | public class UserReference 9 | { 10 | public string UserId { get; set; } 11 | public UserType? UserType { get; set; } 12 | public UserStatus? UserStatus { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PayerDetails.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class PayerDetails 8 | { 9 | public string Id { get; set; } 10 | public string FirstName { get; set; } 11 | public string LastName { get; set; } 12 | public string Email { get; set; } 13 | public Address BillingAddress{ get; set;} 14 | public Address ShippingAddress { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PaymentMethodList.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities.Enums; 2 | using GlobalPayments.Api.PaymentMethods; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | namespace GlobalPayments.Api.Entities 8 | { 9 | public class PaymentMethodList 10 | { 11 | public PaymentMethodFunction Function { get; set; } 12 | 13 | public object PaymentMethod {get;set;} 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/PaymentStatistics.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class PaymentStatistics 8 | { 9 | /// 10 | /// The total monthly sales of the merchant. 11 | /// 12 | public decimal? TotalMonthlySalesAmount { get; set; } 13 | 14 | /// 15 | /// The total monthly sales of the merchant. 16 | /// 17 | public decimal? AverageTicketSalesAmount { get; set; } 18 | 19 | /// 20 | /// The merchants highest ticket amount. 21 | /// 22 | public decimal? HighestTicketSalesAmount { get; set; } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Payroll/Entities/PayrollEntity.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities.Payroll { 4 | public abstract class PayrollEntity { 5 | internal abstract void FromJson(JsonDoc doc, PayrollEncoder encoder); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Payroll/PayrollRequest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace GlobalPayments.Api.Entities.Payroll { 4 | internal class PayrollRequest { 5 | public string Endpoint { get; set; } 6 | public string RequestBody { get; set; } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Reporting/AltPaymentData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace GlobalPayments.Api.Entities { 5 | public class AltPaymentData { 6 | public string Status { get; set; } 7 | public string StatusMessage { get; set; } 8 | public string BuyerEmailAddress { get; set; } 9 | public DateTime? StateDate { get; set; } 10 | public List ProcessorResponseInfo { get; set; } 11 | } 12 | 13 | public class AltPaymentProcessorInfo { 14 | public string Code { get; set; } 15 | public string Message { get; set; } 16 | public string Type { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Reporting/CheckData.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public class CheckData { 3 | public string AccountInfo { get; set; } 4 | public string ConsumerInfo { get; set; } 5 | public string DataEntryMode { get; set; } 6 | public string CheckType { get; set; } 7 | public string SECCode { get; set; } 8 | public string CheckAction { get; set; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Reporting/MerchantSummary.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace GlobalPayments.Api.Entities.Reporting 7 | { 8 | public class MerchantSummary 9 | { 10 | /// 11 | /// A unique identifier for the object created by Global Payments. The first 3 characters identifies the resource an id relates to. 12 | /// 13 | public string Id { get; set; } 14 | 15 | /// 16 | /// The label to identify the merchant 17 | /// 18 | public string Name { get; set; } 19 | 20 | 21 | public UserStatus? Status { get; set; } 22 | 23 | 24 | public List Links { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/Reporting/StoredPaymentMethodSummary.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities { 6 | public class StoredPaymentMethodSummary { 7 | public string Id { get; internal set; } 8 | public DateTime TimeCreated { get; internal set; } 9 | public string Status { get; internal set; } 10 | public string Reference { get; internal set; } 11 | public string Name { get; internal set; } 12 | public string CardLast4 { get; internal set; } 13 | public string CardType { get; internal set; } 14 | public string CardExpMonth { get; internal set; } 15 | public string CardExpYear { get; internal set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/StoredCredential.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public class StoredCredential { 5 | public StoredCredentialType Type { get; set; } 6 | public StoredCredentialInitiator Initiator { get; set; } 7 | public StoredCredentialSequence Sequence { get; set; } 8 | public StoredCredentialReason Reason { get; set; } 9 | public string SchemeId { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TableService/ShiftAssignments.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities.TableService { 6 | public class ShiftAssignments : Dictionary> { 7 | public override string ToString() { 8 | var sb = new StringBuilder(); 9 | 10 | foreach (var key in this.Keys) { 11 | sb.Append(key + "-"); 12 | sb.Append(string.Join(",", this[key])); 13 | sb.Append("|"); 14 | } 15 | 16 | return sb.ToString().TrimEnd('|'); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/ThirdPartyResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GlobalPayments.Api.Entities 6 | { 7 | public class ThirdPartyResponse 8 | { 9 | public string Platform { get; set; } 10 | 11 | /// 12 | /// Data json string that represents the raw data received from another platform. 13 | /// 14 | public string Data { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/Request/TransactionData.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.TransactionApi.Request { 2 | public class TransactionData { 3 | public CountryCode? CountryCode { get; set; } 4 | public EcomIndicator? EcommerceIndicator { get; set; } 5 | public LanguageEnum? Language { get; set; } 6 | public string SoftDescriptor { get; set; } 7 | public bool AddressVerificationService { get; set; } 8 | public bool CreateToken { get; set; } 9 | public bool GenerateReceipt { get; set; } 10 | public bool PartialApproval { get; set; } 11 | public string EntryClass { get; set; } 12 | public string PaymentPurposeCode { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/Response/CardResponse.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.TransactionApi.Response { 2 | public class CardResponse { 3 | public string MaskedCardNnumber { get; set; } 4 | public string CardholderName { get; set; } 5 | public string ExpiryMonth { get; set; } 6 | public string ExpiryYear { get; set; } 7 | public string Type { get; set; } 8 | public string Balance { get; set; } 9 | public string Token { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/Response/CheckResponse.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.TransactionApi.Response { 2 | public class CheckResponse { 3 | public string MaskedCardNnumber { get; set; } 4 | public string RoutingNumber { get; set; } 5 | public string CheckNumber { get; set; } 6 | public string Token { get; set; } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/Response/PaymentResponse.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.TransactionApi.Response { 2 | public class PaymentResponse { 3 | public string Amount { get; set; } 4 | public string CurrencyCode { get; set; } 5 | public string InvoiceNumber { get; set; } 6 | public string Type { get; set; } 7 | public string GratuityAmount { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/Response/TransactionResponseDetail.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.TransactionApi.Response { 2 | public class TransactionResponseDetail { 3 | public string BatchAmount { get; set; } 4 | public string BatchNumber { get; set; } 5 | public string EntryType { get; set; } 6 | public string Language { get; set; } 7 | public string EntryClass { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/TransactionApiEntity.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Utils; 2 | 3 | namespace GlobalPayments.Api.Entities { 4 | public abstract class TransactionApiEntity { 5 | internal abstract void FromJson(JsonDoc doc); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/TransactionApiReportRequestBuilder.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Builders; 2 | using GlobalPayments.Api.Gateways; 3 | using System.Net.Http; 4 | 5 | namespace GlobalPayments.Api.Entities { 6 | internal class TransactionApiReportRequestBuilder { 7 | internal static TransactionApiRequest BuildRequest(ReportBuilder builder, TransactionApiConnector gateway) where T : class { 8 | return new TransactionApiRequest { 9 | Verb = HttpMethod.Get, 10 | Endpoint = $"", 11 | }; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/TransactionApi/TransactionApiStatusCode.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities { 2 | public enum TransactionApiStatusCode { 3 | TooManyRequests = 429, 4 | Declined = 470, 5 | PartiallyApproved = 471, 6 | CallIssuer = 472, 7 | CreatedValidationMismatch = 473, 8 | PartiallyApprovedValidationMismatch = 474, 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/Button.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.UPA { 2 | public class Button { 3 | public string Text { get; set; } 4 | public string Color { get; set; } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/HostData.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Terminals.Enums; 2 | 3 | namespace GlobalPayments.Api.Entities.UPA { 4 | public class HostData { 5 | public HostDecision? HostDecision { get; set; } 6 | public string IssuerScripts { get; set; } 7 | public string IssuerAuthData { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/MessageLines.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.UPA { 2 | public class MessageLines { 3 | public string Line1 { get; set; } 4 | public string Line2 { get; set; } 5 | public string Line3 { get; set; } 6 | public string Line4 { get; set; } 7 | public string Line5 { get; set; } 8 | /// 9 | /// int|null Number of seconds that the message will be displayed. If this parameter is not received, the default 10 | /// timeout is the IdleTimeout value set through the settings. 11 | /// 12 | public int? Timeout { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/PANDetails.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.UPA { 2 | public class PANDetails { 3 | public string ClearPAN { get; set; } 4 | public string MaskedPAN { get; set; } 5 | public string EncryptedPAN { get; set; } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/POSData.cs: -------------------------------------------------------------------------------- 1 | namespace GlobalPayments.Api.Entities.UPA { 2 | public class POSData { 3 | public string AppName { get; set; } 4 | public int? LaunchOrder { get; set; } = 0; 5 | public bool Remove { get; set; } = false; 6 | public int? Silent { get; set; } = 0; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/PrintData.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities.Enums; 2 | 3 | namespace GlobalPayments.Api.Entities.UPA { 4 | public class PrintData { 5 | public string FilePath { get; set; } 6 | public string Line1 { get; set; } 7 | public string Line2 { get; set; } 8 | public DisplayOption? DisplayOption { get; set; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/ProcessingIndicator.cs: -------------------------------------------------------------------------------- 1 | using GlobalPayments.Api.Entities.Enums; 2 | 3 | namespace GlobalPayments.Api.Entities.UPA { 4 | public class ProcessingIndicator { 5 | public string QuickChip { get; set; } 6 | public string CheckLuhn { get; set; } 7 | public string SecurityCode { get; set; } 8 | public CardTypeFilter CardTypeFilter { get; set; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/GlobalPayments.Api/Entities/UPA/PromptData.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace GlobalPayments.Api.Entities.UPA { 4 | public class PromptData { 5 | public PromptMessages Prompts { get; set; } 6 | public List