com.ingenico.direct.domain.CreatePaymentRequest Maven / Gradle / Ivy
/*
* This class was auto-generated from the API references found at
* https://support.direct.ingenico.com/documentation/api/reference
*/
package com.ingenico.direct.domain;
public class CreatePaymentRequest {
private CardPaymentMethodSpecificInput cardPaymentMethodSpecificInput = null;
private String encryptedCustomerInput = null;
private FraudFields fraudFields = null;
private MobilePaymentMethodSpecificInput mobilePaymentMethodSpecificInput = null;
private Order order = null;
private RedirectPaymentMethodSpecificInput redirectPaymentMethodSpecificInput = null;
/**
* Object containing the specific input details for card payments
*/
public CardPaymentMethodSpecificInput getCardPaymentMethodSpecificInput() {
return cardPaymentMethodSpecificInput;
}
/**
* Object containing the specific input details for card payments
*/
public void setCardPaymentMethodSpecificInput(CardPaymentMethodSpecificInput value) {
this.cardPaymentMethodSpecificInput = value;
}
/**
* Data that was encrypted client side containing all customer entered data elements like card data.
* Note: Because this data can only be submitted once to our system and contains encrypted card data you should not store it. As the data was captured within the context of a client session you also need to submit it to us before the session has expired.
*/
public String getEncryptedCustomerInput() {
return encryptedCustomerInput;
}
/**
* Data that was encrypted client side containing all customer entered data elements like card data.
* Note: Because this data can only be submitted once to our system and contains encrypted card data you should not store it. As the data was captured within the context of a client session you also need to submit it to us before the session has expired.
*/
public void setEncryptedCustomerInput(String value) {
this.encryptedCustomerInput = value;
}
/**
* Object containing additional data that will be used to assess the risk of fraud
*/
public FraudFields getFraudFields() {
return fraudFields;
}
/**
* Object containing additional data that will be used to assess the risk of fraud
*/
public void setFraudFields(FraudFields value) {
this.fraudFields = value;
}
/**
* Object containing the specific input details for mobile payments
*/
public MobilePaymentMethodSpecificInput getMobilePaymentMethodSpecificInput() {
return mobilePaymentMethodSpecificInput;
}
/**
* Object containing the specific input details for mobile payments
*/
public void setMobilePaymentMethodSpecificInput(MobilePaymentMethodSpecificInput value) {
this.mobilePaymentMethodSpecificInput = value;
}
/**
* Order object containing order related data
* Please note that this object is required to be able to submit the amount.
*/
public Order getOrder() {
return order;
}
/**
* Order object containing order related data
* Please note that this object is required to be able to submit the amount.
*/
public void setOrder(Order value) {
this.order = value;
}
/**
* Object containing the specific input details for payments that involve redirects to 3rd parties to complete, like iDeal and PayPal
*/
public RedirectPaymentMethodSpecificInput getRedirectPaymentMethodSpecificInput() {
return redirectPaymentMethodSpecificInput;
}
/**
* Object containing the specific input details for payments that involve redirects to 3rd parties to complete, like iDeal and PayPal
*/
public void setRedirectPaymentMethodSpecificInput(RedirectPaymentMethodSpecificInput value) {
this.redirectPaymentMethodSpecificInput = value;
}
}