encode<V> static method
Implementation
static V encode<V>(
TaxProductResourceLineItemTaxRateDetails instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeString(
'display_name',
instance.displayName,
);
container.encodeString(
'percentage_decimal',
instance.percentageDecimal,
);
TaxProductResourceLineItemTaxBreakdownTaxRateDetailsTaxType.encode(
instance.taxType,
container.nestedSingleValueContainer('tax_type').encoder,
);
return container.value;
}