encode<V> static method

V encode<V>(
  1. CustomerBalanceCustomerBalanceSettings instance,
  2. Encoder<V> encoder
)

Implementation

static V encode<V>(
  CustomerBalanceCustomerBalanceSettings instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'reconciliation_mode',
    instance.reconciliationMode,
  );
  container.encodeBool(
    'using_merchant_default',
    instance.usingMerchantDefault,
  );
  return container.value;
}