Class CheckoutPaymentMethod

    • Field Detail

      • schemas

        public static final Map<String,​jakarta.ws.rs.core.GenericType> schemas
    • Method Detail

      • getSchemas

        public Map<String,​jakarta.ws.rs.core.GenericType> getSchemas()
        Description copied from class: AbstractOpenApiSchema
        Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
        Specified by:
        getSchemas in class AbstractOpenApiSchema
        Returns:
        an instance of the actual schema/object
      • setActualInstance

        public void setActualInstance​(Object instance)
        Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: AchDetails, AffirmDetails, AfterpayDetails, AmazonPayDetails, AncvDetails, AndroidPayDetails, ApplePayDetails, BacsDirectDebitDetails, BillDeskDetails, BlikDetails, CardDetails, CashAppDetails, CellulantDetails, DokuDetails, DotpayDetails, DragonpayDetails, EBankingFinlandDetails, EcontextVoucherDetails, EftDetails, GenericIssuerPaymentMethodDetails, GiropayDetails, GooglePayDetails, IdealDetails, KlarnaDetails, MasterpassDetails, MbwayDetails, MobilePayDetails, MolPayDetails, OpenInvoiceDetails, PayByBankAISDirectDebitDetails, PayByBankDetails, PayPalDetails, PayPayDetails, PayToDetails, PayUUpiDetails, PayWithGoogleDetails, PaymentDetails, PseDetails, RatepayDetails, RivertyDetails, SamsungPayDetails, SepaDirectDebitDetails, StoredPaymentMethodDetails, TwintDetails, UpiCollectDetails, UpiIntentDetails, VippsDetails, VisaCheckoutDetails, WeChatPayDetails, WeChatPayMiniProgramDetails, ZipDetails It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
        Overrides:
        setActualInstance in class AbstractOpenApiSchema
        Parameters:
        instance - the actual instance of the schema/object
      • getActualInstance

        public Object getActualInstance()
        Get the actual instance, which can be the following: AchDetails, AffirmDetails, AfterpayDetails, AmazonPayDetails, AncvDetails, AndroidPayDetails, ApplePayDetails, BacsDirectDebitDetails, BillDeskDetails, BlikDetails, CardDetails, CashAppDetails, CellulantDetails, DokuDetails, DotpayDetails, DragonpayDetails, EBankingFinlandDetails, EcontextVoucherDetails, EftDetails, GenericIssuerPaymentMethodDetails, GiropayDetails, GooglePayDetails, IdealDetails, KlarnaDetails, MasterpassDetails, MbwayDetails, MobilePayDetails, MolPayDetails, OpenInvoiceDetails, PayByBankAISDirectDebitDetails, PayByBankDetails, PayPalDetails, PayPayDetails, PayToDetails, PayUUpiDetails, PayWithGoogleDetails, PaymentDetails, PseDetails, RatepayDetails, RivertyDetails, SamsungPayDetails, SepaDirectDebitDetails, StoredPaymentMethodDetails, TwintDetails, UpiCollectDetails, UpiIntentDetails, VippsDetails, VisaCheckoutDetails, WeChatPayDetails, WeChatPayMiniProgramDetails, ZipDetails
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (AchDetails, AffirmDetails, AfterpayDetails, AmazonPayDetails, AncvDetails, AndroidPayDetails, ApplePayDetails, BacsDirectDebitDetails, BillDeskDetails, BlikDetails, CardDetails, CashAppDetails, CellulantDetails, DokuDetails, DotpayDetails, DragonpayDetails, EBankingFinlandDetails, EcontextVoucherDetails, EftDetails, GenericIssuerPaymentMethodDetails, GiropayDetails, GooglePayDetails, IdealDetails, KlarnaDetails, MasterpassDetails, MbwayDetails, MobilePayDetails, MolPayDetails, OpenInvoiceDetails, PayByBankAISDirectDebitDetails, PayByBankDetails, PayPalDetails, PayPayDetails, PayToDetails, PayUUpiDetails, PayWithGoogleDetails, PaymentDetails, PseDetails, RatepayDetails, RivertyDetails, SamsungPayDetails, SepaDirectDebitDetails, StoredPaymentMethodDetails, TwintDetails, UpiCollectDetails, UpiIntentDetails, VippsDetails, VisaCheckoutDetails, WeChatPayDetails, WeChatPayMiniProgramDetails, ZipDetails)
      • getAchDetails

        public AchDetails getAchDetails()
                                 throws ClassCastException
        Get the actual instance of `AchDetails`. If the actual instance is not `AchDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `AchDetails`
        Throws:
        ClassCastException - if the instance is not `AchDetails`
      • getAffirmDetails

        public AffirmDetails getAffirmDetails()
                                       throws ClassCastException
        Get the actual instance of `AffirmDetails`. If the actual instance is not `AffirmDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `AffirmDetails`
        Throws:
        ClassCastException - if the instance is not `AffirmDetails`
      • getAfterpayDetails

        public AfterpayDetails getAfterpayDetails()
                                           throws ClassCastException
        Get the actual instance of `AfterpayDetails`. If the actual instance is not `AfterpayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `AfterpayDetails`
        Throws:
        ClassCastException - if the instance is not `AfterpayDetails`
      • getAmazonPayDetails

        public AmazonPayDetails getAmazonPayDetails()
                                             throws ClassCastException
        Get the actual instance of `AmazonPayDetails`. If the actual instance is not `AmazonPayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `AmazonPayDetails`
        Throws:
        ClassCastException - if the instance is not `AmazonPayDetails`
      • getAncvDetails

        public AncvDetails getAncvDetails()
                                   throws ClassCastException
        Get the actual instance of `AncvDetails`. If the actual instance is not `AncvDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `AncvDetails`
        Throws:
        ClassCastException - if the instance is not `AncvDetails`
      • getAndroidPayDetails

        public AndroidPayDetails getAndroidPayDetails()
                                               throws ClassCastException
        Get the actual instance of `AndroidPayDetails`. If the actual instance is not `AndroidPayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `AndroidPayDetails`
        Throws:
        ClassCastException - if the instance is not `AndroidPayDetails`
      • getApplePayDetails

        public ApplePayDetails getApplePayDetails()
                                           throws ClassCastException
        Get the actual instance of `ApplePayDetails`. If the actual instance is not `ApplePayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `ApplePayDetails`
        Throws:
        ClassCastException - if the instance is not `ApplePayDetails`
      • getBacsDirectDebitDetails

        public BacsDirectDebitDetails getBacsDirectDebitDetails()
                                                         throws ClassCastException
        Get the actual instance of `BacsDirectDebitDetails`. If the actual instance is not `BacsDirectDebitDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `BacsDirectDebitDetails`
        Throws:
        ClassCastException - if the instance is not `BacsDirectDebitDetails`
      • getBillDeskDetails

        public BillDeskDetails getBillDeskDetails()
                                           throws ClassCastException
        Get the actual instance of `BillDeskDetails`. If the actual instance is not `BillDeskDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `BillDeskDetails`
        Throws:
        ClassCastException - if the instance is not `BillDeskDetails`
      • getBlikDetails

        public BlikDetails getBlikDetails()
                                   throws ClassCastException
        Get the actual instance of `BlikDetails`. If the actual instance is not `BlikDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `BlikDetails`
        Throws:
        ClassCastException - if the instance is not `BlikDetails`
      • getCardDetails

        public CardDetails getCardDetails()
                                   throws ClassCastException
        Get the actual instance of `CardDetails`. If the actual instance is not `CardDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `CardDetails`
        Throws:
        ClassCastException - if the instance is not `CardDetails`
      • getCashAppDetails

        public CashAppDetails getCashAppDetails()
                                         throws ClassCastException
        Get the actual instance of `CashAppDetails`. If the actual instance is not `CashAppDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `CashAppDetails`
        Throws:
        ClassCastException - if the instance is not `CashAppDetails`
      • getCellulantDetails

        public CellulantDetails getCellulantDetails()
                                             throws ClassCastException
        Get the actual instance of `CellulantDetails`. If the actual instance is not `CellulantDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `CellulantDetails`
        Throws:
        ClassCastException - if the instance is not `CellulantDetails`
      • getDokuDetails

        public DokuDetails getDokuDetails()
                                   throws ClassCastException
        Get the actual instance of `DokuDetails`. If the actual instance is not `DokuDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `DokuDetails`
        Throws:
        ClassCastException - if the instance is not `DokuDetails`
      • getDotpayDetails

        public DotpayDetails getDotpayDetails()
                                       throws ClassCastException
        Get the actual instance of `DotpayDetails`. If the actual instance is not `DotpayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `DotpayDetails`
        Throws:
        ClassCastException - if the instance is not `DotpayDetails`
      • getDragonpayDetails

        public DragonpayDetails getDragonpayDetails()
                                             throws ClassCastException
        Get the actual instance of `DragonpayDetails`. If the actual instance is not `DragonpayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `DragonpayDetails`
        Throws:
        ClassCastException - if the instance is not `DragonpayDetails`
      • getEBankingFinlandDetails

        public EBankingFinlandDetails getEBankingFinlandDetails()
                                                         throws ClassCastException
        Get the actual instance of `EBankingFinlandDetails`. If the actual instance is not `EBankingFinlandDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `EBankingFinlandDetails`
        Throws:
        ClassCastException - if the instance is not `EBankingFinlandDetails`
      • getEcontextVoucherDetails

        public EcontextVoucherDetails getEcontextVoucherDetails()
                                                         throws ClassCastException
        Get the actual instance of `EcontextVoucherDetails`. If the actual instance is not `EcontextVoucherDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `EcontextVoucherDetails`
        Throws:
        ClassCastException - if the instance is not `EcontextVoucherDetails`
      • getEftDetails

        public EftDetails getEftDetails()
                                 throws ClassCastException
        Get the actual instance of `EftDetails`. If the actual instance is not `EftDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `EftDetails`
        Throws:
        ClassCastException - if the instance is not `EftDetails`
      • getGenericIssuerPaymentMethodDetails

        public GenericIssuerPaymentMethodDetails getGenericIssuerPaymentMethodDetails()
                                                                               throws ClassCastException
        Get the actual instance of `GenericIssuerPaymentMethodDetails`. If the actual instance is not `GenericIssuerPaymentMethodDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `GenericIssuerPaymentMethodDetails`
        Throws:
        ClassCastException - if the instance is not `GenericIssuerPaymentMethodDetails`
      • getGiropayDetails

        public GiropayDetails getGiropayDetails()
                                         throws ClassCastException
        Get the actual instance of `GiropayDetails`. If the actual instance is not `GiropayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `GiropayDetails`
        Throws:
        ClassCastException - if the instance is not `GiropayDetails`
      • getGooglePayDetails

        public GooglePayDetails getGooglePayDetails()
                                             throws ClassCastException
        Get the actual instance of `GooglePayDetails`. If the actual instance is not `GooglePayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `GooglePayDetails`
        Throws:
        ClassCastException - if the instance is not `GooglePayDetails`
      • getIdealDetails

        public IdealDetails getIdealDetails()
                                     throws ClassCastException
        Get the actual instance of `IdealDetails`. If the actual instance is not `IdealDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `IdealDetails`
        Throws:
        ClassCastException - if the instance is not `IdealDetails`
      • getKlarnaDetails

        public KlarnaDetails getKlarnaDetails()
                                       throws ClassCastException
        Get the actual instance of `KlarnaDetails`. If the actual instance is not `KlarnaDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `KlarnaDetails`
        Throws:
        ClassCastException - if the instance is not `KlarnaDetails`
      • getMasterpassDetails

        public MasterpassDetails getMasterpassDetails()
                                               throws ClassCastException
        Get the actual instance of `MasterpassDetails`. If the actual instance is not `MasterpassDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `MasterpassDetails`
        Throws:
        ClassCastException - if the instance is not `MasterpassDetails`
      • getMbwayDetails

        public MbwayDetails getMbwayDetails()
                                     throws ClassCastException
        Get the actual instance of `MbwayDetails`. If the actual instance is not `MbwayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `MbwayDetails`
        Throws:
        ClassCastException - if the instance is not `MbwayDetails`
      • getMobilePayDetails

        public MobilePayDetails getMobilePayDetails()
                                             throws ClassCastException
        Get the actual instance of `MobilePayDetails`. If the actual instance is not `MobilePayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `MobilePayDetails`
        Throws:
        ClassCastException - if the instance is not `MobilePayDetails`
      • getMolPayDetails

        public MolPayDetails getMolPayDetails()
                                       throws ClassCastException
        Get the actual instance of `MolPayDetails`. If the actual instance is not `MolPayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `MolPayDetails`
        Throws:
        ClassCastException - if the instance is not `MolPayDetails`
      • getOpenInvoiceDetails

        public OpenInvoiceDetails getOpenInvoiceDetails()
                                                 throws ClassCastException
        Get the actual instance of `OpenInvoiceDetails`. If the actual instance is not `OpenInvoiceDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `OpenInvoiceDetails`
        Throws:
        ClassCastException - if the instance is not `OpenInvoiceDetails`
      • getPayByBankAISDirectDebitDetails

        public PayByBankAISDirectDebitDetails getPayByBankAISDirectDebitDetails()
                                                                         throws ClassCastException
        Get the actual instance of `PayByBankAISDirectDebitDetails`. If the actual instance is not `PayByBankAISDirectDebitDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PayByBankAISDirectDebitDetails`
        Throws:
        ClassCastException - if the instance is not `PayByBankAISDirectDebitDetails`
      • getPayByBankDetails

        public PayByBankDetails getPayByBankDetails()
                                             throws ClassCastException
        Get the actual instance of `PayByBankDetails`. If the actual instance is not `PayByBankDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PayByBankDetails`
        Throws:
        ClassCastException - if the instance is not `PayByBankDetails`
      • getPayPalDetails

        public PayPalDetails getPayPalDetails()
                                       throws ClassCastException
        Get the actual instance of `PayPalDetails`. If the actual instance is not `PayPalDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PayPalDetails`
        Throws:
        ClassCastException - if the instance is not `PayPalDetails`
      • getPayPayDetails

        public PayPayDetails getPayPayDetails()
                                       throws ClassCastException
        Get the actual instance of `PayPayDetails`. If the actual instance is not `PayPayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PayPayDetails`
        Throws:
        ClassCastException - if the instance is not `PayPayDetails`
      • getPayToDetails

        public PayToDetails getPayToDetails()
                                     throws ClassCastException
        Get the actual instance of `PayToDetails`. If the actual instance is not `PayToDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PayToDetails`
        Throws:
        ClassCastException - if the instance is not `PayToDetails`
      • getPayUUpiDetails

        public PayUUpiDetails getPayUUpiDetails()
                                         throws ClassCastException
        Get the actual instance of `PayUUpiDetails`. If the actual instance is not `PayUUpiDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PayUUpiDetails`
        Throws:
        ClassCastException - if the instance is not `PayUUpiDetails`
      • getPayWithGoogleDetails

        public PayWithGoogleDetails getPayWithGoogleDetails()
                                                     throws ClassCastException
        Get the actual instance of `PayWithGoogleDetails`. If the actual instance is not `PayWithGoogleDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PayWithGoogleDetails`
        Throws:
        ClassCastException - if the instance is not `PayWithGoogleDetails`
      • getPaymentDetails

        public PaymentDetails getPaymentDetails()
                                         throws ClassCastException
        Get the actual instance of `PaymentDetails`. If the actual instance is not `PaymentDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PaymentDetails`
        Throws:
        ClassCastException - if the instance is not `PaymentDetails`
      • getPseDetails

        public PseDetails getPseDetails()
                                 throws ClassCastException
        Get the actual instance of `PseDetails`. If the actual instance is not `PseDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `PseDetails`
        Throws:
        ClassCastException - if the instance is not `PseDetails`
      • getRatepayDetails

        public RatepayDetails getRatepayDetails()
                                         throws ClassCastException
        Get the actual instance of `RatepayDetails`. If the actual instance is not `RatepayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `RatepayDetails`
        Throws:
        ClassCastException - if the instance is not `RatepayDetails`
      • getRivertyDetails

        public RivertyDetails getRivertyDetails()
                                         throws ClassCastException
        Get the actual instance of `RivertyDetails`. If the actual instance is not `RivertyDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `RivertyDetails`
        Throws:
        ClassCastException - if the instance is not `RivertyDetails`
      • getSamsungPayDetails

        public SamsungPayDetails getSamsungPayDetails()
                                               throws ClassCastException
        Get the actual instance of `SamsungPayDetails`. If the actual instance is not `SamsungPayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `SamsungPayDetails`
        Throws:
        ClassCastException - if the instance is not `SamsungPayDetails`
      • getSepaDirectDebitDetails

        public SepaDirectDebitDetails getSepaDirectDebitDetails()
                                                         throws ClassCastException
        Get the actual instance of `SepaDirectDebitDetails`. If the actual instance is not `SepaDirectDebitDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `SepaDirectDebitDetails`
        Throws:
        ClassCastException - if the instance is not `SepaDirectDebitDetails`
      • getStoredPaymentMethodDetails

        public StoredPaymentMethodDetails getStoredPaymentMethodDetails()
                                                                 throws ClassCastException
        Get the actual instance of `StoredPaymentMethodDetails`. If the actual instance is not `StoredPaymentMethodDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `StoredPaymentMethodDetails`
        Throws:
        ClassCastException - if the instance is not `StoredPaymentMethodDetails`
      • getTwintDetails

        public TwintDetails getTwintDetails()
                                     throws ClassCastException
        Get the actual instance of `TwintDetails`. If the actual instance is not `TwintDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `TwintDetails`
        Throws:
        ClassCastException - if the instance is not `TwintDetails`
      • getUpiCollectDetails

        public UpiCollectDetails getUpiCollectDetails()
                                               throws ClassCastException
        Get the actual instance of `UpiCollectDetails`. If the actual instance is not `UpiCollectDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `UpiCollectDetails`
        Throws:
        ClassCastException - if the instance is not `UpiCollectDetails`
      • getUpiIntentDetails

        public UpiIntentDetails getUpiIntentDetails()
                                             throws ClassCastException
        Get the actual instance of `UpiIntentDetails`. If the actual instance is not `UpiIntentDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `UpiIntentDetails`
        Throws:
        ClassCastException - if the instance is not `UpiIntentDetails`
      • getVippsDetails

        public VippsDetails getVippsDetails()
                                     throws ClassCastException
        Get the actual instance of `VippsDetails`. If the actual instance is not `VippsDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `VippsDetails`
        Throws:
        ClassCastException - if the instance is not `VippsDetails`
      • getVisaCheckoutDetails

        public VisaCheckoutDetails getVisaCheckoutDetails()
                                                   throws ClassCastException
        Get the actual instance of `VisaCheckoutDetails`. If the actual instance is not `VisaCheckoutDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `VisaCheckoutDetails`
        Throws:
        ClassCastException - if the instance is not `VisaCheckoutDetails`
      • getWeChatPayDetails

        public WeChatPayDetails getWeChatPayDetails()
                                             throws ClassCastException
        Get the actual instance of `WeChatPayDetails`. If the actual instance is not `WeChatPayDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `WeChatPayDetails`
        Throws:
        ClassCastException - if the instance is not `WeChatPayDetails`
      • getWeChatPayMiniProgramDetails

        public WeChatPayMiniProgramDetails getWeChatPayMiniProgramDetails()
                                                                   throws ClassCastException
        Get the actual instance of `WeChatPayMiniProgramDetails`. If the actual instance is not `WeChatPayMiniProgramDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `WeChatPayMiniProgramDetails`
        Throws:
        ClassCastException - if the instance is not `WeChatPayMiniProgramDetails`
      • getZipDetails

        public ZipDetails getZipDetails()
                                 throws ClassCastException
        Get the actual instance of `ZipDetails`. If the actual instance is not `ZipDetails`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `ZipDetails`
        Throws:
        ClassCastException - if the instance is not `ZipDetails`
      • fromJson

        public static CheckoutPaymentMethod fromJson​(String jsonString)
                                              throws IOException
        Create an instance of CheckoutPaymentMethod given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CheckoutPaymentMethod
        Throws:
        IOException - if the JSON string is invalid with respect to CheckoutPaymentMethod
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CheckoutPaymentMethod to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException