UNPKG

@playmoweb/payline-typescript-sdk

Version:
38 lines 2.25 kB
class PaylineAction { code; restCode; constructor(code, restCode) { this.code = code; this.restCode = restCode; } // most used static SimpleAuth = new PaylineAction(100, "AUTH"); // validation static AuthCapture = new PaylineAction(101, "AUTH_CAPTURE"); // validation + payment static Capture = new PaylineAction(201, "CAPTURE"); // payment static AccountVerification = new PaylineAction(108, "ACCOUNT_VERIF"); static PermitTokenPan = new PaylineAction(109, "TOKEN_PAN"); static AuthRecurringFirst = new PaylineAction(110, "AUTH_COF_FIRST"); static AuthCaptureRecurringFirst = new PaylineAction(111, "AUTH_CAPTURE_COF_FIRST"); static AuthNoCVX = new PaylineAction(120, "AUTH_WITHOUT_CVX"); static AuthCaptureNoCVX = new PaylineAction(121, "AUTH_CAP_WITHOUT_CVX"); static AuthRecurring = new PaylineAction(122, "AUTH_COF"); static AuthCaptureRecurring = new PaylineAction(123, "AUTH_CAPTURE_COF"); static AuthInstallPayment = new PaylineAction(124, "AUTH_NX"); static AuthCaptureInstallPayment = new PaylineAction(125, "AUTH_CAPTURE_NX"); static AuthSplitShipment = new PaylineAction(126, "AUTHOR_SPLIT_SHIPMENT"); static AuthCaptureSplitShipment = new PaylineAction(127, "AUTHOR_CAPTURE_SPLIT_SHIPMENT"); static AuthOtherRecurring = new PaylineAction(128, "AUTHOR_OTHER_COF"); static AuthCaptureOther = new PaylineAction(129, "AUTHOR_CAPTURE_OTHER_COF"); static AuthRental = new PaylineAction(130, "AUTHORIZATION_RENTAL"); static AuthCaptureRentalDelayed = new PaylineAction(132, "AUTHORIZATION_CAPTURE_RENTAL_DELAYED"); static AuthCaptureNoShow = new PaylineAction(133, "AUTHORIZATION_CAPTURE_NO_SHOW"); static AccountVerifSharePayment = new PaylineAction(148, "ACCOUNT_VERIF_SHARE_PAYMENT"); static SEPACreditTransfert = new PaylineAction(150, "SCT"); static ReAuthorization = new PaylineAction(202, "REAUTHORIZATION"); static LastCapture = new PaylineAction(203, "LAST_CAPTURE"); static Debit = new PaylineAction(204, "DEBIT"); static Refund = new PaylineAction(421, "REFUND"); static Credit = new PaylineAction(422, "CREDIT"); } export { PaylineAction }; //# sourceMappingURL=payline-action.js.map