Class PaymentOutput

java.lang.Object
com.onlinepayments.domain.PaymentOutput

public class PaymentOutput extends Object
  • Constructor Details

    • PaymentOutput

      public PaymentOutput()
  • Method Details

    • getAcquiredAmount

      public AmountOfMoney getAcquiredAmount()
      Object containing amount and ISO currency code attributes
    • setAcquiredAmount

      public void setAcquiredAmount(AmountOfMoney value)
      Object containing amount and ISO currency code attributes
    • withAcquiredAmount

      public PaymentOutput withAcquiredAmount(AmountOfMoney value)
      Object containing amount and ISO currency code attributes
    • getAmountOfMoney

      public AmountOfMoney getAmountOfMoney()
      Object containing amount and ISO currency code attributes
    • setAmountOfMoney

      public void setAmountOfMoney(AmountOfMoney value)
      Object containing amount and ISO currency code attributes
    • withAmountOfMoney

      public PaymentOutput withAmountOfMoney(AmountOfMoney value)
      Object containing amount and ISO currency code attributes
    • getAmountPaid

      @Deprecated public Long getAmountPaid()
      Deprecated.
      Amount that has been paid. This is deprecated. Use acquiredAmount instead.
      Amount that has been paid. This is deprecated. Use acquiredAmount instead.
    • setAmountPaid

      @Deprecated public void setAmountPaid(Long value)
      Deprecated.
      Amount that has been paid. This is deprecated. Use acquiredAmount instead.
      Amount that has been paid. This is deprecated. Use acquiredAmount instead.
    • withAmountPaid

      @Deprecated public PaymentOutput withAmountPaid(Long value)
      Deprecated.
      Amount that has been paid. This is deprecated. Use acquiredAmount instead.
      Amount that has been paid. This is deprecated. Use acquiredAmount instead.
    • getCardPaymentMethodSpecificOutput

      public CardPaymentMethodSpecificOutput getCardPaymentMethodSpecificOutput()
      Object containing the card payment method details
    • setCardPaymentMethodSpecificOutput

      public void setCardPaymentMethodSpecificOutput(CardPaymentMethodSpecificOutput value)
      Object containing the card payment method details
    • withCardPaymentMethodSpecificOutput

      public PaymentOutput withCardPaymentMethodSpecificOutput(CardPaymentMethodSpecificOutput value)
      Object containing the card payment method details
    • getCustomer

      public CustomerOutput getCustomer()
      Object containing the details of the customer
    • setCustomer

      public void setCustomer(CustomerOutput value)
      Object containing the details of the customer
    • withCustomer

      public PaymentOutput withCustomer(CustomerOutput value)
      Object containing the details of the customer
    • getDiscount

      public Discount getDiscount()
      Object to apply a discount to the total basket by adding a discount line.
    • setDiscount

      public void setDiscount(Discount value)
      Object to apply a discount to the total basket by adding a discount line.
    • withDiscount

      public PaymentOutput withDiscount(Discount value)
      Object to apply a discount to the total basket by adding a discount line.
    • getMerchantParameters

      public String getMerchantParameters()
      It allows you to store additional parameters for the transaction in the format you prefer (e.g.-> key-value query string, JSON, etc.) These parameters are then echoed back to you in API GET calls and Webhook notifications. This field must not contain any personal data.
    • setMerchantParameters

      public void setMerchantParameters(String value)
      It allows you to store additional parameters for the transaction in the format you prefer (e.g.-> key-value query string, JSON, etc.) These parameters are then echoed back to you in API GET calls and Webhook notifications. This field must not contain any personal data.
    • withMerchantParameters

      public PaymentOutput withMerchantParameters(String value)
      It allows you to store additional parameters for the transaction in the format you prefer (e.g.-> key-value query string, JSON, etc.) These parameters are then echoed back to you in API GET calls and Webhook notifications. This field must not contain any personal data.
    • getMobilePaymentMethodSpecificOutput

      public MobilePaymentMethodSpecificOutput getMobilePaymentMethodSpecificOutput()
      Object containing the mobile payment method details
    • setMobilePaymentMethodSpecificOutput

      public void setMobilePaymentMethodSpecificOutput(MobilePaymentMethodSpecificOutput value)
      Object containing the mobile payment method details
    • withMobilePaymentMethodSpecificOutput

      public PaymentOutput withMobilePaymentMethodSpecificOutput(MobilePaymentMethodSpecificOutput value)
      Object containing the mobile payment method details
    • getPaymentMethod

      public String getPaymentMethod()
      Payment method identifier used by the our payment engine.
    • setPaymentMethod

      public void setPaymentMethod(String value)
      Payment method identifier used by the our payment engine.
    • withPaymentMethod

      public PaymentOutput withPaymentMethod(String value)
      Payment method identifier used by the our payment engine.
    • getRedirectPaymentMethodSpecificOutput

      public RedirectPaymentMethodSpecificOutput getRedirectPaymentMethodSpecificOutput()
      Object containing the redirect payment product details
    • setRedirectPaymentMethodSpecificOutput

      public void setRedirectPaymentMethodSpecificOutput(RedirectPaymentMethodSpecificOutput value)
      Object containing the redirect payment product details
    • withRedirectPaymentMethodSpecificOutput

      public PaymentOutput withRedirectPaymentMethodSpecificOutput(RedirectPaymentMethodSpecificOutput value)
      Object containing the redirect payment product details
    • getReferences

      public PaymentReferences getReferences()
      Object that holds all reference properties that are linked to this transaction. Deprecated for capture/refund: Use operationReferences instead.
    • setReferences

      public void setReferences(PaymentReferences value)
      Object that holds all reference properties that are linked to this transaction. Deprecated for capture/refund: Use operationReferences instead.
    • withReferences

      public PaymentOutput withReferences(PaymentReferences value)
      Object that holds all reference properties that are linked to this transaction. Deprecated for capture/refund: Use operationReferences instead.
    • getSepaDirectDebitPaymentMethodSpecificOutput

      public SepaDirectDebitPaymentMethodSpecificOutput getSepaDirectDebitPaymentMethodSpecificOutput()
      Object containing the SEPA direct debit details
    • setSepaDirectDebitPaymentMethodSpecificOutput

      public void setSepaDirectDebitPaymentMethodSpecificOutput(SepaDirectDebitPaymentMethodSpecificOutput value)
      Object containing the SEPA direct debit details
    • withSepaDirectDebitPaymentMethodSpecificOutput

      public PaymentOutput withSepaDirectDebitPaymentMethodSpecificOutput(SepaDirectDebitPaymentMethodSpecificOutput value)
      Object containing the SEPA direct debit details
    • getSurchargeSpecificOutput

      public SurchargeSpecificOutput getSurchargeSpecificOutput()
      Object containing specific surcharging attributes applied to an order.
    • setSurchargeSpecificOutput

      public void setSurchargeSpecificOutput(SurchargeSpecificOutput value)
      Object containing specific surcharging attributes applied to an order.
    • withSurchargeSpecificOutput

      public PaymentOutput withSurchargeSpecificOutput(SurchargeSpecificOutput value)
      Object containing specific surcharging attributes applied to an order.