encode<V> static method
Implementation
static V encode<V>(
PaymentLinksResourceShippingOption instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeInt(
'shipping_amount',
instance.shippingAmount,
);
ShippingRateOrId.encode(
instance.shippingRate,
container.nestedSingleValueContainer('shipping_rate').encoder,
);
return container.value;
}