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
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Money value the Payment intends to receive from the Customer.
    User-defined unique identifier of the Payment.
     
    int
     
    void
    setAmountPlanned(Money amountPlanned)
    Money value the Payment intends to receive from the Customer.
    void
    User-defined unique identifier of the Payment.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.commercetools.history.models.label.Label

    withLabel

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.history.models.label.PaymentLabel

    withPaymentLabel
  • Constructor Details

    • PaymentLabelImpl

      public PaymentLabelImpl()
      create empty instance
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Label
      Specified by:
      getType in interface PaymentLabel
      Returns:
      type
    • getKey

      public String getKey()

      User-defined unique identifier of the Payment.

      Specified by:
      getKey in interface PaymentLabel
      Returns:
      key
    • getAmountPlanned

      public Money getAmountPlanned()

      Money value the Payment intends to receive from the Customer.

      Specified by:
      getAmountPlanned in interface PaymentLabel
      Returns:
      amountPlanned
    • setKey

      public void setKey(String key)
      Description copied from interface: PaymentLabel

      User-defined unique identifier of the Payment.

      Specified by:
      setKey in interface PaymentLabel
      Parameters:
      key - value to be set
    • setAmountPlanned

      public void setAmountPlanned(Money amountPlanned)
      Description copied from interface: PaymentLabel

      Money value the Payment intends to receive from the Customer.

      Specified by:
      setAmountPlanned in interface PaymentLabel
      Parameters:
      amountPlanned - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object