PaymentCard constructor
PaymentCard({})
Implementation
PaymentCard(
{required String? number,
required String? cvc,
required this.expiryMonth,
required this.expiryYear,
String? name,
String? addressLine1,
String? addressLine2,
String? addressLine3,
String? addressLine4,
String? addressPostCode,
String? addressCountry,
String? country}) {
this.number = number;
this.cvc = cvc;
this.name = StringUtils.nullify(name);
this.addressLine1 = StringUtils.nullify(addressLine1);
this.addressLine2 = StringUtils.nullify(addressLine2);
this.addressLine3 = StringUtils.nullify(addressLine3);
this.addressLine4 = StringUtils.nullify(addressLine4);
this.addressCountry = StringUtils.nullify(addressCountry);
this.addressPostalCode = StringUtils.nullify(addressPostalCode);
this.country = StringUtils.nullify(country);
this.type = type;
}