
com.onlinepayments.domain.CardSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of onlinepayments-sdk-java Show documentation
Show all versions of onlinepayments-sdk-java Show documentation
SDK to communicate with the payment platform using the server API
/*
* 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