Class CreatePaymentLinkRequest

java.lang.Object
com.onlinepayments.domain.CreatePaymentLinkRequest

public class CreatePaymentLinkRequest extends Object
  • Constructor Details

    • CreatePaymentLinkRequest

      public CreatePaymentLinkRequest()
  • Method Details

    • getCardPaymentMethodSpecificInput

      public CardPaymentMethodSpecificInputBase getCardPaymentMethodSpecificInput()
      Object containing the specific input details for card payments
    • setCardPaymentMethodSpecificInput

      public void setCardPaymentMethodSpecificInput(CardPaymentMethodSpecificInputBase value)
      Object containing the specific input details for card payments
    • withCardPaymentMethodSpecificInput

      public CreatePaymentLinkRequest withCardPaymentMethodSpecificInput(CardPaymentMethodSpecificInputBase value)
      Object containing the specific input details for card payments
    • getDescription

      @Deprecated public String getDescription()
      Deprecated.
      A note related to the created payment link. Use paymentLinkSpecificInput/description instead.
      A note related to the created payment link.

      Deprecated: Use paymentLinkSpecificInput/description instead.

    • setDescription

      @Deprecated public void setDescription(String value)
      Deprecated.
      A note related to the created payment link. Use paymentLinkSpecificInput/description instead.
      A note related to the created payment link.

      Deprecated: Use paymentLinkSpecificInput/description instead.

    • withDescription

      @Deprecated public CreatePaymentLinkRequest withDescription(String value)
      Deprecated.
      A note related to the created payment link. Use paymentLinkSpecificInput/description instead.
      A note related to the created payment link.

      Deprecated: Use paymentLinkSpecificInput/description instead.

    • getExpirationDate

      @Deprecated public ZonedDateTime getExpirationDate()
      Deprecated.
      The date after which the payment link will not be usable to complete the payment. The date sent cannot be more than 6 months in the future or a past date. It must also contain the UTC offset. Use paymentLinkSpecificInput/expirationDate instead.
      The date after which the payment link will not be usable to complete the payment. The date sent cannot be more than 6 months in the future or a past date. It must also contain the UTC offset.

      Deprecated: Use paymentLinkSpecificInput/expirationDate instead.

    • setExpirationDate

      @Deprecated public void setExpirationDate(ZonedDateTime value)
      Deprecated.
      The date after which the payment link will not be usable to complete the payment. The date sent cannot be more than 6 months in the future or a past date. It must also contain the UTC offset. Use paymentLinkSpecificInput/expirationDate instead.
      The date after which the payment link will not be usable to complete the payment. The date sent cannot be more than 6 months in the future or a past date. It must also contain the UTC offset.

      Deprecated: Use paymentLinkSpecificInput/expirationDate instead.

    • withExpirationDate

      @Deprecated public CreatePaymentLinkRequest withExpirationDate(ZonedDateTime value)
      Deprecated.
      The date after which the payment link will not be usable to complete the payment. The date sent cannot be more than 6 months in the future or a past date. It must also contain the UTC offset. Use paymentLinkSpecificInput/expirationDate instead.
      The date after which the payment link will not be usable to complete the payment. The date sent cannot be more than 6 months in the future or a past date. It must also contain the UTC offset.

      Deprecated: Use paymentLinkSpecificInput/expirationDate instead.

    • getFeedbacks

      public Feedbacks getFeedbacks()
      This section will contain feedback Urls to provide feedback on the payment.
    • setFeedbacks

      public void setFeedbacks(Feedbacks value)
      This section will contain feedback Urls to provide feedback on the payment.
    • withFeedbacks

      public CreatePaymentLinkRequest withFeedbacks(Feedbacks value)
      This section will contain feedback Urls to provide feedback on the payment.
    • getFraudFields

      public FraudFields getFraudFields()
      Object containing additional data that will be used to assess the risk of fraud
    • setFraudFields

      public void setFraudFields(FraudFields value)
      Object containing additional data that will be used to assess the risk of fraud
    • withFraudFields

      public CreatePaymentLinkRequest withFraudFields(FraudFields value)
      Object containing additional data that will be used to assess the risk of fraud
    • getHostedCheckoutSpecificInput

      public HostedCheckoutSpecificInput getHostedCheckoutSpecificInput()
      Object containing hosted checkout specific data
    • setHostedCheckoutSpecificInput

      public void setHostedCheckoutSpecificInput(HostedCheckoutSpecificInput value)
      Object containing hosted checkout specific data
    • withHostedCheckoutSpecificInput

      public CreatePaymentLinkRequest withHostedCheckoutSpecificInput(HostedCheckoutSpecificInput value)
      Object containing hosted checkout specific data
    • getMobilePaymentMethodSpecificInput

      public MobilePaymentMethodHostedCheckoutSpecificInput getMobilePaymentMethodSpecificInput()
      Object containing the specific input details for mobile payments
    • setMobilePaymentMethodSpecificInput

      public void setMobilePaymentMethodSpecificInput(MobilePaymentMethodHostedCheckoutSpecificInput value)
      Object containing the specific input details for mobile payments
    • withMobilePaymentMethodSpecificInput

      public CreatePaymentLinkRequest withMobilePaymentMethodSpecificInput(MobilePaymentMethodHostedCheckoutSpecificInput value)
      Object containing the specific input details for mobile payments
    • getOrder

      public Order getOrder()
      Order object containing order related data Please note that this object is required to be able to submit the amount.
    • setOrder

      public void setOrder(Order value)
      Order object containing order related data Please note that this object is required to be able to submit the amount.
    • withOrder

      public CreatePaymentLinkRequest withOrder(Order value)
      Order object containing order related data Please note that this object is required to be able to submit the amount.
    • getPaymentLinkOrder

      public PaymentLinkOrderInput getPaymentLinkOrder()
      An object containing the details of the related payment input.

      Deprecated: All properties in paymentLinkOrder are deprecated. Use corresponding values as noted below: | Property | Replacement | | - | - | | merchantReference | references/merchantReference | | amount | order/amountOfMoney | | surchargeSpecificInput | order/surchargeSpecificInput |

    • setPaymentLinkOrder

      public void setPaymentLinkOrder(PaymentLinkOrderInput value)
      An object containing the details of the related payment input.

      Deprecated: All properties in paymentLinkOrder are deprecated. Use corresponding values as noted below: | Property | Replacement | | - | - | | merchantReference | references/merchantReference | | amount | order/amountOfMoney | | surchargeSpecificInput | order/surchargeSpecificInput |

    • withPaymentLinkOrder

      public CreatePaymentLinkRequest withPaymentLinkOrder(PaymentLinkOrderInput value)
      An object containing the details of the related payment input.

      Deprecated: All properties in paymentLinkOrder are deprecated. Use corresponding values as noted below: | Property | Replacement | | - | - | | merchantReference | references/merchantReference | | amount | order/amountOfMoney | | surchargeSpecificInput | order/surchargeSpecificInput |

    • getPaymentLinkSpecificInput

      public PaymentLinkSpecificInput getPaymentLinkSpecificInput()
      An object containing details specific to payment link creation
    • setPaymentLinkSpecificInput

      public void setPaymentLinkSpecificInput(PaymentLinkSpecificInput value)
      An object containing details specific to payment link creation
    • withPaymentLinkSpecificInput

      public CreatePaymentLinkRequest withPaymentLinkSpecificInput(PaymentLinkSpecificInput value)
      An object containing details specific to payment link creation
    • getRecipientName

      @Deprecated public String getRecipientName()
      Deprecated.
      The payment link recipient name. Use paymentLinkSpecificInput/recipientName instead.
      The payment link recipient name.

      Deprecated: Use paymentLinkSpecificInput/recipientName instead.

    • setRecipientName

      @Deprecated public void setRecipientName(String value)
      Deprecated.
      The payment link recipient name. Use paymentLinkSpecificInput/recipientName instead.
      The payment link recipient name.

      Deprecated: Use paymentLinkSpecificInput/recipientName instead.

    • withRecipientName

      @Deprecated public CreatePaymentLinkRequest withRecipientName(String value)
      Deprecated.
      The payment link recipient name. Use paymentLinkSpecificInput/recipientName instead.
      The payment link recipient name.

      Deprecated: Use paymentLinkSpecificInput/recipientName instead.

    • getRedirectPaymentMethodSpecificInput

      public RedirectPaymentMethodSpecificInput getRedirectPaymentMethodSpecificInput()
      Object containing the specific input details for payments that involve redirects to 3rd parties to complete, like iDeal and PayPal
    • setRedirectPaymentMethodSpecificInput

      public void setRedirectPaymentMethodSpecificInput(RedirectPaymentMethodSpecificInput value)
      Object containing the specific input details for payments that involve redirects to 3rd parties to complete, like iDeal and PayPal
    • withRedirectPaymentMethodSpecificInput

      public CreatePaymentLinkRequest withRedirectPaymentMethodSpecificInput(RedirectPaymentMethodSpecificInput value)
      Object containing the specific input details for payments that involve redirects to 3rd parties to complete, like iDeal and PayPal
    • getSepaDirectDebitPaymentMethodSpecificInput

      public SepaDirectDebitPaymentMethodSpecificInputBase getSepaDirectDebitPaymentMethodSpecificInput()
      Object containing the specific input details for SEPA direct debit payments
    • setSepaDirectDebitPaymentMethodSpecificInput

      public void setSepaDirectDebitPaymentMethodSpecificInput(SepaDirectDebitPaymentMethodSpecificInputBase value)
      Object containing the specific input details for SEPA direct debit payments
    • withSepaDirectDebitPaymentMethodSpecificInput

      public CreatePaymentLinkRequest withSepaDirectDebitPaymentMethodSpecificInput(SepaDirectDebitPaymentMethodSpecificInputBase value)
      Object containing the specific input details for SEPA direct debit payments