com.ingenico.direct.domain.MobilePaymentMethodHostedCheckoutSpecificInput 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;
/**
* Object containing the specific input details for mobile payments
*/
public class MobilePaymentMethodHostedCheckoutSpecificInput {
private String authorizationMode = null;
private Integer paymentProductId = null;
/**
* Determines the type of the authorization that will be used. Allowed values:
* * FINAL_AUTHORIZATION - The payment creation results in an authorization that is ready for capture. Final authorizations can't be reversed and need to be captured for the full amount within 7 days.
* * PRE_AUTHORIZATION - The payment creation results in a pre-authorization that is ready for capture. Pre-authortizations can be reversed and can be captured within 30 days. The capture amount can be lower than the authorized amount.
* * SALE - The payment creation results in an authorization that is already captured at the moment of approval.
*
* Only used with some acquirers, ignored for acquirers that don't support this. In case the acquirer doesn't allow this to be specified the authorizationMode is 'unspecified', which behaves similar to a final authorization.
*/
public String getAuthorizationMode() {
return authorizationMode;
}
/**
* Determines the type of the authorization that will be used. Allowed values:
* * FINAL_AUTHORIZATION - The payment creation results in an authorization that is ready for capture. Final authorizations can't be reversed and need to be captured for the full amount within 7 days.
* * PRE_AUTHORIZATION - The payment creation results in a pre-authorization that is ready for capture. Pre-authortizations can be reversed and can be captured within 30 days. The capture amount can be lower than the authorized amount.
* * SALE - The payment creation results in an authorization that is already captured at the moment of approval.
*
* Only used with some acquirers, ignored for acquirers that don't support this. In case the acquirer doesn't allow this to be specified the authorizationMode is 'unspecified', which behaves similar to a final authorization.
*/
public void setAuthorizationMode(String value) {
this.authorizationMode = value;
}
/**
* Payment product identifier - Please see [payment products](https://support.direct.ingenico.com/documentation/api/reference/index.html#tag/Products) for a full overview of possible values.
*/
public Integer getPaymentProductId() {
return paymentProductId;
}
/**
* Payment product identifier - Please see [payment products](https://support.direct.ingenico.com/documentation/api/reference/index.html#tag/Products) for a full overview of possible values.
*/
public void setPaymentProductId(Integer value) {
this.paymentProductId = value;
}
}