All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ingenico.connect.gateway.sdk.java.domain.product.definitions.PaymentProductFieldFormElement Maven / Gradle / Ivy

Go to download

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

There is a newer version: 6.47.0
Show newest version
/*
 * This class was auto-generated from the API references found at
 * https://epayments-api.developer-ingenico.com/s2sapi/v1/
 */
package com.ingenico.connect.gateway.sdk.java.domain.product.definitions;

import java.util.List;

public class PaymentProductFieldFormElement {

	private String type = null;

	private List valueMapping = null;

	/**
	 * 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. *
*/ public String getType() { return type; } /** * 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. *
*/ public void setType(String value) { this.type = value; } /** * An array of values and displayNames that should be used to populate the list object in the GUI */ public List getValueMapping() { return valueMapping; } /** * An array of values and displayNames that should be used to populate the list object in the GUI */ public void setValueMapping(List value) { this.valueMapping = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy