com.liferay.commerce.payment.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.payment.web
Show all versions of com.liferay.commerce.payment.web
Liferay Commerce Payment 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.payment.web.internal.model;
/**
* @author Crescenzo Rega
*/
public class PaymentMethod {
public PaymentMethod(
long accountEntryId, String active, String channelName,
long commerceChannelId, String paymentMethodName) {
_accountEntryId = accountEntryId;
_active = active;
_channelName = channelName;
_commerceChannelId = commerceChannelId;
_paymentMethodName = paymentMethodName;
}
public long getAccountEntryId() {
return _accountEntryId;
}
public String getActive() {
return _active;
}
public String getChannelName() {
return _channelName;
}
public long getCommerceChannelId() {
return _commerceChannelId;
}
public String getPaymentMethodName() {
return _paymentMethodName;
}
private final long _accountEntryId;
private final String _active;
private final String _channelName;
private final long _commerceChannelId;
private final String _paymentMethodName;
}