InvoiceMessage constructor
InvoiceMessage({
- String? accountNo,
- String? amount,
- int? currency,
- String? info,
- String? expiration,
- String? lastName,
- String? firstName,
- String? middleName,
- String? city,
- String? street,
- String? house,
- String? building,
- int? apartment,
- bool? isNameEditable,
- bool? isAddressEditable,
- bool? isAmountEditable,
- String? emailNotification,
- String? smsPhone,
- bool? shouldReturnInvoiceUrl,
- String? lifeTime,
- int? invoiceNo,
- int? status,
- String? created,
- int? cardInvoiceNo,
- String? invoiceUrl,
Implementation
factory InvoiceMessage({
$core.String? accountNo,
$core.String? amount,
$core.int? currency,
$core.String? info,
$core.String? expiration,
$core.String? lastName,
$core.String? firstName,
$core.String? middleName,
$core.String? city,
$core.String? street,
$core.String? house,
$core.String? building,
$core.int? apartment,
$core.bool? isNameEditable,
$core.bool? isAddressEditable,
$core.bool? isAmountEditable,
$core.String? emailNotification,
$core.String? smsPhone,
$core.bool? shouldReturnInvoiceUrl,
$core.String? lifeTime,
$core.int? invoiceNo,
$core.int? status,
$core.String? created,
$core.int? cardInvoiceNo,
$core.String? invoiceUrl,
}) {
final $result = create();
if (accountNo != null) {
$result.accountNo = accountNo;
}
if (amount != null) {
$result.amount = amount;
}
if (currency != null) {
$result.currency = currency;
}
if (info != null) {
$result.info = info;
}
if (expiration != null) {
$result.expiration = expiration;
}
if (lastName != null) {
$result.lastName = lastName;
}
if (firstName != null) {
$result.firstName = firstName;
}
if (middleName != null) {
$result.middleName = middleName;
}
if (city != null) {
$result.city = city;
}
if (street != null) {
$result.street = street;
}
if (house != null) {
$result.house = house;
}
if (building != null) {
$result.building = building;
}
if (apartment != null) {
$result.apartment = apartment;
}
if (isNameEditable != null) {
$result.isNameEditable = isNameEditable;
}
if (isAddressEditable != null) {
$result.isAddressEditable = isAddressEditable;
}
if (isAmountEditable != null) {
$result.isAmountEditable = isAmountEditable;
}
if (emailNotification != null) {
$result.emailNotification = emailNotification;
}
if (smsPhone != null) {
$result.smsPhone = smsPhone;
}
if (shouldReturnInvoiceUrl != null) {
$result.shouldReturnInvoiceUrl = shouldReturnInvoiceUrl;
}
if (lifeTime != null) {
$result.lifeTime = lifeTime;
}
if (invoiceNo != null) {
$result.invoiceNo = invoiceNo;
}
if (status != null) {
$result.status = status;
}
if (created != null) {
$result.created = created;
}
if (cardInvoiceNo != null) {
$result.cardInvoiceNo = cardInvoiceNo;
}
if (invoiceUrl != null) {
$result.invoiceUrl = invoiceUrl;
}
return $result;
}