Class PaymentProductFieldFormElement

java.lang.Object
com.onlinepayments.domain.PaymentProductFieldFormElement

public class PaymentProductFieldFormElement extends Object
  • Constructor Details

    • PaymentProductFieldFormElement

      public PaymentProductFieldFormElement()
  • Method Details

    • getType

      public String getType()
      Type of form element to be used. The following types can be returned:
      • text - A normal text input field
      • list - A list of values that the customer needs to choose from, is detailed in the valueMapping array
      • currency - Currency fields should be split into two fields, with the second one being specifically for the cents
      • boolean - Boolean fields should offer the customer a choice, like accepting the terms and conditions of a product.
      • date - let the customer pick a date.
    • setType

      public void setType(String value)
      Type of form element to be used. The following types can be returned:
      • text - A normal text input field
      • list - A list of values that the customer needs to choose from, is detailed in the valueMapping array
      • currency - Currency fields should be split into two fields, with the second one being specifically for the cents
      • boolean - Boolean fields should offer the customer a choice, like accepting the terms and conditions of a product.
      • date - let the customer pick a date.
    • withType

      public PaymentProductFieldFormElement withType(String value)
      Type of form element to be used. The following types can be returned:
      • text - A normal text input field
      • list - A list of values that the customer needs to choose from, is detailed in the valueMapping array
      • currency - Currency fields should be split into two fields, with the second one being specifically for the cents
      • boolean - Boolean fields should offer the customer a choice, like accepting the terms and conditions of a product.
      • date - let the customer pick a date.
    • getValueMapping

      @Deprecated public List<ValueMappingElement> getValueMapping()
      Deprecated.
      This field is not used by any payment product
      Deprecated: This field is not used by any payment product
    • setValueMapping

      @Deprecated public void setValueMapping(List<ValueMappingElement> value)
      Deprecated.
      This field is not used by any payment product
      Deprecated: This field is not used by any payment product
    • withValueMapping

      Deprecated.
      This field is not used by any payment product
      Deprecated: This field is not used by any payment product