encode<V> static method

Implementation

static V encode<V>(
  CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction
      instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  RefundOrId.encode(
    instance.refund,
    container.nestedSingleValueContainer('refund').encoder,
  );
  return container.value;
}