PaymentCard constructor
PaymentCard({})
Implementation
PaymentCard(
{required String? cardNumber,
required String? cvv,
required expiryMonth1,
required expiryYear1,
String? holderName,
String? addressLine_1,
String? addressLine_2,
String? addressLine_3,
String? addressLine_4,
String? addressPostCode,
String? addressCountry1,
String? countryName}) {
number = cardNumber;
cvc = cvv;
expiryMonth = expiryMonth1;
expiryYear = expiryYear1;
name = StringUtils.nullify(holderName);
addressLine1 = StringUtils.nullify(addressLine_1);
addressLine2 = StringUtils.nullify(addressLine_2);
addressLine3 = StringUtils.nullify(addressLine_3);
addressLine4 = StringUtils.nullify(addressLine_4);
addressCountry = StringUtils.nullify(addressCountry1);
addressPostalCode = StringUtils.nullify(addressPostCode);
country = StringUtils.nullify(countryName);
type = type;
}