Files
ax3Client/src/Constants/Fields/PaymentFields.js
2024-01-22 17:25:09 -05:00

39 lines
767 B
JavaScript

export const paymentfields = {
cardFirstName: {
required: true,
label: "Card First Name",
maxLength: 45,
type: "cardFirstName",
},
cardLastName: {
required: true,
label: "Card Last Name",
type: "cardLastName",
},
cardNumber: {
required: true,
label: "Card Number",
minLength: 16,
maxLength: 16,
type: "cardNumber",
},
cardCvvCode: {
required: true,
label: "Card CVV Number",
maxLength: 5,
type: "cardCvvCode",
},
cardExpirationMonth: {
required: true,
label: "Card Expiration Month",
maxLength: 2,
type: "cardExpirationMonth",
},
cardExpirationYear: {
required: true,
label: "Card Expiration Year",
maxLength: 4,
type: "cardExpirationYear",
},
};