@playmoweb/payline-typescript-sdk
Version:
Payline Typescript SDK
25 lines • 1.76 kB
JavaScript
class PaylineDeliveryMode {
code;
description;
forTransaction3DSv2 = false;
restCode;
constructor(code, description, forTransaction3DSv2, restCode) {
this.code = code;
this.description = description;
this.forTransaction3DSv2 = forTransaction3DSv2;
this.restCode = restCode;
}
static Withdrawal = new PaylineDeliveryMode(1, "Collect goods from the merchant", false, "WITHDRAWAL");
static Relay = new PaylineDeliveryMode(2, "Use a network of third-party pick-up points (such as Kiala, Alveol, etc.)", false, "RELAY");
static Airport = new PaylineDeliveryMode(3, "Collect from an airport, a train station or a travel agent", false, "AIRPORT");
static Transport = new PaylineDeliveryMode(4, "Mail (Colissimo, UPS, DHL, etc., or any private courier)", false, "TRANSPORT");
static Virtual = new PaylineDeliveryMode(5, "Issuing an electronic ticket, downloads", false, "VIRTUAL");
static BillingAddress = new PaylineDeliveryMode(6, "Ship to cardholder’s billing address", true, "BILLING_ADDRESS");
static VerifiedAddress = new PaylineDeliveryMode(7, "Ship to another verified address on file with merchant", true, "VERIFIED_ADDRESS");
static NotBillingAddress = new PaylineDeliveryMode(8, "Ship to address that is different than the cardholder’s billing address", true, "NOT_BILLING_ADDRESS");
static NotShipped = new PaylineDeliveryMode(9, "Travel and Event tickets, not shipped", true, "NOT_SHIPPED");
static Locker = new PaylineDeliveryMode(10, "Locker delivery (or other automated pick-up)", true, "LOCKER");
static Other = new PaylineDeliveryMode(999, "Other", true, "OTHER");
}
export { PaylineDeliveryMode };
//# sourceMappingURL=payline-delivery-mode.js.map