com.liferay.commerce.channel.web.internal.model.PaymentMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.channel.web
Show all versions of com.liferay.commerce.channel.web
Liferay Commerce Channel Web
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.channel.web.internal.model;
import com.liferay.commerce.frontend.model.LabelField;
/**
* @author Marco Leo
* @author Alessio Antonio Rendina
*/
public class PaymentMethod {
public PaymentMethod(
String description, String key, String name, String paymentEngine,
String paymentIntegrationKey, LabelField status) {
_description = description;
_key = key;
_name = name;
_paymentEngine = paymentEngine;
_paymentIntegrationKey = paymentIntegrationKey;
_status = status;
}
public String getDescription() {
return _description;
}
public String getKey() {
return _key;
}
public String getName() {
return _name;
}
public String getPaymentEngine() {
return _paymentEngine;
}
public String getPaymentIntegrationKey() {
return _paymentIntegrationKey;
}
public LabelField getStatus() {
return _status;
}
private final String _description;
private final String _key;
private final String _name;
private final String _paymentEngine;
private final String _paymentIntegrationKey;
private final LabelField _status;
}