Class PaymentMethodInfoImpl
java.lang.Object
com.commercetools.api.models.payment.PaymentMethodInfoImpl
- All Implemented Interfaces:
PaymentMethodInfo
,io.vrap.rmf.base.client.ModelBase
public class PaymentMethodInfoImpl
extends Object
implements PaymentMethodInfo, io.vrap.rmf.base.client.ModelBase
PaymentMethodInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Payment method used, for example, credit card, or cash advance.getName()
Localizable name of the payment method.Payment service that processes the Payment (for example, a PSP).int
hashCode()
void
Payment method used, for example, credit card, or cash advance.void
setName
(LocalizedString name) Localizable name of the payment method.void
setPaymentInterface
(String paymentInterface) Payment service that processes the Payment (for example, a PSP).Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.payment.PaymentMethodInfo
withPaymentMethodInfo
-
Constructor Details
-
PaymentMethodInfoImpl
public PaymentMethodInfoImpl()create empty instance
-
-
Method Details
-
getPaymentInterface
Payment service that processes the Payment (for example, a PSP). Once set, it cannot be changed. The combination of
paymentInterface
and theinterfaceId
of a Payment must be unique.- Specified by:
getPaymentInterface
in interfacePaymentMethodInfo
- Returns:
- paymentInterface
-
getMethod
Payment method used, for example, credit card, or cash advance.
- Specified by:
getMethod
in interfacePaymentMethodInfo
- Returns:
- method
-
getName
Localizable name of the payment method.
- Specified by:
getName
in interfacePaymentMethodInfo
- Returns:
- name
-
setPaymentInterface
Description copied from interface:PaymentMethodInfo
Payment service that processes the Payment (for example, a PSP). Once set, it cannot be changed. The combination of
paymentInterface
and theinterfaceId
of a Payment must be unique.- Specified by:
setPaymentInterface
in interfacePaymentMethodInfo
- Parameters:
paymentInterface
- value to be set
-
setMethod
Description copied from interface:PaymentMethodInfo
Payment method used, for example, credit card, or cash advance.
- Specified by:
setMethod
in interfacePaymentMethodInfo
- Parameters:
method
- value to be set
-
setName
Description copied from interface:PaymentMethodInfo
Localizable name of the payment method.
- Specified by:
setName
in interfacePaymentMethodInfo
- Parameters:
name
- value to be set
-
equals
-
hashCode
-