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

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

	private Integer fiscalNumberLength = null;

	/**
	 * When performing a payment with Boleto Bancario, some values are only required when the fiscalnumber has a specific length. The length the fiscalnumber has to have to make the field required is defined here.
	 * For example the CompanyName is required when the fiscalnumber is a CNPJ. The firstname and surname are required when the fiscalnumber is a CPF.
	 */
	public Integer getFiscalNumberLength() {
		return fiscalNumberLength;
	}

	/**
	 * When performing a payment with Boleto Bancario, some values are only required when the fiscalnumber has a specific length. The length the fiscalnumber has to have to make the field required is defined here.
	 * For example the CompanyName is required when the fiscalnumber is a CNPJ. The firstname and surname are required when the fiscalnumber is a CPF.
	 */
	public void setFiscalNumberLength(Integer value) {
		this.fiscalNumberLength = value;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy