Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* ShellCardManagementAPIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
package com.shell.apitest.models;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonSetter;
import java.util.List;
/**
* This is a model class for PINReminderRequest type.
*/
public class PINReminderRequest {
private Integer accountId;
private String accountNumber;
private Integer colCoCode;
private Integer colCoId;
private Integer payerId;
private String payerNumber;
private List pINReminderCardDetails;
/**
* Default constructor.
*/
public PINReminderRequest() {
}
/**
* Initialization constructor.
* @param accountId Integer value for accountId.
* @param accountNumber String value for accountNumber.
* @param colCoCode Integer value for colCoCode.
* @param colCoId Integer value for colCoId.
* @param payerId Integer value for payerId.
* @param payerNumber String value for payerNumber.
* @param pINReminderCardDetails List of PINReminderCardDetails value for
* pINReminderCardDetails.
*/
public PINReminderRequest(
Integer accountId,
String accountNumber,
Integer colCoCode,
Integer colCoId,
Integer payerId,
String payerNumber,
List pINReminderCardDetails) {
this.accountId = accountId;
this.accountNumber = accountNumber;
this.colCoCode = colCoCode;
this.colCoId = colCoId;
this.payerId = payerId;
this.payerNumber = payerNumber;
this.pINReminderCardDetails = pINReminderCardDetails;
}
/**
* Getter for AccountId.
* Account Id of the customer.<br /> Optional if AccountNumber is passed, else Mandatory.<br />
* This input is a search criterion, if given.
* @return Returns the Integer
*/
@JsonGetter("AccountId")
@JsonInclude(JsonInclude.Include.NON_NULL)
public Integer getAccountId() {
return accountId;
}
/**
* Setter for AccountId.
* Account Id of the customer.<br /> Optional if AccountNumber is passed, else Mandatory.<br />
* This input is a search criterion, if given.
* @param accountId Value for Integer
*/
@JsonSetter("AccountId")
public void setAccountId(Integer accountId) {
this.accountId = accountId;
}
/**
* Getter for AccountNumber.
* Account Number of the customer.<br /> Optional if AccountId is passed, else Mandatory.<br />
* This input is a search criterion, if given.
* @return Returns the String
*/
@JsonGetter("AccountNumber")
@JsonInclude(JsonInclude.Include.NON_NULL)
public String getAccountNumber() {
return accountNumber;
}
/**
* Setter for AccountNumber.
* Account Number of the customer.<br /> Optional if AccountId is passed, else Mandatory.<br />
* This input is a search criterion, if given.
* @param accountNumber Value for String
*/
@JsonSetter("AccountNumber")
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
/**
* Getter for ColCoCode.
* Collecting Company Code (Shell Code) of the selected payer. <br /> Mandatory for serviced OUs
* such as Romania, Latvia, Lithuania, Estonia, Ukraine etc. <br /> It is optional for other
* countries if ColCoID is provided.
* @return Returns the Integer
*/
@JsonGetter("ColCoCode")
@JsonInclude(JsonInclude.Include.NON_NULL)
public Integer getColCoCode() {
return colCoCode;
}
/**
* Setter for ColCoCode.
* Collecting Company Code (Shell Code) of the selected payer. <br /> Mandatory for serviced OUs
* such as Romania, Latvia, Lithuania, Estonia, Ukraine etc. <br /> It is optional for other
* countries if ColCoID is provided.
* @param colCoCode Value for Integer
*/
@JsonSetter("ColCoCode")
public void setColCoCode(Integer colCoCode) {
this.colCoCode = colCoCode;
}
/**
* Getter for ColCoId.
* Collecting Company Id of the selected payer<br /> Optional if ColCoCode is passed else
* Mandatory.
* @return Returns the Integer
*/
@JsonGetter("ColCoId")
@JsonInclude(JsonInclude.Include.NON_NULL)
public Integer getColCoId() {
return colCoId;
}
/**
* Setter for ColCoId.
* Collecting Company Id of the selected payer<br /> Optional if ColCoCode is passed else
* Mandatory.
* @param colCoId Value for Integer
*/
@JsonSetter("ColCoId")
public void setColCoId(Integer colCoId) {
this.colCoId = colCoId;
}
/**
* Getter for PayerId.
* Payer Id (i.e. Customer Id of the Payment Customer of the selected payer.<br /> Optional if
* PayerNumber is passed else Mandatory
* @return Returns the Integer
*/
@JsonGetter("PayerId")
@JsonInclude(JsonInclude.Include.NON_NULL)
public Integer getPayerId() {
return payerId;
}
/**
* Setter for PayerId.
* Payer Id (i.e. Customer Id of the Payment Customer of the selected payer.<br /> Optional if
* PayerNumber is passed else Mandatory
* @param payerId Value for Integer
*/
@JsonSetter("PayerId")
public void setPayerId(Integer payerId) {
this.payerId = payerId;
}
/**
* Getter for PayerNumber.
* Payer Number (Ex: GB000000123) of the selected payer.<br /> Optional if PayerId is passed
* else Mandatory
* @return Returns the String
*/
@JsonGetter("PayerNumber")
@JsonInclude(JsonInclude.Include.NON_NULL)
public String getPayerNumber() {
return payerNumber;
}
/**
* Setter for PayerNumber.
* Payer Number (Ex: GB000000123) of the selected payer.<br /> Optional if PayerId is passed
* else Mandatory
* @param payerNumber Value for String
*/
@JsonSetter("PayerNumber")
public void setPayerNumber(String payerNumber) {
this.payerNumber = payerNumber;
}
/**
* Getter for PINReminderCardDetails.
* List of PINReminderCardDetails entity. The fields of this entity are described below.
* @return Returns the List of PINReminderCardDetails
*/
@JsonGetter("PINReminderCardDetails")
@JsonInclude(JsonInclude.Include.NON_NULL)
public List getPINReminderCardDetails() {
return pINReminderCardDetails;
}
/**
* Setter for PINReminderCardDetails.
* List of PINReminderCardDetails entity. The fields of this entity are described below.
* @param pINReminderCardDetails Value for List of PINReminderCardDetails
*/
@JsonSetter("PINReminderCardDetails")
public void setPINReminderCardDetails(List pINReminderCardDetails) {
this.pINReminderCardDetails = pINReminderCardDetails;
}
/**
* Converts this PINReminderRequest into string format.
* @return String representation of this class
*/
@Override
public String toString() {
return "PINReminderRequest [" + "accountId=" + accountId + ", accountNumber="
+ accountNumber + ", colCoCode=" + colCoCode + ", colCoId=" + colCoId + ", payerId="
+ payerId + ", payerNumber=" + payerNumber + ", pINReminderCardDetails="
+ pINReminderCardDetails + "]";
}
/**
* Builds a new {@link PINReminderRequest.Builder} object.
* Creates the instance with the state of the current model.
* @return a new {@link PINReminderRequest.Builder} object
*/
public Builder toBuilder() {
Builder builder = new Builder()
.accountId(getAccountId())
.accountNumber(getAccountNumber())
.colCoCode(getColCoCode())
.colCoId(getColCoId())
.payerId(getPayerId())
.payerNumber(getPayerNumber())
.pINReminderCardDetails(getPINReminderCardDetails());
return builder;
}
/**
* Class to build instances of {@link PINReminderRequest}.
*/
public static class Builder {
private Integer accountId;
private String accountNumber;
private Integer colCoCode;
private Integer colCoId;
private Integer payerId;
private String payerNumber;
private List pINReminderCardDetails;
/**
* Setter for accountId.
* @param accountId Integer value for accountId.
* @return Builder
*/
public Builder accountId(Integer accountId) {
this.accountId = accountId;
return this;
}
/**
* Setter for accountNumber.
* @param accountNumber String value for accountNumber.
* @return Builder
*/
public Builder accountNumber(String accountNumber) {
this.accountNumber = accountNumber;
return this;
}
/**
* Setter for colCoCode.
* @param colCoCode Integer value for colCoCode.
* @return Builder
*/
public Builder colCoCode(Integer colCoCode) {
this.colCoCode = colCoCode;
return this;
}
/**
* Setter for colCoId.
* @param colCoId Integer value for colCoId.
* @return Builder
*/
public Builder colCoId(Integer colCoId) {
this.colCoId = colCoId;
return this;
}
/**
* Setter for payerId.
* @param payerId Integer value for payerId.
* @return Builder
*/
public Builder payerId(Integer payerId) {
this.payerId = payerId;
return this;
}
/**
* Setter for payerNumber.
* @param payerNumber String value for payerNumber.
* @return Builder
*/
public Builder payerNumber(String payerNumber) {
this.payerNumber = payerNumber;
return this;
}
/**
* Setter for pINReminderCardDetails.
* @param pINReminderCardDetails List of PINReminderCardDetails value for
* pINReminderCardDetails.
* @return Builder
*/
public Builder pINReminderCardDetails(
List pINReminderCardDetails) {
this.pINReminderCardDetails = pINReminderCardDetails;
return this;
}
/**
* Builds a new {@link PINReminderRequest} object using the set fields.
* @return {@link PINReminderRequest}
*/
public PINReminderRequest build() {
return new PINReminderRequest(accountId, accountNumber, colCoCode, colCoId, payerId,
payerNumber, pINReminderCardDetails);
}
}
}