@blockchyp/blockchyp-ts 2.18.8 → 2.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +147 -1
- package/_bundles/blockchyp.js +1010 -55
- package/_bundles/blockchyp.js.map +1 -1
- package/_bundles/blockchyp.min.js +1 -1
- package/_bundles/blockchyp.min.js.map +1 -1
- package/lib/src/client.d.ts +12 -0
- package/lib/src/client.js +20 -0
- package/lib/src/client.js.map +1 -1
- package/lib/src/models.d.ts +907 -13
- package/lib/src/models.js +965 -30
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +21 -0
- package/src/models.ts +7487 -5928
package/_bundles/blockchyp.js
CHANGED
|
@@ -58770,6 +58770,14 @@ class BlockChypClient {
|
|
|
58770
58770
|
return this.routeTerminalRequest('post', request, '/api/enroll', '/api/enroll');
|
|
58771
58771
|
});
|
|
58772
58772
|
}
|
|
58773
|
+
/**
|
|
58774
|
+
* Retrieves card metadata.
|
|
58775
|
+
*/
|
|
58776
|
+
cardMetadata(request) {
|
|
58777
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58778
|
+
return this.routeTerminalRequest('post', request, '/api/card-metadata', '/api/card-metadata');
|
|
58779
|
+
});
|
|
58780
|
+
}
|
|
58773
58781
|
/**
|
|
58774
58782
|
* Activates or recharges a gift card.
|
|
58775
58783
|
*/
|
|
@@ -59073,6 +59081,12 @@ class BlockChypClient {
|
|
|
59073
59081
|
merchantCredentialGeneration(request) {
|
|
59074
59082
|
return this._dashboardRequest('post', '/api/generate-merchant-creds', request);
|
|
59075
59083
|
}
|
|
59084
|
+
/**
|
|
59085
|
+
* Submits and application to add a new merchant account.
|
|
59086
|
+
*/
|
|
59087
|
+
submitApplication(request) {
|
|
59088
|
+
return this._dashboardRequest('post', '/api/submit-application', request);
|
|
59089
|
+
}
|
|
59076
59090
|
/**
|
|
59077
59091
|
* Adds a test merchant account.
|
|
59078
59092
|
*/
|
|
@@ -59098,6 +59112,12 @@ class BlockChypClient {
|
|
|
59098
59112
|
inviteMerchantUser(request) {
|
|
59099
59113
|
return this._dashboardRequest('post', '/api/invite-merchant-user', request);
|
|
59100
59114
|
}
|
|
59115
|
+
/**
|
|
59116
|
+
* Adds a live gateway merchant account.
|
|
59117
|
+
*/
|
|
59118
|
+
addGatewayMerchant(request) {
|
|
59119
|
+
return this._dashboardRequest('post', '/api/add-gateway-merchant', request);
|
|
59120
|
+
}
|
|
59101
59121
|
/**
|
|
59102
59122
|
* Adds a test merchant account.
|
|
59103
59123
|
*/
|
|
@@ -59632,10 +59652,10 @@ exports["default"] = CryptoUtils;
|
|
|
59632
59652
|
* file will be lost every time the code is regenerated.
|
|
59633
59653
|
*/
|
|
59634
59654
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59635
|
-
exports.
|
|
59636
|
-
exports.
|
|
59637
|
-
exports.
|
|
59638
|
-
exports.CoreResponse = exports.PreviousTransaction = exports.Subtotals = exports.RequestAmount = exports.PaymentMethod = exports.PaymentAmounts = exports.CryptocurrencyResponse = exports.PaymentMethodResponse = exports.CoreRequest = exports.TimeoutRequest = exports.ApprovalResponse = exports.SignatureRequest = exports.SignatureResponse = exports.TerminalReference = exports.AbstractAcknowledgement = exports.TerminalDeleteQueuedTransactionRequest = exports.TerminalListQueuedTransactionsRequest = exports.TerminalTerminalStatusRequest = exports.TerminalTransactionDisplayRequest = exports.TerminalTermsAndConditionsResponse = exports.TerminalTermsAndConditionsRequest = exports.TerminalGiftActivateRequest = exports.TerminalClearTerminalRequest = exports.TerminalEnrollRequest = exports.TerminalRefundRequest = exports.TerminalBalanceRequest = exports.TerminalAuthorizationRequest = exports.TerminalTextPromptRequest = exports.TerminalBooleanPromptRequest = exports.TerminalMessageRequest = exports.TerminalLocateRequest = exports.TerminalPingRequest = void 0;
|
|
59655
|
+
exports.TransactionDisplayItem = exports.TransactionDisplayDiscount = exports.TransactionStatus = exports.PaymentLinkStatusResponse = exports.PaymentLinkStatusRequest = exports.TransactionStatusRequest = exports.AuthorizationResponse = exports.TermsAndConditionsResponse = exports.TermsAndConditionsRequest = exports.CloseBatchResponse = exports.CloseBatchRequest = exports.GiftActivateResponse = exports.GiftActivateRequest = exports.ClearTerminalRequest = exports.EnrollResponse = exports.EnrollRequest = exports.VoidResponse = exports.VoidRequest = exports.CaptureResponse = exports.CaptureRequest = exports.RefundRequest = exports.BalanceResponse = exports.BalanceRequest = exports.CardMetadataResponse = exports.CardMetadataRequest = exports.CardMetadata = exports.AuthorizationRequest = exports.WhiteListedCard = exports.BooleanPromptResponse = exports.TextPromptResponse = exports.CustomerToken = exports.TokenMetadataResponse = exports.TokenMetadataRequest = exports.Customer = exports.CustomerSearchResponse = exports.UpdateCustomerRequest = exports.CustomerSearchRequest = exports.CustomerResponse = exports.CustomerRequest = exports.TextPromptRequest = exports.BooleanPromptRequest = exports.MessageRequest = exports.LocateResponse = exports.LocateRequest = exports.PingResponse = exports.PingRequest = exports.CaptureSignatureResponse = exports.CaptureSignatureRequest = exports.Acknowledgement = exports.ReceiptSuggestions = void 0;
|
|
59656
|
+
exports.MerchantPlatform = exports.UpdateMerchantPlatformResponse = exports.UpdateMerchantPlatformRequest = exports.MerchantPlatformsResponse = exports.MerchantUser = exports.MerchantUsersResponse = exports.GetMerchantsResponse = exports.GetMerchantsRequest = exports.HealthcareGroup = exports.HealthcareMetadata = exports.UnlinkTokenRequest = exports.LinkTokenRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteCustomerResponse = exports.DeleteCustomerRequest = exports.DeleteQueuedTransactionResponse = exports.DeleteQueuedTransactionRequest = exports.ListQueuedTransactionsResponse = exports.ListQueuedTransactionsRequest = exports.BankAccount = exports.MerchantProfileResponse = exports.MerchantProfile = exports.Address = exports.InviteMerchantUserRequest = exports.MerchantPlatformRequest = exports.MerchantProfileRequest = exports.AddGatewayMerchantRequest = exports.AddTestMerchantRequest = exports.TerminalVolume = exports.BatchDetailsResponse = exports.BatchDetailsRequest = exports.BatchSummary = exports.BatchHistoryResponse = exports.BatchHistoryRequest = exports.TransactionHistoryResponse = exports.TransactionHistoryRequest = exports.CashDiscountResponse = exports.CashDiscountRequest = exports.ResendPaymentLinkResponse = exports.ResendPaymentLinkRequest = exports.CancelPaymentLinkResponse = exports.CancelPaymentLinkRequest = exports.PaymentLinkResponse = exports.PaymentLinkRequest = exports.TerminalStatusResponse = exports.TerminalStatusRequest = exports.HeartbeatResponse = exports.TransactionDisplayRequest = exports.TransactionDisplayTransaction = void 0;
|
|
59657
|
+
exports.PartnerCommissionBreakdownResponse = exports.PartnerCommissionBreakdownRequest = exports.StatementDeposit = exports.InvoicePayment = exports.InvoiceLineItem = exports.MerchantInvoiceDetailResponse = exports.MerchantInvoiceDetailRequest = exports.MerchantInvoiceSummary = exports.MerchantInvoiceListResponse = exports.MerchantInvoiceListRequest = exports.PartnerStatementAdjustment = exports.PartnerStatementDisbursement = exports.PartnerStatementLineItem = exports.PartnerStatementDetailResponse = exports.PartnerStatementDetailRequest = exports.PartnerStatementListResponse = exports.PartnerStatementSummary = exports.PartnerStatementListRequest = exports.PricingPolicyResponse = exports.PricePoint = exports.PricingPolicyRequest = exports.BrandingAssetResponse = exports.BrandingAsset = exports.BrandingAssetRequest = exports.SlideShowRequest = exports.SlideShowResponse = exports.SlideShow = exports.Slide = exports.MediaLibraryResponse = exports.MediaRequest = exports.UploadStatusRequest = exports.UploadStatus = exports.UploadMetadata = exports.MediaMetadata = exports.SurveyResultsRequest = exports.SurveyDataPoint = exports.SurveyQuestionResponse = exports.SurveyQuestionRequest = exports.SurveyQuestion = exports.TermsAndConditionsLogEntry = exports.TermsAndConditionsLogResponse = exports.TermsAndConditionsLogRequest = exports.TermsAndConditionsTemplateResponse = exports.TermsAndConditionsTemplateRequest = exports.TermsAndConditionsTemplate = exports.TerminalProfile = exports.TerminalActivationRequest = exports.TerminalDeactivationRequest = exports.TerminalProfileResponse = exports.TerminalProfileRequest = void 0;
|
|
59658
|
+
exports.CoreResponse = exports.PreviousTransaction = exports.Subtotals = exports.RequestAmount = exports.PaymentMethod = exports.PaymentAmounts = exports.CryptocurrencyResponse = exports.PaymentMethodResponse = exports.CoreRequest = exports.TimeoutRequest = exports.ApprovalResponse = exports.SignatureRequest = exports.SignatureResponse = exports.TerminalReference = exports.AbstractAcknowledgement = exports.TerminalDeleteQueuedTransactionRequest = exports.TerminalListQueuedTransactionsRequest = exports.TerminalTerminalStatusRequest = exports.TerminalTransactionDisplayRequest = exports.TerminalTermsAndConditionsResponse = exports.TerminalTermsAndConditionsRequest = exports.TerminalGiftActivateRequest = exports.TerminalClearTerminalRequest = exports.TerminalEnrollRequest = exports.TerminalRefundRequest = exports.TerminalBalanceRequest = exports.TerminalCardMetadataRequest = exports.TerminalAuthorizationRequest = exports.TerminalTextPromptRequest = exports.TerminalBooleanPromptRequest = exports.TerminalMessageRequest = exports.TerminalLocateRequest = exports.TerminalPingRequest = exports.TerminalCaptureSignatureRequest = exports.SubmitApplicationRequest = exports.MerchantApplication = exports.ApplicationAccount = exports.Owner = exports.AggregateBillingLineItemStats = exports.AggregateBillingLineItem = exports.BuyRateLineItem = exports.MerchantCredentialGenerationResponse = exports.MerchantCredentialGenerationRequest = void 0;
|
|
59639
59659
|
// CardType is used to differentiate credit, debit, and EBT.
|
|
59640
59660
|
var CardType;
|
|
59641
59661
|
(function (CardType) {
|
|
@@ -60500,7 +60520,7 @@ exports.TokenMetadataRequest = TokenMetadataRequest;
|
|
|
60500
60520
|
*/
|
|
60501
60521
|
class TokenMetadataResponse {
|
|
60502
60522
|
// Constructor with default values for optional fields
|
|
60503
|
-
constructor(success = null, error = null, responseDescription = null, token = null) {
|
|
60523
|
+
constructor(success = null, error = null, responseDescription = null, token = null, cardMetadata = undefined) {
|
|
60504
60524
|
/**
|
|
60505
60525
|
* Whether or not the request succeeded.
|
|
60506
60526
|
*/
|
|
@@ -60521,6 +60541,7 @@ class TokenMetadataResponse {
|
|
|
60521
60541
|
this.error = error;
|
|
60522
60542
|
this.responseDescription = responseDescription;
|
|
60523
60543
|
this.token = token;
|
|
60544
|
+
this.cardMetadata = cardMetadata;
|
|
60524
60545
|
}
|
|
60525
60546
|
}
|
|
60526
60547
|
exports.TokenMetadataResponse = TokenMetadataResponse;
|
|
@@ -60655,7 +60676,7 @@ exports.WhiteListedCard = WhiteListedCard;
|
|
|
60655
60676
|
*/
|
|
60656
60677
|
class AuthorizationRequest {
|
|
60657
60678
|
// Constructor with default values for optional fields
|
|
60658
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined,
|
|
60679
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined, healthcareMetadata = undefined, cryptocurrency = undefined, cryptoNetwork = undefined, cryptoReceiveAddress = undefined, paymentRequestLabel = undefined, paymentRequestMessage = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, passthroughSurcharge = undefined, healthcare = false, healthcareTotal = undefined, ebtTotal = undefined, cardMetadataLookup = false) {
|
|
60659
60680
|
/**
|
|
60660
60681
|
* The request timeout in seconds.
|
|
60661
60682
|
*/
|
|
@@ -60767,7 +60788,7 @@ class AuthorizationRequest {
|
|
|
60767
60788
|
this.altPrices = altPrices;
|
|
60768
60789
|
this.customer = customer;
|
|
60769
60790
|
this.roundingMode = roundingMode;
|
|
60770
|
-
this.
|
|
60791
|
+
this.healthcareMetadata = healthcareMetadata;
|
|
60771
60792
|
this.cryptocurrency = cryptocurrency;
|
|
60772
60793
|
this.cryptoNetwork = cryptoNetwork;
|
|
60773
60794
|
this.cryptoReceiveAddress = cryptoReceiveAddress;
|
|
@@ -60777,9 +60798,201 @@ class AuthorizationRequest {
|
|
|
60777
60798
|
this.simulateOutOfOrderReversal = simulateOutOfOrderReversal;
|
|
60778
60799
|
this.asyncReversals = asyncReversals;
|
|
60779
60800
|
this.passthroughSurcharge = passthroughSurcharge;
|
|
60801
|
+
this.healthcare = healthcare;
|
|
60802
|
+
this.healthcareTotal = healthcareTotal;
|
|
60803
|
+
this.ebtTotal = ebtTotal;
|
|
60804
|
+
this.cardMetadataLookup = cardMetadataLookup;
|
|
60780
60805
|
}
|
|
60781
60806
|
}
|
|
60782
60807
|
exports.AuthorizationRequest = AuthorizationRequest;
|
|
60808
|
+
/**
|
|
60809
|
+
* Essential information about a payment card derived from its BIN/IIN.
|
|
60810
|
+
*/
|
|
60811
|
+
class CardMetadata {
|
|
60812
|
+
// Constructor with default values for optional fields
|
|
60813
|
+
constructor(cardBrand = null, issuerName = null, l3 = null, l2 = null, productType = null, productName = null, ebt = null, debit = null, healthcare = null, prepaid = null, region = null, country = null) {
|
|
60814
|
+
/**
|
|
60815
|
+
* The brand or network of the card (e.g., Visa, Mastercard, Amex).
|
|
60816
|
+
*/
|
|
60817
|
+
this.cardBrand = null;
|
|
60818
|
+
/**
|
|
60819
|
+
* The name of the financial institution that issued the card.
|
|
60820
|
+
*/
|
|
60821
|
+
this.issuerName = null;
|
|
60822
|
+
/**
|
|
60823
|
+
* Whether the card supports Level 3 processing for detailed transaction data.
|
|
60824
|
+
*/
|
|
60825
|
+
this.l3 = null;
|
|
60826
|
+
/**
|
|
60827
|
+
* Whether the card supports Level 2 processing for additional transaction data.
|
|
60828
|
+
*/
|
|
60829
|
+
this.l2 = null;
|
|
60830
|
+
/**
|
|
60831
|
+
* The general category or type of the card product.
|
|
60832
|
+
*/
|
|
60833
|
+
this.productType = null;
|
|
60834
|
+
/**
|
|
60835
|
+
* The specific name or designation of the card product.
|
|
60836
|
+
*/
|
|
60837
|
+
this.productName = null;
|
|
60838
|
+
/**
|
|
60839
|
+
* Whether the card is an Electronic Benefit Transfer (EBT) card.
|
|
60840
|
+
*/
|
|
60841
|
+
this.ebt = null;
|
|
60842
|
+
/**
|
|
60843
|
+
* Whether the card is a debit card.
|
|
60844
|
+
*/
|
|
60845
|
+
this.debit = null;
|
|
60846
|
+
/**
|
|
60847
|
+
* Whether the card is a healthcare-specific payment card.
|
|
60848
|
+
*/
|
|
60849
|
+
this.healthcare = null;
|
|
60850
|
+
/**
|
|
60851
|
+
* Whether the card is a prepaid card.
|
|
60852
|
+
*/
|
|
60853
|
+
this.prepaid = null;
|
|
60854
|
+
/**
|
|
60855
|
+
* The geographical region associated with the card's issuer.
|
|
60856
|
+
*/
|
|
60857
|
+
this.region = null;
|
|
60858
|
+
/**
|
|
60859
|
+
* The country associated with the card's issuer.
|
|
60860
|
+
*/
|
|
60861
|
+
this.country = null;
|
|
60862
|
+
this.cardBrand = cardBrand;
|
|
60863
|
+
this.issuerName = issuerName;
|
|
60864
|
+
this.l3 = l3;
|
|
60865
|
+
this.l2 = l2;
|
|
60866
|
+
this.productType = productType;
|
|
60867
|
+
this.productName = productName;
|
|
60868
|
+
this.ebt = ebt;
|
|
60869
|
+
this.debit = debit;
|
|
60870
|
+
this.healthcare = healthcare;
|
|
60871
|
+
this.prepaid = prepaid;
|
|
60872
|
+
this.region = region;
|
|
60873
|
+
this.country = country;
|
|
60874
|
+
}
|
|
60875
|
+
}
|
|
60876
|
+
exports.CardMetadata = CardMetadata;
|
|
60877
|
+
/**
|
|
60878
|
+
* Retrieves card metadata.
|
|
60879
|
+
*/
|
|
60880
|
+
class CardMetadataRequest {
|
|
60881
|
+
// Constructor with default values for optional fields
|
|
60882
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, healthcare = false) {
|
|
60883
|
+
/**
|
|
60884
|
+
* The request timeout in seconds.
|
|
60885
|
+
*/
|
|
60886
|
+
this.timeout = null;
|
|
60887
|
+
/**
|
|
60888
|
+
* Whether or not to route transaction to the test gateway.
|
|
60889
|
+
*/
|
|
60890
|
+
this.test = null;
|
|
60891
|
+
/**
|
|
60892
|
+
* That the transaction reference was autogenerated and should be ignored for the
|
|
60893
|
+
* purposes of duplicate detection.
|
|
60894
|
+
*/
|
|
60895
|
+
this.autogeneratedRef = null;
|
|
60896
|
+
/**
|
|
60897
|
+
* Defers the response to the transaction and returns immediately. Callers should
|
|
60898
|
+
* retrive the transaction result using the Transaction Status API.
|
|
60899
|
+
*/
|
|
60900
|
+
this.async = null;
|
|
60901
|
+
/**
|
|
60902
|
+
* Adds the transaction to the queue and returns immediately. Callers should retrive
|
|
60903
|
+
* the transaction result using the Transaction Status API.
|
|
60904
|
+
*/
|
|
60905
|
+
this.queue = null;
|
|
60906
|
+
/**
|
|
60907
|
+
* Forces the terminal cloud connection to be reset while a transactions is in flight.
|
|
60908
|
+
* This is a diagnostic settings that can be used only for test transactions.
|
|
60909
|
+
*/
|
|
60910
|
+
this.resetConnection = null;
|
|
60911
|
+
this.timeout = timeout;
|
|
60912
|
+
this.test = test;
|
|
60913
|
+
this.transactionRef = transactionRef;
|
|
60914
|
+
this.autogeneratedRef = autogeneratedRef;
|
|
60915
|
+
this.async = async;
|
|
60916
|
+
this.queue = queue;
|
|
60917
|
+
this.waitForRemovedCard = waitForRemovedCard;
|
|
60918
|
+
this.force = force;
|
|
60919
|
+
this.orderRef = orderRef;
|
|
60920
|
+
this.destinationAccount = destinationAccount;
|
|
60921
|
+
this.testCase = testCase;
|
|
60922
|
+
this.token = token;
|
|
60923
|
+
this.track1 = track1;
|
|
60924
|
+
this.track2 = track2;
|
|
60925
|
+
this.pan = pan;
|
|
60926
|
+
this.routingNumber = routingNumber;
|
|
60927
|
+
this.cardholderName = cardholderName;
|
|
60928
|
+
this.expMonth = expMonth;
|
|
60929
|
+
this.expYear = expYear;
|
|
60930
|
+
this.cvv = cvv;
|
|
60931
|
+
this.address = address;
|
|
60932
|
+
this.postalCode = postalCode;
|
|
60933
|
+
this.manualEntry = manualEntry;
|
|
60934
|
+
this.ksn = ksn;
|
|
60935
|
+
this.pinBlock = pinBlock;
|
|
60936
|
+
this.cardType = cardType;
|
|
60937
|
+
this.paymentType = paymentType;
|
|
60938
|
+
this.terminalName = terminalName;
|
|
60939
|
+
this.resetConnection = resetConnection;
|
|
60940
|
+
this.healthcare = healthcare;
|
|
60941
|
+
}
|
|
60942
|
+
}
|
|
60943
|
+
exports.CardMetadataRequest = CardMetadataRequest;
|
|
60944
|
+
/**
|
|
60945
|
+
* The response to a card metadata request.
|
|
60946
|
+
*/
|
|
60947
|
+
class CardMetadataResponse {
|
|
60948
|
+
// Constructor with default values for optional fields
|
|
60949
|
+
constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
|
|
60950
|
+
/**
|
|
60951
|
+
* Whether or not the request succeeded.
|
|
60952
|
+
*/
|
|
60953
|
+
this.success = null;
|
|
60954
|
+
/**
|
|
60955
|
+
* The error, if an error occurred.
|
|
60956
|
+
*/
|
|
60957
|
+
this.error = null;
|
|
60958
|
+
/**
|
|
60959
|
+
* A narrative description of the transaction result.
|
|
60960
|
+
*/
|
|
60961
|
+
this.responseDescription = null;
|
|
60962
|
+
/**
|
|
60963
|
+
* Address verification results if address information was submitted.
|
|
60964
|
+
*/
|
|
60965
|
+
this.avsResponse = null;
|
|
60966
|
+
/**
|
|
60967
|
+
* Suggested receipt fields.
|
|
60968
|
+
*/
|
|
60969
|
+
this.receiptSuggestions = null;
|
|
60970
|
+
/**
|
|
60971
|
+
* Customer data, if any.
|
|
60972
|
+
*/
|
|
60973
|
+
this.customers = null;
|
|
60974
|
+
this.success = success;
|
|
60975
|
+
this.error = error;
|
|
60976
|
+
this.responseDescription = responseDescription;
|
|
60977
|
+
this.token = token;
|
|
60978
|
+
this.entryMethod = entryMethod;
|
|
60979
|
+
this.paymentType = paymentType;
|
|
60980
|
+
this.network = network;
|
|
60981
|
+
this.logo = logo;
|
|
60982
|
+
this.maskedPan = maskedPan;
|
|
60983
|
+
this.publicKey = publicKey;
|
|
60984
|
+
this.ScopeAlert = ScopeAlert;
|
|
60985
|
+
this.cardHolder = cardHolder;
|
|
60986
|
+
this.expMonth = expMonth;
|
|
60987
|
+
this.expYear = expYear;
|
|
60988
|
+
this.avsResponse = avsResponse;
|
|
60989
|
+
this.receiptSuggestions = receiptSuggestions;
|
|
60990
|
+
this.customer = customer;
|
|
60991
|
+
this.customers = customers;
|
|
60992
|
+
this.cardMetadata = cardMetadata;
|
|
60993
|
+
}
|
|
60994
|
+
}
|
|
60995
|
+
exports.CardMetadataResponse = CardMetadataResponse;
|
|
60783
60996
|
/**
|
|
60784
60997
|
* A request for the remaining balance on a payment type.
|
|
60785
60998
|
*/
|
|
@@ -60932,7 +61145,7 @@ exports.BalanceResponse = BalanceResponse;
|
|
|
60932
61145
|
*/
|
|
60933
61146
|
class RefundRequest {
|
|
60934
61147
|
// Constructor with default values for optional fields
|
|
60935
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null,
|
|
61148
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, healthcareMetadata = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, cit = false, mit = false, cardMetadataLookup = false) {
|
|
60936
61149
|
/**
|
|
60937
61150
|
* The request timeout in seconds.
|
|
60938
61151
|
*/
|
|
@@ -61027,12 +61240,13 @@ class RefundRequest {
|
|
|
61027
61240
|
this.taxAmount = taxAmount;
|
|
61028
61241
|
this.terminalName = terminalName;
|
|
61029
61242
|
this.resetConnection = resetConnection;
|
|
61030
|
-
this.
|
|
61243
|
+
this.healthcareMetadata = healthcareMetadata;
|
|
61031
61244
|
this.simulateChipRejection = simulateChipRejection;
|
|
61032
61245
|
this.simulateOutOfOrderReversal = simulateOutOfOrderReversal;
|
|
61033
61246
|
this.asyncReversals = asyncReversals;
|
|
61034
61247
|
this.cit = cit;
|
|
61035
61248
|
this.mit = mit;
|
|
61249
|
+
this.cardMetadataLookup = cardMetadataLookup;
|
|
61036
61250
|
}
|
|
61037
61251
|
}
|
|
61038
61252
|
exports.RefundRequest = RefundRequest;
|
|
@@ -61407,7 +61621,7 @@ exports.VoidResponse = VoidResponse;
|
|
|
61407
61621
|
*/
|
|
61408
61622
|
class EnrollRequest {
|
|
61409
61623
|
// Constructor with default values for optional fields
|
|
61410
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false) {
|
|
61624
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false, cardMetadataLookup = false) {
|
|
61411
61625
|
/**
|
|
61412
61626
|
* The request timeout in seconds.
|
|
61413
61627
|
*/
|
|
@@ -61469,6 +61683,7 @@ class EnrollRequest {
|
|
|
61469
61683
|
this.customer = customer;
|
|
61470
61684
|
this.recurring = recurring;
|
|
61471
61685
|
this.subscription = subscription;
|
|
61686
|
+
this.cardMetadataLookup = cardMetadataLookup;
|
|
61472
61687
|
}
|
|
61473
61688
|
}
|
|
61474
61689
|
exports.EnrollRequest = EnrollRequest;
|
|
@@ -61477,7 +61692,7 @@ exports.EnrollRequest = EnrollRequest;
|
|
|
61477
61692
|
*/
|
|
61478
61693
|
class EnrollResponse {
|
|
61479
61694
|
// Constructor with default values for optional fields
|
|
61480
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
|
|
61695
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined) {
|
|
61481
61696
|
/**
|
|
61482
61697
|
* Whether or not the request succeeded.
|
|
61483
61698
|
*/
|
|
@@ -61557,6 +61772,7 @@ class EnrollResponse {
|
|
|
61557
61772
|
this.customer = customer;
|
|
61558
61773
|
this.customers = customers;
|
|
61559
61774
|
this.sigFile = sigFile;
|
|
61775
|
+
this.cardMetadata = cardMetadata;
|
|
61560
61776
|
}
|
|
61561
61777
|
}
|
|
61562
61778
|
exports.EnrollResponse = EnrollResponse;
|
|
@@ -62014,7 +62230,7 @@ exports.TermsAndConditionsResponse = TermsAndConditionsResponse;
|
|
|
62014
62230
|
*/
|
|
62015
62231
|
class AuthorizationResponse {
|
|
62016
62232
|
// Constructor with default values for optional fields
|
|
62017
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null) {
|
|
62233
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
|
|
62018
62234
|
/**
|
|
62019
62235
|
* Whether or not the request succeeded.
|
|
62020
62236
|
*/
|
|
@@ -62216,6 +62432,7 @@ class AuthorizationResponse {
|
|
|
62216
62432
|
this.whiteListedCard = whiteListedCard;
|
|
62217
62433
|
this.storeAndForward = storeAndForward;
|
|
62218
62434
|
this.status = status;
|
|
62435
|
+
this.cardMetadata = cardMetadata;
|
|
62219
62436
|
}
|
|
62220
62437
|
}
|
|
62221
62438
|
exports.AuthorizationResponse = AuthorizationResponse;
|
|
@@ -63779,6 +63996,30 @@ class AddTestMerchantRequest {
|
|
|
63779
63996
|
}
|
|
63780
63997
|
}
|
|
63781
63998
|
exports.AddTestMerchantRequest = AddTestMerchantRequest;
|
|
63999
|
+
/**
|
|
64000
|
+
* Models basic information needed to create a gateway merchant.
|
|
64001
|
+
*/
|
|
64002
|
+
class AddGatewayMerchantRequest {
|
|
64003
|
+
// Constructor with default values for optional fields
|
|
64004
|
+
constructor(test = null, profile = null, timeout = null) {
|
|
64005
|
+
/**
|
|
64006
|
+
* Whether or not to route transaction to the test gateway.
|
|
64007
|
+
*/
|
|
64008
|
+
this.test = null;
|
|
64009
|
+
/**
|
|
64010
|
+
* The merchant profile to be boarded.
|
|
64011
|
+
*/
|
|
64012
|
+
this.profile = null;
|
|
64013
|
+
/**
|
|
64014
|
+
* The request timeout in seconds.
|
|
64015
|
+
*/
|
|
64016
|
+
this.timeout = null;
|
|
64017
|
+
this.test = test;
|
|
64018
|
+
this.profile = profile;
|
|
64019
|
+
this.timeout = timeout;
|
|
64020
|
+
}
|
|
64021
|
+
}
|
|
64022
|
+
exports.AddGatewayMerchantRequest = AddGatewayMerchantRequest;
|
|
63782
64023
|
/**
|
|
63783
64024
|
* Models a request for information about the merchant profile.
|
|
63784
64025
|
*/
|
|
@@ -63998,7 +64239,7 @@ exports.Address = Address;
|
|
|
63998
64239
|
*/
|
|
63999
64240
|
class MerchantProfile {
|
|
64000
64241
|
// Constructor with default values for optional fields
|
|
64001
|
-
constructor(timeout = null, test = null, merchantId = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null) {
|
|
64242
|
+
constructor(timeout = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null) {
|
|
64002
64243
|
/**
|
|
64003
64244
|
* The request timeout in seconds.
|
|
64004
64245
|
*/
|
|
@@ -64011,6 +64252,10 @@ class MerchantProfile {
|
|
|
64011
64252
|
* The merchant id.
|
|
64012
64253
|
*/
|
|
64013
64254
|
this.merchantId = null;
|
|
64255
|
+
/**
|
|
64256
|
+
* The primary bank mid.
|
|
64257
|
+
*/
|
|
64258
|
+
this.bankMid = null;
|
|
64014
64259
|
/**
|
|
64015
64260
|
* The merchant's company name.
|
|
64016
64261
|
*/
|
|
@@ -64214,6 +64459,7 @@ class MerchantProfile {
|
|
|
64214
64459
|
this.timeout = timeout;
|
|
64215
64460
|
this.test = test;
|
|
64216
64461
|
this.merchantId = merchantId;
|
|
64462
|
+
this.bankMid = bankMid;
|
|
64217
64463
|
this.companyName = companyName;
|
|
64218
64464
|
this.dbaName = dbaName;
|
|
64219
64465
|
this.invoiceName = invoiceName;
|
|
@@ -64271,7 +64517,7 @@ exports.MerchantProfile = MerchantProfile;
|
|
|
64271
64517
|
*/
|
|
64272
64518
|
class MerchantProfileResponse {
|
|
64273
64519
|
// Constructor with default values for optional fields
|
|
64274
|
-
constructor(success = null, error = null, responseDescription = null, test = null, merchantId = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null) {
|
|
64520
|
+
constructor(success = null, error = null, responseDescription = null, test = null, merchantId = null, bankMid = null, companyName = null, dbaName = null, invoiceName = null, contactName = null, contactNumber = null, locationName = null, storeNumber = null, partnerRef = null, timeZone = null, batchCloseTime = null, terminalUpdateTime = null, autoBatchClose = null, disableBatchEmails = null, pinEnabled = null, cashBackEnabled = null, storeAndForwardEnabled = null, partialAuthEnabled = null, splitBankAccountsEnabled = null, storeAndForwardFloorLimit = null, publicKey = null, status = null, cashDiscountEnabled = null, surveyTimeout = null, cooldownTimeout = null, tipEnabled = null, promptForTip = null, tipDefaults = null, cashbackPresets = null, ebtEnabled = null, freeRangeRefundsEnabled = null, pinBypassEnabled = null, giftCardsDisabled = null, tcDisabled = null, digitalSignaturesEnabled = null, digitalSignatureReversal = null, billingAddress = null, shippingAddress = null, visa = null, masterCard = null, amex = null, discover = null, jcb = null, unionPay = null, contactlessEmv = null, manualEntryEnabled = null, manualEntryPromptZip = null, manualEntryPromptStreetNumber = null, gatewayOnly = null, bankAccounts = null) {
|
|
64275
64521
|
/**
|
|
64276
64522
|
* Whether or not the request succeeded.
|
|
64277
64523
|
*/
|
|
@@ -64292,6 +64538,10 @@ class MerchantProfileResponse {
|
|
|
64292
64538
|
* The merchant id.
|
|
64293
64539
|
*/
|
|
64294
64540
|
this.merchantId = null;
|
|
64541
|
+
/**
|
|
64542
|
+
* The primary bank mid.
|
|
64543
|
+
*/
|
|
64544
|
+
this.bankMid = null;
|
|
64295
64545
|
/**
|
|
64296
64546
|
* The merchant's company name.
|
|
64297
64547
|
*/
|
|
@@ -64497,6 +64747,7 @@ class MerchantProfileResponse {
|
|
|
64497
64747
|
this.responseDescription = responseDescription;
|
|
64498
64748
|
this.test = test;
|
|
64499
64749
|
this.merchantId = merchantId;
|
|
64750
|
+
this.bankMid = bankMid;
|
|
64500
64751
|
this.companyName = companyName;
|
|
64501
64752
|
this.dbaName = dbaName;
|
|
64502
64753
|
this.invoiceName = invoiceName;
|
|
@@ -64989,7 +65240,7 @@ exports.UnlinkTokenRequest = UnlinkTokenRequest;
|
|
|
64989
65240
|
/**
|
|
64990
65241
|
* Fields for HSA/FSA transactions.
|
|
64991
65242
|
*/
|
|
64992
|
-
class
|
|
65243
|
+
class HealthcareMetadata {
|
|
64993
65244
|
// Constructor with default values for optional fields
|
|
64994
65245
|
constructor(types = null, iiasVerified = null, iiasExempt = null) {
|
|
64995
65246
|
/**
|
|
@@ -65010,7 +65261,7 @@ class Healthcare {
|
|
|
65010
65261
|
this.iiasExempt = iiasExempt;
|
|
65011
65262
|
}
|
|
65012
65263
|
}
|
|
65013
|
-
exports.
|
|
65264
|
+
exports.HealthcareMetadata = HealthcareMetadata;
|
|
65014
65265
|
/**
|
|
65015
65266
|
* A group of fields for a specific type of healthcare.
|
|
65016
65267
|
*/
|
|
@@ -65250,6 +65501,59 @@ class MerchantPlatformsResponse {
|
|
|
65250
65501
|
}
|
|
65251
65502
|
}
|
|
65252
65503
|
exports.MerchantPlatformsResponse = MerchantPlatformsResponse;
|
|
65504
|
+
/**
|
|
65505
|
+
* Used to up platform configuration for gateway merchants.
|
|
65506
|
+
*/
|
|
65507
|
+
class UpdateMerchantPlatformRequest {
|
|
65508
|
+
// Constructor with default values for optional fields
|
|
65509
|
+
constructor(timeout = null, test = null, platform = null) {
|
|
65510
|
+
/**
|
|
65511
|
+
* The request timeout in seconds.
|
|
65512
|
+
*/
|
|
65513
|
+
this.timeout = null;
|
|
65514
|
+
/**
|
|
65515
|
+
* Whether or not to route transaction to the test gateway.
|
|
65516
|
+
*/
|
|
65517
|
+
this.test = null;
|
|
65518
|
+
/**
|
|
65519
|
+
* The merchant platform configuration.
|
|
65520
|
+
*/
|
|
65521
|
+
this.platform = null;
|
|
65522
|
+
this.timeout = timeout;
|
|
65523
|
+
this.test = test;
|
|
65524
|
+
this.platform = platform;
|
|
65525
|
+
}
|
|
65526
|
+
}
|
|
65527
|
+
exports.UpdateMerchantPlatformRequest = UpdateMerchantPlatformRequest;
|
|
65528
|
+
/**
|
|
65529
|
+
* Echoes back the state of the current platform configuration after a change.
|
|
65530
|
+
*/
|
|
65531
|
+
class UpdateMerchantPlatformResponse {
|
|
65532
|
+
// Constructor with default values for optional fields
|
|
65533
|
+
constructor(success = null, error = null, responseDescription = null, platform = null) {
|
|
65534
|
+
/**
|
|
65535
|
+
* Whether or not the request succeeded.
|
|
65536
|
+
*/
|
|
65537
|
+
this.success = null;
|
|
65538
|
+
/**
|
|
65539
|
+
* The error, if an error occurred.
|
|
65540
|
+
*/
|
|
65541
|
+
this.error = null;
|
|
65542
|
+
/**
|
|
65543
|
+
* A narrative description of the transaction result.
|
|
65544
|
+
*/
|
|
65545
|
+
this.responseDescription = null;
|
|
65546
|
+
/**
|
|
65547
|
+
* The current platform configuration.
|
|
65548
|
+
*/
|
|
65549
|
+
this.platform = null;
|
|
65550
|
+
this.success = success;
|
|
65551
|
+
this.error = error;
|
|
65552
|
+
this.responseDescription = responseDescription;
|
|
65553
|
+
this.platform = platform;
|
|
65554
|
+
}
|
|
65555
|
+
}
|
|
65556
|
+
exports.UpdateMerchantPlatformResponse = UpdateMerchantPlatformResponse;
|
|
65253
65557
|
/**
|
|
65254
65558
|
* Details about a merchant board platform configuration.
|
|
65255
65559
|
*/
|
|
@@ -68201,7 +68505,7 @@ exports.PartnerCommissionBreakdownResponse = PartnerCommissionBreakdownResponse;
|
|
|
68201
68505
|
*/
|
|
68202
68506
|
class MerchantCredentialGenerationRequest {
|
|
68203
68507
|
// Constructor with default values for optional fields
|
|
68204
|
-
constructor(timeout = null, test = null, merchantId = null, deleteProtected = null, roles = null, notes = null) {
|
|
68508
|
+
constructor(timeout = null, test = null, merchantId = null, deleteProtected = null, roles = null, notes = null, credentialType = null) {
|
|
68205
68509
|
/**
|
|
68206
68510
|
* The request timeout in seconds.
|
|
68207
68511
|
*/
|
|
@@ -68226,12 +68530,17 @@ class MerchantCredentialGenerationRequest {
|
|
|
68226
68530
|
* Free form description of the purpose or intent behind the credentials.
|
|
68227
68531
|
*/
|
|
68228
68532
|
this.notes = null;
|
|
68533
|
+
/**
|
|
68534
|
+
* Type of credentials to generate, either API or TOKENIZING. Defaults to API.
|
|
68535
|
+
*/
|
|
68536
|
+
this.credentialType = null;
|
|
68229
68537
|
this.timeout = timeout;
|
|
68230
68538
|
this.test = test;
|
|
68231
68539
|
this.merchantId = merchantId;
|
|
68232
68540
|
this.deleteProtected = deleteProtected;
|
|
68233
68541
|
this.roles = roles;
|
|
68234
68542
|
this.notes = notes;
|
|
68543
|
+
this.credentialType = credentialType;
|
|
68235
68544
|
}
|
|
68236
68545
|
}
|
|
68237
68546
|
exports.MerchantCredentialGenerationRequest = MerchantCredentialGenerationRequest;
|
|
@@ -68240,7 +68549,7 @@ exports.MerchantCredentialGenerationRequest = MerchantCredentialGenerationReques
|
|
|
68240
68549
|
*/
|
|
68241
68550
|
class MerchantCredentialGenerationResponse {
|
|
68242
68551
|
// Constructor with default values for optional fields
|
|
68243
|
-
constructor(success = null, error = null, responseDescription = null, apiKey = null, bearerToken = null, signingKey = null) {
|
|
68552
|
+
constructor(success = null, error = null, responseDescription = null, apiKey = null, bearerToken = null, signingKey = null, tokenizingKey = null) {
|
|
68244
68553
|
/**
|
|
68245
68554
|
* Whether or not the request succeeded.
|
|
68246
68555
|
*/
|
|
@@ -68265,12 +68574,17 @@ class MerchantCredentialGenerationResponse {
|
|
|
68265
68574
|
* The merchant signing key.
|
|
68266
68575
|
*/
|
|
68267
68576
|
this.signingKey = null;
|
|
68577
|
+
/**
|
|
68578
|
+
* The tokenizing key.
|
|
68579
|
+
*/
|
|
68580
|
+
this.tokenizingKey = null;
|
|
68268
68581
|
this.success = success;
|
|
68269
68582
|
this.error = error;
|
|
68270
68583
|
this.responseDescription = responseDescription;
|
|
68271
68584
|
this.apiKey = apiKey;
|
|
68272
68585
|
this.bearerToken = bearerToken;
|
|
68273
68586
|
this.signingKey = signingKey;
|
|
68587
|
+
this.tokenizingKey = tokenizingKey;
|
|
68274
68588
|
}
|
|
68275
68589
|
}
|
|
68276
68590
|
exports.MerchantCredentialGenerationResponse = MerchantCredentialGenerationResponse;
|
|
@@ -68409,44 +68723,675 @@ class AggregateBillingLineItemStats {
|
|
|
68409
68723
|
}
|
|
68410
68724
|
exports.AggregateBillingLineItemStats = AggregateBillingLineItemStats;
|
|
68411
68725
|
/**
|
|
68412
|
-
*
|
|
68413
|
-
*/
|
|
68414
|
-
class TerminalCaptureSignatureRequest {
|
|
68415
|
-
constructor(APICredentials, request) {
|
|
68416
|
-
this.APICredentials = APICredentials;
|
|
68417
|
-
this.request = request;
|
|
68418
|
-
}
|
|
68419
|
-
}
|
|
68420
|
-
exports.TerminalCaptureSignatureRequest = TerminalCaptureSignatureRequest;
|
|
68421
|
-
/**
|
|
68422
|
-
* Information needed to test connectivity with a terminal.
|
|
68423
|
-
*/
|
|
68424
|
-
class TerminalPingRequest {
|
|
68425
|
-
constructor(APICredentials, request) {
|
|
68426
|
-
this.APICredentials = APICredentials;
|
|
68427
|
-
this.request = request;
|
|
68428
|
-
}
|
|
68429
|
-
}
|
|
68430
|
-
exports.TerminalPingRequest = TerminalPingRequest;
|
|
68431
|
-
/**
|
|
68432
|
-
* Information needed to retrieve location information for a terminal.
|
|
68433
|
-
*/
|
|
68434
|
-
class TerminalLocateRequest {
|
|
68435
|
-
constructor(APICredentials, request) {
|
|
68436
|
-
this.APICredentials = APICredentials;
|
|
68437
|
-
this.request = request;
|
|
68438
|
-
}
|
|
68439
|
-
}
|
|
68440
|
-
exports.TerminalLocateRequest = TerminalLocateRequest;
|
|
68441
|
-
/**
|
|
68442
|
-
* A message to be displayed on the terminal screen.
|
|
68726
|
+
* Models an individual with 25% or more ownership interest in a company.
|
|
68443
68727
|
*/
|
|
68444
|
-
class
|
|
68445
|
-
|
|
68446
|
-
|
|
68447
|
-
|
|
68448
|
-
|
|
68449
|
-
|
|
68728
|
+
class Owner {
|
|
68729
|
+
// Constructor with default values for optional fields
|
|
68730
|
+
constructor(firstName = null, lastName = null, jobTitle = null, taxIdNumber = null, phoneNumber = null, dob = null, ownership = null, address = null, email = null, singleLineAddress = null, entityType = null, dlNumber = null, dlStateOrProvince = null, dlExpiration = null) {
|
|
68731
|
+
/**
|
|
68732
|
+
* The first name of the owner.
|
|
68733
|
+
*/
|
|
68734
|
+
this.firstName = null;
|
|
68735
|
+
/**
|
|
68736
|
+
* The last name of the owner.
|
|
68737
|
+
*/
|
|
68738
|
+
this.lastName = null;
|
|
68739
|
+
/**
|
|
68740
|
+
* The job title of the owner.
|
|
68741
|
+
*/
|
|
68742
|
+
this.jobTitle = null;
|
|
68743
|
+
/**
|
|
68744
|
+
* The tax identification number (SSN) of the owner.
|
|
68745
|
+
*/
|
|
68746
|
+
this.taxIdNumber = null;
|
|
68747
|
+
/**
|
|
68748
|
+
* The phone number of the owner.
|
|
68749
|
+
*/
|
|
68750
|
+
this.phoneNumber = null;
|
|
68751
|
+
/**
|
|
68752
|
+
* The date of birth of the owner in mm/dd/yyyy format.
|
|
68753
|
+
*/
|
|
68754
|
+
this.dob = null;
|
|
68755
|
+
/**
|
|
68756
|
+
* The percentage of ownership.
|
|
68757
|
+
*/
|
|
68758
|
+
this.ownership = null;
|
|
68759
|
+
/**
|
|
68760
|
+
* The address of the owner.
|
|
68761
|
+
*/
|
|
68762
|
+
this.address = null;
|
|
68763
|
+
/**
|
|
68764
|
+
* The email address of the owner.
|
|
68765
|
+
*/
|
|
68766
|
+
this.email = null;
|
|
68767
|
+
/**
|
|
68768
|
+
* A single line representation of the owner's address.
|
|
68769
|
+
*/
|
|
68770
|
+
this.singleLineAddress = null;
|
|
68771
|
+
/**
|
|
68772
|
+
* The type of entity this owner represents.
|
|
68773
|
+
*/
|
|
68774
|
+
this.entityType = null;
|
|
68775
|
+
/**
|
|
68776
|
+
* The driver's license number of the owner.
|
|
68777
|
+
*/
|
|
68778
|
+
this.dlNumber = null;
|
|
68779
|
+
/**
|
|
68780
|
+
* The state that issued the owner's driver's license.
|
|
68781
|
+
*/
|
|
68782
|
+
this.dlStateOrProvince = null;
|
|
68783
|
+
/**
|
|
68784
|
+
* The expiration date of the owner's driver's license.
|
|
68785
|
+
*/
|
|
68786
|
+
this.dlExpiration = null;
|
|
68787
|
+
this.firstName = firstName;
|
|
68788
|
+
this.lastName = lastName;
|
|
68789
|
+
this.jobTitle = jobTitle;
|
|
68790
|
+
this.taxIdNumber = taxIdNumber;
|
|
68791
|
+
this.phoneNumber = phoneNumber;
|
|
68792
|
+
this.dob = dob;
|
|
68793
|
+
this.ownership = ownership;
|
|
68794
|
+
this.address = address;
|
|
68795
|
+
this.email = email;
|
|
68796
|
+
this.singleLineAddress = singleLineAddress;
|
|
68797
|
+
this.entityType = entityType;
|
|
68798
|
+
this.dlNumber = dlNumber;
|
|
68799
|
+
this.dlStateOrProvince = dlStateOrProvince;
|
|
68800
|
+
this.dlExpiration = dlExpiration;
|
|
68801
|
+
}
|
|
68802
|
+
}
|
|
68803
|
+
exports.Owner = Owner;
|
|
68804
|
+
/**
|
|
68805
|
+
* Models a bank account associated with an application.
|
|
68806
|
+
*/
|
|
68807
|
+
class ApplicationAccount {
|
|
68808
|
+
// Constructor with default values for optional fields
|
|
68809
|
+
constructor(name = null, bank = null, accountHolderName = null, routingNumber = null, accountNumber = null) {
|
|
68810
|
+
/**
|
|
68811
|
+
* The name of the bank account.
|
|
68812
|
+
*/
|
|
68813
|
+
this.name = null;
|
|
68814
|
+
/**
|
|
68815
|
+
* The name of the bank.
|
|
68816
|
+
*/
|
|
68817
|
+
this.bank = null;
|
|
68818
|
+
/**
|
|
68819
|
+
* The name of the account holder.
|
|
68820
|
+
*/
|
|
68821
|
+
this.accountHolderName = null;
|
|
68822
|
+
/**
|
|
68823
|
+
* The routing number of the bank.
|
|
68824
|
+
*/
|
|
68825
|
+
this.routingNumber = null;
|
|
68826
|
+
/**
|
|
68827
|
+
* The account number.
|
|
68828
|
+
*/
|
|
68829
|
+
this.accountNumber = null;
|
|
68830
|
+
this.name = name;
|
|
68831
|
+
this.bank = bank;
|
|
68832
|
+
this.accountHolderName = accountHolderName;
|
|
68833
|
+
this.routingNumber = routingNumber;
|
|
68834
|
+
this.accountNumber = accountNumber;
|
|
68835
|
+
}
|
|
68836
|
+
}
|
|
68837
|
+
exports.ApplicationAccount = ApplicationAccount;
|
|
68838
|
+
/**
|
|
68839
|
+
* Models a merchant application form to add a merchant account.
|
|
68840
|
+
*/
|
|
68841
|
+
class MerchantApplication {
|
|
68842
|
+
// Constructor with default values for optional fields
|
|
68843
|
+
constructor(inviteCode = null, dbaName = null, corporateName = null, webSite = null, taxIdNumber = null, entityType = null, stateOfIncorporation = null, merchantType = null, businessDescription = null, yearsInBusiness = null, businessPhoneNumber = null, physicalAddress = null, mailingAddress = null, contactFirstName = null, contactLastName = null, contactPhoneNumber = null, contactEmail = null, contactTitle = null, contactTaxIdNumber = null, contactDOB = null, contactDlNumber = null, contactDlStateOrProvince = null, contactDlExpiration = null, contactHomeAddress = null, contactRole = null, owners = null, manualAccount = null, averageTransaction = null, highTransaction = null, averageMonth = null, highMonth = null, refundPolicy = null, refundDays = null, timeZone = null, batchCloseTime = null, multipleLocations = null, locationName = null, storeNumber = null, ebtRequested = null, fnsNumber = null, ecommerce = null, dropShipping = null, cardPresentPercentage = null, phoneOrderPercentage = null, ecomPercentage = null, billBeforeShipmentDays = null, subscriptionsSupported = null, subscriptionFrequency = null, signerName = null) {
|
|
68844
|
+
/**
|
|
68845
|
+
* The invite code for the merchant.
|
|
68846
|
+
*/
|
|
68847
|
+
this.inviteCode = null;
|
|
68848
|
+
/**
|
|
68849
|
+
* The business name your customers know you by (DBA Name).
|
|
68850
|
+
*/
|
|
68851
|
+
this.dbaName = null;
|
|
68852
|
+
/**
|
|
68853
|
+
* The name of the legal entity you file your taxes under.
|
|
68854
|
+
*/
|
|
68855
|
+
this.corporateName = null;
|
|
68856
|
+
/**
|
|
68857
|
+
* The business website.
|
|
68858
|
+
*/
|
|
68859
|
+
this.webSite = null;
|
|
68860
|
+
/**
|
|
68861
|
+
* The business tax identification number (EIN).
|
|
68862
|
+
*/
|
|
68863
|
+
this.taxIdNumber = null;
|
|
68864
|
+
/**
|
|
68865
|
+
* The type of business entity.
|
|
68866
|
+
*/
|
|
68867
|
+
this.entityType = null;
|
|
68868
|
+
/**
|
|
68869
|
+
* The state where the business is incorporated.
|
|
68870
|
+
*/
|
|
68871
|
+
this.stateOfIncorporation = null;
|
|
68872
|
+
/**
|
|
68873
|
+
* The primary type of business (e.g., Retail, Service, etc.).
|
|
68874
|
+
*/
|
|
68875
|
+
this.merchantType = null;
|
|
68876
|
+
/**
|
|
68877
|
+
* A short description of the products and services sold.
|
|
68878
|
+
*/
|
|
68879
|
+
this.businessDescription = null;
|
|
68880
|
+
/**
|
|
68881
|
+
* The number of years the business has been operating.
|
|
68882
|
+
*/
|
|
68883
|
+
this.yearsInBusiness = null;
|
|
68884
|
+
/**
|
|
68885
|
+
* The business telephone number.
|
|
68886
|
+
*/
|
|
68887
|
+
this.businessPhoneNumber = null;
|
|
68888
|
+
/**
|
|
68889
|
+
* The physical address of the business.
|
|
68890
|
+
*/
|
|
68891
|
+
this.physicalAddress = null;
|
|
68892
|
+
/**
|
|
68893
|
+
* The mailing address of the business.
|
|
68894
|
+
*/
|
|
68895
|
+
this.mailingAddress = null;
|
|
68896
|
+
/**
|
|
68897
|
+
* The first name of the primary contact.
|
|
68898
|
+
*/
|
|
68899
|
+
this.contactFirstName = null;
|
|
68900
|
+
/**
|
|
68901
|
+
* The last name of the primary contact.
|
|
68902
|
+
*/
|
|
68903
|
+
this.contactLastName = null;
|
|
68904
|
+
/**
|
|
68905
|
+
* The phone number of the primary contact.
|
|
68906
|
+
*/
|
|
68907
|
+
this.contactPhoneNumber = null;
|
|
68908
|
+
/**
|
|
68909
|
+
* The email address of the primary contact.
|
|
68910
|
+
*/
|
|
68911
|
+
this.contactEmail = null;
|
|
68912
|
+
/**
|
|
68913
|
+
* The job title of the primary contact.
|
|
68914
|
+
*/
|
|
68915
|
+
this.contactTitle = null;
|
|
68916
|
+
/**
|
|
68917
|
+
* The tax identification number (SSN) of the primary contact.
|
|
68918
|
+
*/
|
|
68919
|
+
this.contactTaxIdNumber = null;
|
|
68920
|
+
/**
|
|
68921
|
+
* The date of birth of the primary contact.
|
|
68922
|
+
*/
|
|
68923
|
+
this.contactDOB = null;
|
|
68924
|
+
/**
|
|
68925
|
+
* The driver's license number of the primary contact.
|
|
68926
|
+
*/
|
|
68927
|
+
this.contactDlNumber = null;
|
|
68928
|
+
/**
|
|
68929
|
+
* The state that issued the primary contact's driver's license.
|
|
68930
|
+
*/
|
|
68931
|
+
this.contactDlStateOrProvince = null;
|
|
68932
|
+
/**
|
|
68933
|
+
* The expiration date of the primary contact's driver's license.
|
|
68934
|
+
*/
|
|
68935
|
+
this.contactDlExpiration = null;
|
|
68936
|
+
/**
|
|
68937
|
+
* The home address of the primary contact.
|
|
68938
|
+
*/
|
|
68939
|
+
this.contactHomeAddress = null;
|
|
68940
|
+
/**
|
|
68941
|
+
* The role of the primary contact in the business.
|
|
68942
|
+
*/
|
|
68943
|
+
this.contactRole = null;
|
|
68944
|
+
/**
|
|
68945
|
+
* List of individuals with 25% or more ownership in the company.
|
|
68946
|
+
*/
|
|
68947
|
+
this.owners = null;
|
|
68948
|
+
/**
|
|
68949
|
+
* The bank account information for the business.
|
|
68950
|
+
*/
|
|
68951
|
+
this.manualAccount = null;
|
|
68952
|
+
/**
|
|
68953
|
+
* The average transaction amount.
|
|
68954
|
+
*/
|
|
68955
|
+
this.averageTransaction = null;
|
|
68956
|
+
/**
|
|
68957
|
+
* The highest expected transaction amount.
|
|
68958
|
+
*/
|
|
68959
|
+
this.highTransaction = null;
|
|
68960
|
+
/**
|
|
68961
|
+
* The average monthly transaction volume.
|
|
68962
|
+
*/
|
|
68963
|
+
this.averageMonth = null;
|
|
68964
|
+
/**
|
|
68965
|
+
* The highest expected monthly transaction volume.
|
|
68966
|
+
*/
|
|
68967
|
+
this.highMonth = null;
|
|
68968
|
+
/**
|
|
68969
|
+
* The refund policy of the business.
|
|
68970
|
+
*/
|
|
68971
|
+
this.refundPolicy = null;
|
|
68972
|
+
/**
|
|
68973
|
+
* The number of days after purchase that refunds can be issued.
|
|
68974
|
+
*/
|
|
68975
|
+
this.refundDays = null;
|
|
68976
|
+
/**
|
|
68977
|
+
* The time zone of the business.
|
|
68978
|
+
*/
|
|
68979
|
+
this.timeZone = null;
|
|
68980
|
+
/**
|
|
68981
|
+
* The time when the daily batch should close.
|
|
68982
|
+
*/
|
|
68983
|
+
this.batchCloseTime = null;
|
|
68984
|
+
/**
|
|
68985
|
+
* Indicates if the business has multiple locations.
|
|
68986
|
+
*/
|
|
68987
|
+
this.multipleLocations = null;
|
|
68988
|
+
/**
|
|
68989
|
+
* The name of this specific business location.
|
|
68990
|
+
*/
|
|
68991
|
+
this.locationName = null;
|
|
68992
|
+
/**
|
|
68993
|
+
* The store number for this location.
|
|
68994
|
+
*/
|
|
68995
|
+
this.storeNumber = null;
|
|
68996
|
+
/**
|
|
68997
|
+
* Indicates if the business wants to accept EBT cards.
|
|
68998
|
+
*/
|
|
68999
|
+
this.ebtRequested = null;
|
|
69000
|
+
/**
|
|
69001
|
+
* The FNS number issued by the USDA for EBT processing.
|
|
69002
|
+
*/
|
|
69003
|
+
this.fnsNumber = null;
|
|
69004
|
+
/**
|
|
69005
|
+
* Indicates if the business plans to accept payments through a website.
|
|
69006
|
+
*/
|
|
69007
|
+
this.ecommerce = null;
|
|
69008
|
+
/**
|
|
69009
|
+
* Indicates if suppliers ship products directly to customers.
|
|
69010
|
+
*/
|
|
69011
|
+
this.dropShipping = null;
|
|
69012
|
+
/**
|
|
69013
|
+
* The percentage of transactions that will be chip or swipe.
|
|
69014
|
+
*/
|
|
69015
|
+
this.cardPresentPercentage = null;
|
|
69016
|
+
/**
|
|
69017
|
+
* The percentage of transactions that will be phone orders.
|
|
69018
|
+
*/
|
|
69019
|
+
this.phoneOrderPercentage = null;
|
|
69020
|
+
/**
|
|
69021
|
+
* The percentage of transactions that will be e-commerce.
|
|
69022
|
+
*/
|
|
69023
|
+
this.ecomPercentage = null;
|
|
69024
|
+
/**
|
|
69025
|
+
* The number of days before shipment that customers are charged.
|
|
69026
|
+
*/
|
|
69027
|
+
this.billBeforeShipmentDays = null;
|
|
69028
|
+
/**
|
|
69029
|
+
* Indicates if the business plans to process recurring payments.
|
|
69030
|
+
*/
|
|
69031
|
+
this.subscriptionsSupported = null;
|
|
69032
|
+
/**
|
|
69033
|
+
* The frequency of recurring payments (if applicable).
|
|
69034
|
+
*/
|
|
69035
|
+
this.subscriptionFrequency = null;
|
|
69036
|
+
/**
|
|
69037
|
+
* The full legal name of the person signing the application.
|
|
69038
|
+
*/
|
|
69039
|
+
this.signerName = null;
|
|
69040
|
+
this.inviteCode = inviteCode;
|
|
69041
|
+
this.dbaName = dbaName;
|
|
69042
|
+
this.corporateName = corporateName;
|
|
69043
|
+
this.webSite = webSite;
|
|
69044
|
+
this.taxIdNumber = taxIdNumber;
|
|
69045
|
+
this.entityType = entityType;
|
|
69046
|
+
this.stateOfIncorporation = stateOfIncorporation;
|
|
69047
|
+
this.merchantType = merchantType;
|
|
69048
|
+
this.businessDescription = businessDescription;
|
|
69049
|
+
this.yearsInBusiness = yearsInBusiness;
|
|
69050
|
+
this.businessPhoneNumber = businessPhoneNumber;
|
|
69051
|
+
this.physicalAddress = physicalAddress;
|
|
69052
|
+
this.mailingAddress = mailingAddress;
|
|
69053
|
+
this.contactFirstName = contactFirstName;
|
|
69054
|
+
this.contactLastName = contactLastName;
|
|
69055
|
+
this.contactPhoneNumber = contactPhoneNumber;
|
|
69056
|
+
this.contactEmail = contactEmail;
|
|
69057
|
+
this.contactTitle = contactTitle;
|
|
69058
|
+
this.contactTaxIdNumber = contactTaxIdNumber;
|
|
69059
|
+
this.contactDOB = contactDOB;
|
|
69060
|
+
this.contactDlNumber = contactDlNumber;
|
|
69061
|
+
this.contactDlStateOrProvince = contactDlStateOrProvince;
|
|
69062
|
+
this.contactDlExpiration = contactDlExpiration;
|
|
69063
|
+
this.contactHomeAddress = contactHomeAddress;
|
|
69064
|
+
this.contactRole = contactRole;
|
|
69065
|
+
this.owners = owners;
|
|
69066
|
+
this.manualAccount = manualAccount;
|
|
69067
|
+
this.averageTransaction = averageTransaction;
|
|
69068
|
+
this.highTransaction = highTransaction;
|
|
69069
|
+
this.averageMonth = averageMonth;
|
|
69070
|
+
this.highMonth = highMonth;
|
|
69071
|
+
this.refundPolicy = refundPolicy;
|
|
69072
|
+
this.refundDays = refundDays;
|
|
69073
|
+
this.timeZone = timeZone;
|
|
69074
|
+
this.batchCloseTime = batchCloseTime;
|
|
69075
|
+
this.multipleLocations = multipleLocations;
|
|
69076
|
+
this.locationName = locationName;
|
|
69077
|
+
this.storeNumber = storeNumber;
|
|
69078
|
+
this.ebtRequested = ebtRequested;
|
|
69079
|
+
this.fnsNumber = fnsNumber;
|
|
69080
|
+
this.ecommerce = ecommerce;
|
|
69081
|
+
this.dropShipping = dropShipping;
|
|
69082
|
+
this.cardPresentPercentage = cardPresentPercentage;
|
|
69083
|
+
this.phoneOrderPercentage = phoneOrderPercentage;
|
|
69084
|
+
this.ecomPercentage = ecomPercentage;
|
|
69085
|
+
this.billBeforeShipmentDays = billBeforeShipmentDays;
|
|
69086
|
+
this.subscriptionsSupported = subscriptionsSupported;
|
|
69087
|
+
this.subscriptionFrequency = subscriptionFrequency;
|
|
69088
|
+
this.signerName = signerName;
|
|
69089
|
+
}
|
|
69090
|
+
}
|
|
69091
|
+
exports.MerchantApplication = MerchantApplication;
|
|
69092
|
+
/**
|
|
69093
|
+
* Models a merchant application submission request to add a new merchant account.
|
|
69094
|
+
*/
|
|
69095
|
+
class SubmitApplicationRequest {
|
|
69096
|
+
// Constructor with default values for optional fields
|
|
69097
|
+
constructor(timeout = null, test = null, inviteCode = null, dbaName = null, corporateName = null, webSite = null, taxIdNumber = null, entityType = null, stateOfIncorporation = null, merchantType = null, businessDescription = null, yearsInBusiness = null, businessPhoneNumber = null, physicalAddress = null, mailingAddress = null, contactFirstName = null, contactLastName = null, contactPhoneNumber = null, contactEmail = null, contactTitle = null, contactTaxIdNumber = null, contactDOB = null, contactDlNumber = null, contactDlStateOrProvince = null, contactDlExpiration = null, contactHomeAddress = null, contactRole = null, owners = null, manualAccount = null, averageTransaction = null, highTransaction = null, averageMonth = null, highMonth = null, refundPolicy = null, refundDays = null, timeZone = null, batchCloseTime = null, multipleLocations = null, locationName = null, storeNumber = null, ebtRequested = null, fnsNumber = null, ecommerce = null, dropShipping = null, cardPresentPercentage = null, phoneOrderPercentage = null, ecomPercentage = null, billBeforeShipmentDays = null, subscriptionsSupported = null, subscriptionFrequency = null, signerName = null) {
|
|
69098
|
+
/**
|
|
69099
|
+
* The request timeout in seconds.
|
|
69100
|
+
*/
|
|
69101
|
+
this.timeout = null;
|
|
69102
|
+
/**
|
|
69103
|
+
* Whether or not to route transaction to the test gateway.
|
|
69104
|
+
*/
|
|
69105
|
+
this.test = null;
|
|
69106
|
+
/**
|
|
69107
|
+
* The invite code for the merchant.
|
|
69108
|
+
*/
|
|
69109
|
+
this.inviteCode = null;
|
|
69110
|
+
/**
|
|
69111
|
+
* The business name your customers know you by (DBA Name).
|
|
69112
|
+
*/
|
|
69113
|
+
this.dbaName = null;
|
|
69114
|
+
/**
|
|
69115
|
+
* The name of the legal entity you file your taxes under.
|
|
69116
|
+
*/
|
|
69117
|
+
this.corporateName = null;
|
|
69118
|
+
/**
|
|
69119
|
+
* The business website.
|
|
69120
|
+
*/
|
|
69121
|
+
this.webSite = null;
|
|
69122
|
+
/**
|
|
69123
|
+
* The business tax identification number (EIN).
|
|
69124
|
+
*/
|
|
69125
|
+
this.taxIdNumber = null;
|
|
69126
|
+
/**
|
|
69127
|
+
* The type of business entity.
|
|
69128
|
+
*/
|
|
69129
|
+
this.entityType = null;
|
|
69130
|
+
/**
|
|
69131
|
+
* The state where the business is incorporated.
|
|
69132
|
+
*/
|
|
69133
|
+
this.stateOfIncorporation = null;
|
|
69134
|
+
/**
|
|
69135
|
+
* The primary type of business (e.g., Retail, Service, etc.).
|
|
69136
|
+
*/
|
|
69137
|
+
this.merchantType = null;
|
|
69138
|
+
/**
|
|
69139
|
+
* A short description of the products and services sold.
|
|
69140
|
+
*/
|
|
69141
|
+
this.businessDescription = null;
|
|
69142
|
+
/**
|
|
69143
|
+
* The number of years the business has been operating.
|
|
69144
|
+
*/
|
|
69145
|
+
this.yearsInBusiness = null;
|
|
69146
|
+
/**
|
|
69147
|
+
* The business telephone number.
|
|
69148
|
+
*/
|
|
69149
|
+
this.businessPhoneNumber = null;
|
|
69150
|
+
/**
|
|
69151
|
+
* The physical address of the business.
|
|
69152
|
+
*/
|
|
69153
|
+
this.physicalAddress = null;
|
|
69154
|
+
/**
|
|
69155
|
+
* The mailing address of the business.
|
|
69156
|
+
*/
|
|
69157
|
+
this.mailingAddress = null;
|
|
69158
|
+
/**
|
|
69159
|
+
* The first name of the primary contact.
|
|
69160
|
+
*/
|
|
69161
|
+
this.contactFirstName = null;
|
|
69162
|
+
/**
|
|
69163
|
+
* The last name of the primary contact.
|
|
69164
|
+
*/
|
|
69165
|
+
this.contactLastName = null;
|
|
69166
|
+
/**
|
|
69167
|
+
* The phone number of the primary contact.
|
|
69168
|
+
*/
|
|
69169
|
+
this.contactPhoneNumber = null;
|
|
69170
|
+
/**
|
|
69171
|
+
* The email address of the primary contact.
|
|
69172
|
+
*/
|
|
69173
|
+
this.contactEmail = null;
|
|
69174
|
+
/**
|
|
69175
|
+
* The job title of the primary contact.
|
|
69176
|
+
*/
|
|
69177
|
+
this.contactTitle = null;
|
|
69178
|
+
/**
|
|
69179
|
+
* The tax identification number (SSN) of the primary contact.
|
|
69180
|
+
*/
|
|
69181
|
+
this.contactTaxIdNumber = null;
|
|
69182
|
+
/**
|
|
69183
|
+
* The date of birth of the primary contact.
|
|
69184
|
+
*/
|
|
69185
|
+
this.contactDOB = null;
|
|
69186
|
+
/**
|
|
69187
|
+
* The driver's license number of the primary contact.
|
|
69188
|
+
*/
|
|
69189
|
+
this.contactDlNumber = null;
|
|
69190
|
+
/**
|
|
69191
|
+
* The state that issued the primary contact's driver's license.
|
|
69192
|
+
*/
|
|
69193
|
+
this.contactDlStateOrProvince = null;
|
|
69194
|
+
/**
|
|
69195
|
+
* The expiration date of the primary contact's driver's license.
|
|
69196
|
+
*/
|
|
69197
|
+
this.contactDlExpiration = null;
|
|
69198
|
+
/**
|
|
69199
|
+
* The home address of the primary contact.
|
|
69200
|
+
*/
|
|
69201
|
+
this.contactHomeAddress = null;
|
|
69202
|
+
/**
|
|
69203
|
+
* The role of the primary contact in the business.
|
|
69204
|
+
*/
|
|
69205
|
+
this.contactRole = null;
|
|
69206
|
+
/**
|
|
69207
|
+
* List of individuals with 25% or more ownership in the company.
|
|
69208
|
+
*/
|
|
69209
|
+
this.owners = null;
|
|
69210
|
+
/**
|
|
69211
|
+
* The bank account information for the business.
|
|
69212
|
+
*/
|
|
69213
|
+
this.manualAccount = null;
|
|
69214
|
+
/**
|
|
69215
|
+
* The average transaction amount.
|
|
69216
|
+
*/
|
|
69217
|
+
this.averageTransaction = null;
|
|
69218
|
+
/**
|
|
69219
|
+
* The highest expected transaction amount.
|
|
69220
|
+
*/
|
|
69221
|
+
this.highTransaction = null;
|
|
69222
|
+
/**
|
|
69223
|
+
* The average monthly transaction volume.
|
|
69224
|
+
*/
|
|
69225
|
+
this.averageMonth = null;
|
|
69226
|
+
/**
|
|
69227
|
+
* The highest expected monthly transaction volume.
|
|
69228
|
+
*/
|
|
69229
|
+
this.highMonth = null;
|
|
69230
|
+
/**
|
|
69231
|
+
* The refund policy of the business.
|
|
69232
|
+
*/
|
|
69233
|
+
this.refundPolicy = null;
|
|
69234
|
+
/**
|
|
69235
|
+
* The number of days after purchase that refunds can be issued.
|
|
69236
|
+
*/
|
|
69237
|
+
this.refundDays = null;
|
|
69238
|
+
/**
|
|
69239
|
+
* The time zone of the business.
|
|
69240
|
+
*/
|
|
69241
|
+
this.timeZone = null;
|
|
69242
|
+
/**
|
|
69243
|
+
* The time when the daily batch should close.
|
|
69244
|
+
*/
|
|
69245
|
+
this.batchCloseTime = null;
|
|
69246
|
+
/**
|
|
69247
|
+
* Indicates if the business has multiple locations.
|
|
69248
|
+
*/
|
|
69249
|
+
this.multipleLocations = null;
|
|
69250
|
+
/**
|
|
69251
|
+
* The name of this specific business location.
|
|
69252
|
+
*/
|
|
69253
|
+
this.locationName = null;
|
|
69254
|
+
/**
|
|
69255
|
+
* The store number for this location.
|
|
69256
|
+
*/
|
|
69257
|
+
this.storeNumber = null;
|
|
69258
|
+
/**
|
|
69259
|
+
* Indicates if the business wants to accept EBT cards.
|
|
69260
|
+
*/
|
|
69261
|
+
this.ebtRequested = null;
|
|
69262
|
+
/**
|
|
69263
|
+
* The FNS number issued by the USDA for EBT processing.
|
|
69264
|
+
*/
|
|
69265
|
+
this.fnsNumber = null;
|
|
69266
|
+
/**
|
|
69267
|
+
* Indicates if the business plans to accept payments through a website.
|
|
69268
|
+
*/
|
|
69269
|
+
this.ecommerce = null;
|
|
69270
|
+
/**
|
|
69271
|
+
* Indicates if suppliers ship products directly to customers.
|
|
69272
|
+
*/
|
|
69273
|
+
this.dropShipping = null;
|
|
69274
|
+
/**
|
|
69275
|
+
* The percentage of transactions that will be chip or swipe.
|
|
69276
|
+
*/
|
|
69277
|
+
this.cardPresentPercentage = null;
|
|
69278
|
+
/**
|
|
69279
|
+
* The percentage of transactions that will be phone orders.
|
|
69280
|
+
*/
|
|
69281
|
+
this.phoneOrderPercentage = null;
|
|
69282
|
+
/**
|
|
69283
|
+
* The percentage of transactions that will be e-commerce.
|
|
69284
|
+
*/
|
|
69285
|
+
this.ecomPercentage = null;
|
|
69286
|
+
/**
|
|
69287
|
+
* The number of days before shipment that customers are charged.
|
|
69288
|
+
*/
|
|
69289
|
+
this.billBeforeShipmentDays = null;
|
|
69290
|
+
/**
|
|
69291
|
+
* Indicates if the business plans to process recurring payments.
|
|
69292
|
+
*/
|
|
69293
|
+
this.subscriptionsSupported = null;
|
|
69294
|
+
/**
|
|
69295
|
+
* The frequency of recurring payments (if applicable).
|
|
69296
|
+
*/
|
|
69297
|
+
this.subscriptionFrequency = null;
|
|
69298
|
+
/**
|
|
69299
|
+
* The full legal name of the person signing the application.
|
|
69300
|
+
*/
|
|
69301
|
+
this.signerName = null;
|
|
69302
|
+
this.timeout = timeout;
|
|
69303
|
+
this.test = test;
|
|
69304
|
+
this.inviteCode = inviteCode;
|
|
69305
|
+
this.dbaName = dbaName;
|
|
69306
|
+
this.corporateName = corporateName;
|
|
69307
|
+
this.webSite = webSite;
|
|
69308
|
+
this.taxIdNumber = taxIdNumber;
|
|
69309
|
+
this.entityType = entityType;
|
|
69310
|
+
this.stateOfIncorporation = stateOfIncorporation;
|
|
69311
|
+
this.merchantType = merchantType;
|
|
69312
|
+
this.businessDescription = businessDescription;
|
|
69313
|
+
this.yearsInBusiness = yearsInBusiness;
|
|
69314
|
+
this.businessPhoneNumber = businessPhoneNumber;
|
|
69315
|
+
this.physicalAddress = physicalAddress;
|
|
69316
|
+
this.mailingAddress = mailingAddress;
|
|
69317
|
+
this.contactFirstName = contactFirstName;
|
|
69318
|
+
this.contactLastName = contactLastName;
|
|
69319
|
+
this.contactPhoneNumber = contactPhoneNumber;
|
|
69320
|
+
this.contactEmail = contactEmail;
|
|
69321
|
+
this.contactTitle = contactTitle;
|
|
69322
|
+
this.contactTaxIdNumber = contactTaxIdNumber;
|
|
69323
|
+
this.contactDOB = contactDOB;
|
|
69324
|
+
this.contactDlNumber = contactDlNumber;
|
|
69325
|
+
this.contactDlStateOrProvince = contactDlStateOrProvince;
|
|
69326
|
+
this.contactDlExpiration = contactDlExpiration;
|
|
69327
|
+
this.contactHomeAddress = contactHomeAddress;
|
|
69328
|
+
this.contactRole = contactRole;
|
|
69329
|
+
this.owners = owners;
|
|
69330
|
+
this.manualAccount = manualAccount;
|
|
69331
|
+
this.averageTransaction = averageTransaction;
|
|
69332
|
+
this.highTransaction = highTransaction;
|
|
69333
|
+
this.averageMonth = averageMonth;
|
|
69334
|
+
this.highMonth = highMonth;
|
|
69335
|
+
this.refundPolicy = refundPolicy;
|
|
69336
|
+
this.refundDays = refundDays;
|
|
69337
|
+
this.timeZone = timeZone;
|
|
69338
|
+
this.batchCloseTime = batchCloseTime;
|
|
69339
|
+
this.multipleLocations = multipleLocations;
|
|
69340
|
+
this.locationName = locationName;
|
|
69341
|
+
this.storeNumber = storeNumber;
|
|
69342
|
+
this.ebtRequested = ebtRequested;
|
|
69343
|
+
this.fnsNumber = fnsNumber;
|
|
69344
|
+
this.ecommerce = ecommerce;
|
|
69345
|
+
this.dropShipping = dropShipping;
|
|
69346
|
+
this.cardPresentPercentage = cardPresentPercentage;
|
|
69347
|
+
this.phoneOrderPercentage = phoneOrderPercentage;
|
|
69348
|
+
this.ecomPercentage = ecomPercentage;
|
|
69349
|
+
this.billBeforeShipmentDays = billBeforeShipmentDays;
|
|
69350
|
+
this.subscriptionsSupported = subscriptionsSupported;
|
|
69351
|
+
this.subscriptionFrequency = subscriptionFrequency;
|
|
69352
|
+
this.signerName = signerName;
|
|
69353
|
+
}
|
|
69354
|
+
}
|
|
69355
|
+
exports.SubmitApplicationRequest = SubmitApplicationRequest;
|
|
69356
|
+
/**
|
|
69357
|
+
* A request for customer signature data.
|
|
69358
|
+
*/
|
|
69359
|
+
class TerminalCaptureSignatureRequest {
|
|
69360
|
+
constructor(APICredentials, request) {
|
|
69361
|
+
this.APICredentials = APICredentials;
|
|
69362
|
+
this.request = request;
|
|
69363
|
+
}
|
|
69364
|
+
}
|
|
69365
|
+
exports.TerminalCaptureSignatureRequest = TerminalCaptureSignatureRequest;
|
|
69366
|
+
/**
|
|
69367
|
+
* Information needed to test connectivity with a terminal.
|
|
69368
|
+
*/
|
|
69369
|
+
class TerminalPingRequest {
|
|
69370
|
+
constructor(APICredentials, request) {
|
|
69371
|
+
this.APICredentials = APICredentials;
|
|
69372
|
+
this.request = request;
|
|
69373
|
+
}
|
|
69374
|
+
}
|
|
69375
|
+
exports.TerminalPingRequest = TerminalPingRequest;
|
|
69376
|
+
/**
|
|
69377
|
+
* Information needed to retrieve location information for a terminal.
|
|
69378
|
+
*/
|
|
69379
|
+
class TerminalLocateRequest {
|
|
69380
|
+
constructor(APICredentials, request) {
|
|
69381
|
+
this.APICredentials = APICredentials;
|
|
69382
|
+
this.request = request;
|
|
69383
|
+
}
|
|
69384
|
+
}
|
|
69385
|
+
exports.TerminalLocateRequest = TerminalLocateRequest;
|
|
69386
|
+
/**
|
|
69387
|
+
* A message to be displayed on the terminal screen.
|
|
69388
|
+
*/
|
|
69389
|
+
class TerminalMessageRequest {
|
|
69390
|
+
constructor(APICredentials, request) {
|
|
69391
|
+
this.APICredentials = APICredentials;
|
|
69392
|
+
this.request = request;
|
|
69393
|
+
}
|
|
69394
|
+
}
|
|
68450
69395
|
exports.TerminalMessageRequest = TerminalMessageRequest;
|
|
68451
69396
|
/**
|
|
68452
69397
|
* A simple yes no prompt request.
|
|
@@ -68478,6 +69423,16 @@ class TerminalAuthorizationRequest {
|
|
|
68478
69423
|
}
|
|
68479
69424
|
}
|
|
68480
69425
|
exports.TerminalAuthorizationRequest = TerminalAuthorizationRequest;
|
|
69426
|
+
/**
|
|
69427
|
+
* Retrieves card metadata.
|
|
69428
|
+
*/
|
|
69429
|
+
class TerminalCardMetadataRequest {
|
|
69430
|
+
constructor(APICredentials, request) {
|
|
69431
|
+
this.APICredentials = APICredentials;
|
|
69432
|
+
this.request = request;
|
|
69433
|
+
}
|
|
69434
|
+
}
|
|
69435
|
+
exports.TerminalCardMetadataRequest = TerminalCardMetadataRequest;
|
|
68481
69436
|
/**
|
|
68482
69437
|
* A request for the remaining balance on a payment type.
|
|
68483
69438
|
*/
|