encode<V> static method

Implementation

static V encode<V>(
  CustomerBalanceResourceCashBalanceTransactionResourceAppliedToPaymentTransaction
      instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  PaymentIntentOrId.encode(
    instance.paymentIntent,
    container.nestedSingleValueContainer('payment_intent').encoder,
  );
  return container.value;
}