PaymentMethodUnion
@Serializable(with = PaymentMethodUnionSerializer::class)
Union-type for an expandable PaymentMethod.
The PaymentMethod can optionally be expanded by the API in some calls resulting in a full object. This pseudo-union type joins the two possible options into a single field for polymorphic serialization as either an expanded object or just an ID.