Class InvoicePartsDef.CommonInvoiceFields

java.lang.Object
com.caplin.generated.motif.commodities.invoice.InvoicePartsDef.CommonInvoiceFields
All Implemented Interfaces:
BuilderMessage, Message
Enclosing class:
InvoicePartsDef

public static final class InvoicePartsDef.CommonInvoiceFields extends Object implements BuilderMessage
  • Method Details

    • getGroupID

      @Nullable public @Nullable String getGroupID()
      Returns:
      A unique identifier for this group.
    • getInvoiceType

      @Nullable public @Nullable String getInvoiceType()
      Returns:
      represents type of invoice, Caplin supported values are [Settlement, Premium], example=
    • getEntityDescription

      @Nullable public @Nullable String getEntityDescription()
      Returns:
      The entity the trade is on behalf of.
    • getTradingType

      @Nullable public @Nullable String getTradingType()
      Returns:
      Caplin supported values are [FIXED_SWAP, BASIS_SWAP, EURO_PUT, EURO_CALL, EURO_COLLAR, EURO_3_WAY_COLLAR, EURO_CALL_SPREAD, ASIAN_CAP, ASIAN_FLOOR, ASIAN_COLLAR, ASIAN_3_WAY_COLLAR, ASIAN_CAP_SPREAD, ASIAN_FLOOR_SPREAD, SPREAD_PUT]. See the constants defined within com.caplin.motif.commodities.trading.CommoditiesTradingType for further details.
    • getCommodity

      @Nullable public @Nullable String getCommodity()
      Returns:
      The commodity of the trade.
    • getIssueDate

      @Nullable public @Nullable String getIssueDate()
      Returns:
      What date the invoice was issued on.
    • getPaymentDate

      @Nullable public @Nullable String getPaymentDate()
      Returns:
      The date by when the payment needs to be done.
    • getNetPaymentAmount

      @Nullable public @Nullable BigDecimal getNetPaymentAmount()
      Returns:
      The net amount of all the payments in an invoice.
    • getCurrency

      @Nullable public @Nullable String getCurrency()
      Returns:
      The currency the transaction has been made in.
    • getFields

      @NotNull public @NotNull Map<String,String> getFields()
      Specified by:
      getFields in interface Message
    • getFieldFlags

      @NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
      Specified by:
      getFieldFlags in interface BuilderMessage
      Returns:
      Get the flags for all fields.
    • getFlagFields

      @NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
      Specified by:
      getFlagFields in interface BuilderMessage
      Returns:
      Get the fields for all flags.
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • from

      @NotNull public static @NotNull InvoicePartsDef.CommonInvoiceFields from(@NotNull @NotNull Map<String,String> fields)
    • from

      @NotNull public static @NotNull InvoicePartsDef.CommonInvoiceFields from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
    • newBuilder

      @NotNull public static @NotNull InvoicePartsDef.CommonInvoiceFields.Builder newBuilder()