This commit is contained in:
Hillel Coren 2021-03-30 22:30:42 +03:00
parent 17370d793e
commit b1040264f6
1 changed files with 23 additions and 1 deletions

View File

@ -138,6 +138,9 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
'client_id',
serializers.serialize(object.clientId,
specifiedType: const FullType(String)),
'subscription_id',
serializers.serialize(object.subscriptionId,
specifiedType: const FullType(String)),
'status_id',
serializers.serialize(object.statusId,
specifiedType: const FullType(String)),
@ -431,6 +434,10 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
result.clientId = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'subscription_id':
result.subscriptionId = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'status_id':
result.statusId = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
@ -1385,6 +1392,8 @@ class _$InvoiceEntity extends InvoiceEntity {
@override
final String clientId;
@override
final String subscriptionId;
@override
final String statusId;
@override
final String number;
@ -1525,6 +1534,7 @@ class _$InvoiceEntity extends InvoiceEntity {
this.balance,
this.paidToDate,
this.clientId,
this.subscriptionId,
this.statusId,
this.number,
this.discount,
@ -1604,6 +1614,9 @@ class _$InvoiceEntity extends InvoiceEntity {
if (clientId == null) {
throw new BuiltValueNullFieldError('InvoiceEntity', 'clientId');
}
if (subscriptionId == null) {
throw new BuiltValueNullFieldError('InvoiceEntity', 'subscriptionId');
}
if (statusId == null) {
throw new BuiltValueNullFieldError('InvoiceEntity', 'statusId');
}
@ -1759,6 +1772,7 @@ class _$InvoiceEntity extends InvoiceEntity {
balance == other.balance &&
paidToDate == other.paidToDate &&
clientId == other.clientId &&
subscriptionId == other.subscriptionId &&
statusId == other.statusId &&
number == other.number &&
discount == other.discount &&
@ -1848,7 +1862,7 @@ class _$InvoiceEntity extends InvoiceEntity {
$jc(
$jc(
$jc(
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), hasTasks.hashCode), autoBill.hashCode), autoBillEnabled.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), hasExpenses.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), subscriptionId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), hasTasks.hashCode), autoBill.hashCode), autoBillEnabled.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), hasExpenses.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
dueDateDays.hashCode),
invoiceId.hashCode),
recurringId.hashCode),
@ -1877,6 +1891,7 @@ class _$InvoiceEntity extends InvoiceEntity {
..add('balance', balance)
..add('paidToDate', paidToDate)
..add('clientId', clientId)
..add('subscriptionId', subscriptionId)
..add('statusId', statusId)
..add('number', number)
..add('discount', discount)
@ -1967,6 +1982,11 @@ class InvoiceEntityBuilder
String get clientId => _$this._clientId;
set clientId(String clientId) => _$this._clientId = clientId;
String _subscriptionId;
String get subscriptionId => _$this._subscriptionId;
set subscriptionId(String subscriptionId) =>
_$this._subscriptionId = subscriptionId;
String _statusId;
String get statusId => _$this._statusId;
set statusId(String statusId) => _$this._statusId = statusId;
@ -2266,6 +2286,7 @@ class InvoiceEntityBuilder
_balance = _$v.balance;
_paidToDate = _$v.paidToDate;
_clientId = _$v.clientId;
_subscriptionId = _$v.subscriptionId;
_statusId = _$v.statusId;
_number = _$v.number;
_discount = _$v.discount;
@ -2360,6 +2381,7 @@ class InvoiceEntityBuilder
balance: balance,
paidToDate: paidToDate,
clientId: clientId,
subscriptionId: subscriptionId,
statusId: statusId,
number: number,
discount: discount,