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

com.ingenico.connect.gateway.sdk.java.domain.product.definitions.PaymentProductField 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;

public class PaymentProductField {

	private PaymentProductFieldDataRestrictions dataRestrictions = null;

	private PaymentProductFieldDisplayHints displayHints = null;

	private String id = null;

	private String type = null;

	private Boolean usedForLookup = null;

	/**
	 * Object containing data restrictions that apply to this field, like minimum and/or maximum length
	 */
	public PaymentProductFieldDataRestrictions getDataRestrictions() {
		return dataRestrictions;
	}

	/**
	 * Object containing data restrictions that apply to this field, like minimum and/or maximum length
	 */
	public void setDataRestrictions(PaymentProductFieldDataRestrictions value) {
		this.dataRestrictions = value;
	}

	/**
	 * Object containing display hints for this field, like the order, mask, preferred keyboard
	 */
	public PaymentProductFieldDisplayHints getDisplayHints() {
		return displayHints;
	}

	/**
	 * Object containing display hints for this field, like the order, mask, preferred keyboard
	 */
	public void setDisplayHints(PaymentProductFieldDisplayHints value) {
		this.displayHints = value;
	}

	/**
	 * The ID of the field
	 */
	public String getId() {
		return id;
	}

	/**
	 * The ID of the field
	 */
	public void setId(String value) {
		this.id = value;
	}

	/**
	 * The type of field, possible values are:
	 * 
    *
  • string - Any UTF-8 chracters *
  • numericstring - A string that consisting only of numbers. Note that you should strip out anything that is not a digit, but leading zeros are allowed *
  • date - Date in the format DDMMYYYY *
  • expirydate - Expiration date in the format MMYY *
  • integer - An integer *
  • boolean - A boolean *
*/ public String getType() { return type; } /** * The type of field, possible values are: *
    *
  • string - Any UTF-8 chracters *
  • numericstring - A string that consisting only of numbers. Note that you should strip out anything that is not a digit, but leading zeros are allowed *
  • date - Date in the format DDMMYYYY *
  • expirydate - Expiration date in the format MMYY *
  • integer - An integer *
  • boolean - A boolean *
*/ public void setType(String value) { this.type = value; } /** * Indicates that the product can be used in a get customer details call and that when that call is done the field should be supplied as (one of the) key(s) with a valid value. */ public Boolean getUsedForLookup() { return usedForLookup; } /** * Indicates that the product can be used in a get customer details call and that when that call is done the field should be supplied as (one of the) key(s) with a valid value. */ public void setUsedForLookup(Boolean value) { this.usedForLookup = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy