use super::*;
/// The payment method(s) accepted by seller for this offer.
///
/// <https://schema.org/acceptedPaymentMethod>
#[cfg_attr(any(feature = "derive-debug", doc), derive(Debug))]
#[cfg_attr(any(feature = "derive-clone", doc), derive(Clone))]
#[cfg_attr(
    any(feature = "serde", doc),
    derive(serde::Serialize, serde::Deserialize)
)]
#[cfg_attr(any(feature = "serde", doc), serde(untagged))]
pub enum AcceptedPaymentMethodProperty {
    #[cfg(any(
        any(feature = "loan-or-credit-schema", feature = "general-schema-section"),
        doc
    ))]
    LoanOrCredit(LoanOrCredit),
    #[cfg(any(
        any(feature = "payment-method-schema", feature = "general-schema-section"),
        doc
    ))]
    PaymentMethod(PaymentMethod),
}
