Models
This commit is contained in:
parent
9d33347a81
commit
7855e3d414
|
|
@ -206,9 +206,6 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
'partial_due_date',
|
'partial_due_date',
|
||||||
serializers.serialize(object.partialDueDate,
|
serializers.serialize(object.partialDueDate,
|
||||||
specifiedType: const FullType(String)),
|
specifiedType: const FullType(String)),
|
||||||
'has_tasks',
|
|
||||||
serializers.serialize(object.hasTasks,
|
|
||||||
specifiedType: const FullType(bool)),
|
|
||||||
'custom_value1',
|
'custom_value1',
|
||||||
serializers.serialize(object.customValue1,
|
serializers.serialize(object.customValue1,
|
||||||
specifiedType: const FullType(String)),
|
specifiedType: const FullType(String)),
|
||||||
|
|
@ -245,9 +242,6 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
'custom_surcharge_tax4',
|
'custom_surcharge_tax4',
|
||||||
serializers.serialize(object.customTaxes4,
|
serializers.serialize(object.customTaxes4,
|
||||||
specifiedType: const FullType(bool)),
|
specifiedType: const FullType(bool)),
|
||||||
'has_expenses',
|
|
||||||
serializers.serialize(object.hasExpenses,
|
|
||||||
specifiedType: const FullType(bool)),
|
|
||||||
'exchange_rate',
|
'exchange_rate',
|
||||||
serializers.serialize(object.exchangeRate,
|
serializers.serialize(object.exchangeRate,
|
||||||
specifiedType: const FullType(double)),
|
specifiedType: const FullType(double)),
|
||||||
|
|
@ -526,10 +520,6 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
result.partialDueDate = serializers.deserialize(value,
|
result.partialDueDate = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
case 'has_tasks':
|
|
||||||
result.hasTasks = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(bool)) as bool;
|
|
||||||
break;
|
|
||||||
case 'auto_bill':
|
case 'auto_bill':
|
||||||
result.autoBill = serializers.deserialize(value,
|
result.autoBill = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -586,10 +576,6 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
result.customTaxes4 = serializers.deserialize(value,
|
result.customTaxes4 = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(bool)) as bool;
|
specifiedType: const FullType(bool)) as bool;
|
||||||
break;
|
break;
|
||||||
case 'has_expenses':
|
|
||||||
result.hasExpenses = serializers.deserialize(value,
|
|
||||||
specifiedType: const FullType(bool)) as bool;
|
|
||||||
break;
|
|
||||||
case 'exchange_rate':
|
case 'exchange_rate':
|
||||||
result.exchangeRate = serializers.deserialize(value,
|
result.exchangeRate = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(double)) as double;
|
specifiedType: const FullType(double)) as double;
|
||||||
|
|
@ -1438,8 +1424,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
@override
|
@override
|
||||||
final String partialDueDate;
|
final String partialDueDate;
|
||||||
@override
|
@override
|
||||||
final bool hasTasks;
|
|
||||||
@override
|
|
||||||
final String autoBill;
|
final String autoBill;
|
||||||
@override
|
@override
|
||||||
final bool autoBillEnabled;
|
final bool autoBillEnabled;
|
||||||
|
|
@ -1468,8 +1452,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
@override
|
@override
|
||||||
final bool customTaxes4;
|
final bool customTaxes4;
|
||||||
@override
|
@override
|
||||||
final bool hasExpenses;
|
|
||||||
@override
|
|
||||||
final double exchangeRate;
|
final double exchangeRate;
|
||||||
@override
|
@override
|
||||||
final String reminder1Sent;
|
final String reminder1Sent;
|
||||||
|
|
@ -1557,7 +1539,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
this.partial,
|
this.partial,
|
||||||
this.taxAmount,
|
this.taxAmount,
|
||||||
this.partialDueDate,
|
this.partialDueDate,
|
||||||
this.hasTasks,
|
|
||||||
this.autoBill,
|
this.autoBill,
|
||||||
this.autoBillEnabled,
|
this.autoBillEnabled,
|
||||||
this.customValue1,
|
this.customValue1,
|
||||||
|
|
@ -1572,7 +1553,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
this.customTaxes2,
|
this.customTaxes2,
|
||||||
this.customTaxes3,
|
this.customTaxes3,
|
||||||
this.customTaxes4,
|
this.customTaxes4,
|
||||||
this.hasExpenses,
|
|
||||||
this.exchangeRate,
|
this.exchangeRate,
|
||||||
this.reminder1Sent,
|
this.reminder1Sent,
|
||||||
this.reminder2Sent,
|
this.reminder2Sent,
|
||||||
|
|
@ -1683,9 +1663,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
if (partialDueDate == null) {
|
if (partialDueDate == null) {
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'partialDueDate');
|
throw new BuiltValueNullFieldError('InvoiceEntity', 'partialDueDate');
|
||||||
}
|
}
|
||||||
if (hasTasks == null) {
|
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'hasTasks');
|
|
||||||
}
|
|
||||||
if (customValue1 == null) {
|
if (customValue1 == null) {
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'customValue1');
|
throw new BuiltValueNullFieldError('InvoiceEntity', 'customValue1');
|
||||||
}
|
}
|
||||||
|
|
@ -1722,9 +1699,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
if (customTaxes4 == null) {
|
if (customTaxes4 == null) {
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'customTaxes4');
|
throw new BuiltValueNullFieldError('InvoiceEntity', 'customTaxes4');
|
||||||
}
|
}
|
||||||
if (hasExpenses == null) {
|
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'hasExpenses');
|
|
||||||
}
|
|
||||||
if (exchangeRate == null) {
|
if (exchangeRate == null) {
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'exchangeRate');
|
throw new BuiltValueNullFieldError('InvoiceEntity', 'exchangeRate');
|
||||||
}
|
}
|
||||||
|
|
@ -1795,7 +1769,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
partial == other.partial &&
|
partial == other.partial &&
|
||||||
taxAmount == other.taxAmount &&
|
taxAmount == other.taxAmount &&
|
||||||
partialDueDate == other.partialDueDate &&
|
partialDueDate == other.partialDueDate &&
|
||||||
hasTasks == other.hasTasks &&
|
|
||||||
autoBill == other.autoBill &&
|
autoBill == other.autoBill &&
|
||||||
autoBillEnabled == other.autoBillEnabled &&
|
autoBillEnabled == other.autoBillEnabled &&
|
||||||
customValue1 == other.customValue1 &&
|
customValue1 == other.customValue1 &&
|
||||||
|
|
@ -1810,7 +1783,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
customTaxes2 == other.customTaxes2 &&
|
customTaxes2 == other.customTaxes2 &&
|
||||||
customTaxes3 == other.customTaxes3 &&
|
customTaxes3 == other.customTaxes3 &&
|
||||||
customTaxes4 == other.customTaxes4 &&
|
customTaxes4 == other.customTaxes4 &&
|
||||||
hasExpenses == other.hasExpenses &&
|
|
||||||
exchangeRate == other.exchangeRate &&
|
exchangeRate == other.exchangeRate &&
|
||||||
reminder1Sent == other.reminder1Sent &&
|
reminder1Sent == other.reminder1Sent &&
|
||||||
reminder2Sent == other.reminder2Sent &&
|
reminder2Sent == other.reminder2Sent &&
|
||||||
|
|
@ -1862,7 +1834,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($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),
|
$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), 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), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
|
||||||
dueDateDays.hashCode),
|
dueDateDays.hashCode),
|
||||||
invoiceId.hashCode),
|
invoiceId.hashCode),
|
||||||
recurringId.hashCode),
|
recurringId.hashCode),
|
||||||
|
|
@ -1914,7 +1886,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
..add('partial', partial)
|
..add('partial', partial)
|
||||||
..add('taxAmount', taxAmount)
|
..add('taxAmount', taxAmount)
|
||||||
..add('partialDueDate', partialDueDate)
|
..add('partialDueDate', partialDueDate)
|
||||||
..add('hasTasks', hasTasks)
|
|
||||||
..add('autoBill', autoBill)
|
..add('autoBill', autoBill)
|
||||||
..add('autoBillEnabled', autoBillEnabled)
|
..add('autoBillEnabled', autoBillEnabled)
|
||||||
..add('customValue1', customValue1)
|
..add('customValue1', customValue1)
|
||||||
|
|
@ -1929,7 +1900,6 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
..add('customTaxes2', customTaxes2)
|
..add('customTaxes2', customTaxes2)
|
||||||
..add('customTaxes3', customTaxes3)
|
..add('customTaxes3', customTaxes3)
|
||||||
..add('customTaxes4', customTaxes4)
|
..add('customTaxes4', customTaxes4)
|
||||||
..add('hasExpenses', hasExpenses)
|
|
||||||
..add('exchangeRate', exchangeRate)
|
..add('exchangeRate', exchangeRate)
|
||||||
..add('reminder1Sent', reminder1Sent)
|
..add('reminder1Sent', reminder1Sent)
|
||||||
..add('reminder2Sent', reminder2Sent)
|
..add('reminder2Sent', reminder2Sent)
|
||||||
|
|
@ -2078,10 +2048,6 @@ class InvoiceEntityBuilder
|
||||||
set partialDueDate(String partialDueDate) =>
|
set partialDueDate(String partialDueDate) =>
|
||||||
_$this._partialDueDate = partialDueDate;
|
_$this._partialDueDate = partialDueDate;
|
||||||
|
|
||||||
bool _hasTasks;
|
|
||||||
bool get hasTasks => _$this._hasTasks;
|
|
||||||
set hasTasks(bool hasTasks) => _$this._hasTasks = hasTasks;
|
|
||||||
|
|
||||||
String _autoBill;
|
String _autoBill;
|
||||||
String get autoBill => _$this._autoBill;
|
String get autoBill => _$this._autoBill;
|
||||||
set autoBill(String autoBill) => _$this._autoBill = autoBill;
|
set autoBill(String autoBill) => _$this._autoBill = autoBill;
|
||||||
|
|
@ -2143,10 +2109,6 @@ class InvoiceEntityBuilder
|
||||||
bool get customTaxes4 => _$this._customTaxes4;
|
bool get customTaxes4 => _$this._customTaxes4;
|
||||||
set customTaxes4(bool customTaxes4) => _$this._customTaxes4 = customTaxes4;
|
set customTaxes4(bool customTaxes4) => _$this._customTaxes4 = customTaxes4;
|
||||||
|
|
||||||
bool _hasExpenses;
|
|
||||||
bool get hasExpenses => _$this._hasExpenses;
|
|
||||||
set hasExpenses(bool hasExpenses) => _$this._hasExpenses = hasExpenses;
|
|
||||||
|
|
||||||
double _exchangeRate;
|
double _exchangeRate;
|
||||||
double get exchangeRate => _$this._exchangeRate;
|
double get exchangeRate => _$this._exchangeRate;
|
||||||
set exchangeRate(double exchangeRate) => _$this._exchangeRate = exchangeRate;
|
set exchangeRate(double exchangeRate) => _$this._exchangeRate = exchangeRate;
|
||||||
|
|
@ -2309,7 +2271,6 @@ class InvoiceEntityBuilder
|
||||||
_partial = _$v.partial;
|
_partial = _$v.partial;
|
||||||
_taxAmount = _$v.taxAmount;
|
_taxAmount = _$v.taxAmount;
|
||||||
_partialDueDate = _$v.partialDueDate;
|
_partialDueDate = _$v.partialDueDate;
|
||||||
_hasTasks = _$v.hasTasks;
|
|
||||||
_autoBill = _$v.autoBill;
|
_autoBill = _$v.autoBill;
|
||||||
_autoBillEnabled = _$v.autoBillEnabled;
|
_autoBillEnabled = _$v.autoBillEnabled;
|
||||||
_customValue1 = _$v.customValue1;
|
_customValue1 = _$v.customValue1;
|
||||||
|
|
@ -2324,7 +2285,6 @@ class InvoiceEntityBuilder
|
||||||
_customTaxes2 = _$v.customTaxes2;
|
_customTaxes2 = _$v.customTaxes2;
|
||||||
_customTaxes3 = _$v.customTaxes3;
|
_customTaxes3 = _$v.customTaxes3;
|
||||||
_customTaxes4 = _$v.customTaxes4;
|
_customTaxes4 = _$v.customTaxes4;
|
||||||
_hasExpenses = _$v.hasExpenses;
|
|
||||||
_exchangeRate = _$v.exchangeRate;
|
_exchangeRate = _$v.exchangeRate;
|
||||||
_reminder1Sent = _$v.reminder1Sent;
|
_reminder1Sent = _$v.reminder1Sent;
|
||||||
_reminder2Sent = _$v.reminder2Sent;
|
_reminder2Sent = _$v.reminder2Sent;
|
||||||
|
|
@ -2404,7 +2364,6 @@ class InvoiceEntityBuilder
|
||||||
partial: partial,
|
partial: partial,
|
||||||
taxAmount: taxAmount,
|
taxAmount: taxAmount,
|
||||||
partialDueDate: partialDueDate,
|
partialDueDate: partialDueDate,
|
||||||
hasTasks: hasTasks,
|
|
||||||
autoBill: autoBill,
|
autoBill: autoBill,
|
||||||
autoBillEnabled: autoBillEnabled,
|
autoBillEnabled: autoBillEnabled,
|
||||||
customValue1: customValue1,
|
customValue1: customValue1,
|
||||||
|
|
@ -2419,7 +2378,6 @@ class InvoiceEntityBuilder
|
||||||
customTaxes2: customTaxes2,
|
customTaxes2: customTaxes2,
|
||||||
customTaxes3: customTaxes3,
|
customTaxes3: customTaxes3,
|
||||||
customTaxes4: customTaxes4,
|
customTaxes4: customTaxes4,
|
||||||
hasExpenses: hasExpenses,
|
|
||||||
exchangeRate: exchangeRate,
|
exchangeRate: exchangeRate,
|
||||||
reminder1Sent: reminder1Sent,
|
reminder1Sent: reminder1Sent,
|
||||||
reminder2Sent: reminder2Sent,
|
reminder2Sent: reminder2Sent,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue