Class Sale

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, java.io.Serializable

    @Valid
    public class Sale
    extends java.lang.Object
    implements com.anaptecs.jeaf.core.api.ServiceObject
    Chännel
    €
    Ö
    Version:
    JEAF Release 1.6.x
    Author:
    JEAF Generator
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Sale.Builder
      Class implements builder to create a new instance of class Sale.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Sale()
      Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
      protected Sale​(Sale.Builder pBuilder)
      Initialize object using the passed builder.
    • Constructor Detail

      • Sale

        protected Sale()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
      • Sale

        protected Sale​(Sale.Builder pBuilder)
        Initialize object using the passed builder.
        Parameters:
        pBuilder - Builder that should be used to initialize this object. The parameter must not be null.
    • Method Detail

      • builder

        public static Sale.Builder builder()
        Method returns a new builder.
        Returns:
        Sale.Builder New builder that can be used to create new Sale objects.
      • builder

        public static Sale.Builder builder​(Sale pObject)
        Method creates a new builder and initialize it with the data from the passed object.
        Parameters:
        pObject - Object that should be used to initialize the builder. The parameter may be null.
        Returns:
        Sale.Builder New builder that can be used to create new Sale objects. The method never returns null.
      • builder

        public static Sale.Builder builder​(java.math.BigDecimal pTransactionAmount)
        Method creates a new builder and initializes it with the passed attributes.
      • getTransactionAmount

        public java.math.BigDecimal getTransactionAmount()
        Method returns attribute transactionAmount.
        Returns:
        BigDecimal Value to which transactionAmount is set.
      • setTransactionAmount

        public void setTransactionAmount​(java.math.BigDecimal pTransactionAmount)
        Method sets attribute transactionAmount.
        Parameters:
        pTransactionAmount - Value to which transactionAmount should be set.
      • getSale

        public Channel getSale()
        Method returns association sale.
        Returns:
        Channel Value to which sale is set.
      • setSale

        public void setSale​(Channel pSale)
        Method sets association sale.
        Parameters:
        pSale - Value to which sale should be set.
      • unsetSale

        public final void unsetSale()
        Method unsets sale.
      • toStringBuilder

        public java.lang.StringBuilder toStringBuilder​(java.lang.String pIndent)
        Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.
        Returns:
        StringBuilder StringBuilder representing this object. The method never returns null.
      • toString

        public java.lang.String toString()
        Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String String representation of this object. The method never returns null.