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

com.onlinepayments.domain.CardSource Maven / Gradle / Ivy

There is a newer version: 4.24.0
Show newest version
/*
 * This class was auto-generated.
 */
package com.onlinepayments.domain;

/**
 * Contains elements from which card number can be obtained.
 */
public class CardSource {

	private SurchargeCalculationCard card = null;

	private String encryptedCustomerInput = null;

	private String hostedTokenizationId = null;

	private String token = null;

	/**
	 * An object containing card number and payment product id, which is used to determine surcharge product type
	 */
	public SurchargeCalculationCard getCard() {
		return card;
	}

	/**
	 * An object containing card number and payment product id, which is used to determine surcharge product type
	 */
	public void setCard(SurchargeCalculationCard value) {
		this.card = value;
	}

	/**
	 * An object containing card number and payment product id, which is used to determine surcharge product type
	 */
	public CardSource withCard(SurchargeCalculationCard value) {
		this.card = value;
		return this;
	}

	/**
	 * Data that was encrypted client side containing all customer entered data elements like card data.
	 */
	public String getEncryptedCustomerInput() {
		return encryptedCustomerInput;
	}

	/**
	 * Data that was encrypted client side containing all customer entered data elements like card data.
	 */
	public void setEncryptedCustomerInput(String value) {
		this.encryptedCustomerInput = value;
	}

	/**
	 * Data that was encrypted client side containing all customer entered data elements like card data.
	 */
	public CardSource withEncryptedCustomerInput(String value) {
		this.encryptedCustomerInput = value;
		return this;
	}

	/**
	 * An Id of a hosted tokenization session
	 */
	public String getHostedTokenizationId() {
		return hostedTokenizationId;
	}

	/**
	 * An Id of a hosted tokenization session
	 */
	public void setHostedTokenizationId(String value) {
		this.hostedTokenizationId = value;
	}

	/**
	 * An Id of a hosted tokenization session
	 */
	public CardSource withHostedTokenizationId(String value) {
		this.hostedTokenizationId = value;
		return this;
	}

	/**
	 * An identifier that represents card details that have been previously stored
	 */
	public String getToken() {
		return token;
	}

	/**
	 * An identifier that represents card details that have been previously stored
	 */
	public void setToken(String value) {
		this.token = value;
	}

	/**
	 * An identifier that represents card details that have been previously stored
	 */
	public CardSource withToken(String value) {
		this.token = value;
		return this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy