InvoiceMessage constructor

InvoiceMessage({
  1. String? accountNo,
  2. String? amount,
  3. int? currency,
  4. String? info,
  5. String? expiration,
  6. String? lastName,
  7. String? firstName,
  8. String? middleName,
  9. String? city,
  10. String? street,
  11. String? house,
  12. String? building,
  13. int? apartment,
  14. bool? isNameEditable,
  15. bool? isAddressEditable,
  16. bool? isAmountEditable,
  17. String? emailNotification,
  18. String? smsPhone,
  19. bool? shouldReturnInvoiceUrl,
  20. String? lifeTime,
  21. int? invoiceNo,
  22. int? status,
  23. String? created,
  24. int? cardInvoiceNo,
  25. 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;
}