encode<V> static method
Implementation
static V encode<V>(
TaxDeductedAtSource instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeString(
'id',
instance.id,
);
container.encodeString(
'object',
'tax_deducted_at_source',
);
container.encodeDateTime(
'period_end',
instance.periodEnd,
);
container.encodeDateTime(
'period_start',
instance.periodStart,
);
container.encodeString(
'tax_deduction_account_number',
instance.taxDeductionAccountNumber,
);
return container.value;
}