encode<V> static method
Implementation
static V encode<V>(
ConnectEmbeddedAccountSessionCreateComponents instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
ConnectEmbeddedAccountConfig.encode(
instance.accountOnboarding,
container.nestedSingleValueContainer('account_onboarding').encoder,
);
ConnectEmbeddedBaseConfigClaim.encode(
instance.documents,
container.nestedSingleValueContainer('documents').encoder,
);
ConnectEmbeddedPaymentsConfig.encode(
instance.paymentDetails,
container.nestedSingleValueContainer('payment_details').encoder,
);
ConnectEmbeddedPaymentsConfig.encode(
instance.payments,
container.nestedSingleValueContainer('payments').encoder,
);
ConnectEmbeddedPayoutsConfig.encode(
instance.payouts,
container.nestedSingleValueContainer('payouts').encoder,
);
return container.value;
}