Class PaymentLabelImpl
java.lang.Object
com.commercetools.history.models.label.PaymentLabelImpl
- All Implemented Interfaces:
Label,PaymentLabel,io.vrap.rmf.base.client.ModelBase
public class PaymentLabelImpl
extends Object
implements PaymentLabel, io.vrap.rmf.base.client.ModelBase
PaymentLabel
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Field Summary
Fields inherited from interface com.commercetools.history.models.label.PaymentLabel
PAYMENT_LABEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMoney value the Payment intends to receive from the Customer.getKey()User-defined unique identifier of the Payment.getType()inthashCode()voidsetAmountPlanned(Money amountPlanned) Money value the Payment intends to receive from the Customer.voidUser-defined unique identifier of the Payment.toString()Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.label.PaymentLabel
withPaymentLabel
-
Constructor Details
-
PaymentLabelImpl
public PaymentLabelImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLabel- Specified by:
getTypein interfacePaymentLabel- Returns:
- type
-
getKey
User-defined unique identifier of the Payment.
- Specified by:
getKeyin interfacePaymentLabel- Returns:
- key
-
getAmountPlanned
Money value the Payment intends to receive from the Customer.
- Specified by:
getAmountPlannedin interfacePaymentLabel- Returns:
- amountPlanned
-
setKey
Description copied from interface:PaymentLabelUser-defined unique identifier of the Payment.
- Specified by:
setKeyin interfacePaymentLabel- Parameters:
key- value to be set
-
setAmountPlanned
Description copied from interface:PaymentLabelMoney value the Payment intends to receive from the Customer.
- Specified by:
setAmountPlannedin interfacePaymentLabel- Parameters:
amountPlanned- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-