encode<V> static method
Implementation
static V encode<V>(
PaymentLinksResourcePaymentMethodReuseAgreement instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
CheckoutSessionConsentCollectionPaymentMethodReuseAgreementPosition.encode(
instance.position,
container.nestedSingleValueContainer('position').encoder,
);
return container.value;
}