Class PaymentProductFieldDisplayElement

java.lang.Object
com.onlinepayments.domain.PaymentProductFieldDisplayElement

public class PaymentProductFieldDisplayElement extends Object
  • Constructor Details

    • PaymentProductFieldDisplayElement

      public PaymentProductFieldDisplayElement()
  • Method Details

    • getId

      public String getId()
      The ID of the display element.
    • setId

      public void setId(String value)
      The ID of the display element.
    • withId

      The ID of the display element.
    • getLabel

      public String getLabel()
      The label of the display element.
    • setLabel

      public void setLabel(String value)
      The label of the display element.
    • withLabel

      public PaymentProductFieldDisplayElement withLabel(String value)
      The label of the display element.
    • getType

      public String getType()
      The type of the display element. Indicates how the value should be presented. Possible values are:
      • STRING - as plain text
      • CURRENCY - as an amount in cents displayed with a decimal separator and the currency of the payment
      • PERCENTAGE - as a number with a percentage sign
      • INTEGER - as an integer
      • URI - as a link
    • setType

      public void setType(String value)
      The type of the display element. Indicates how the value should be presented. Possible values are:
      • STRING - as plain text
      • CURRENCY - as an amount in cents displayed with a decimal separator and the currency of the payment
      • PERCENTAGE - as a number with a percentage sign
      • INTEGER - as an integer
      • URI - as a link
    • withType

      public PaymentProductFieldDisplayElement withType(String value)
      The type of the display element. Indicates how the value should be presented. Possible values are:
      • STRING - as plain text
      • CURRENCY - as an amount in cents displayed with a decimal separator and the currency of the payment
      • PERCENTAGE - as a number with a percentage sign
      • INTEGER - as an integer
      • URI - as a link
    • getValue

      public String getValue()
      the value of the display element.
    • setValue

      public void setValue(String value)
      the value of the display element.
    • withValue

      public PaymentProductFieldDisplayElement withValue(String value)
      the value of the display element.