Class Property

java.lang.Object
com.skava.payment.model.Property
All Implemented Interfaces:
Serializable

public class Property extends Object implements Serializable

The Class Property

This class defines the model for Property (Data Transfer Object). This will be child entity for Payment, CollectionProvider, PaymentItem, Transaction contains a composite key that comprises of the following 1. property name 2. property value *
Since:
07-Aug-2018
Author:
Infosys Equinox
See Also:
  • Constructor Details

    • Property

      public Property()
  • Method Details

    • of

      public static Property of(String name, String value)
      Of. a static factory method to instantiate followed as best practice as suggested by Effective Java, Joshua Bloch
      Parameters:
      name - the name
      value - the value
      Returns:
      the property