Class InvoicePartsDef.CommonInvoiceFields.Builder

    • Method Detail

      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setInvoiceType

        @NotNull
        public @NotNull InvoicePartsDef.CommonInvoiceFields.Builder setInvoiceType​(@NotNull
                                                                                   @NotNull java.lang.String invoiceType)
        Returns:
        represents type of invoice, Caplin supported values are [Settlement, Premium], example=
      • setEntityDescription

        @NotNull
        public @NotNull InvoicePartsDef.CommonInvoiceFields.Builder setEntityDescription​(@NotNull
                                                                                         @NotNull java.lang.String entityDescription)
        Returns:
        The entity the trade is on behalf of.
      • setTradingType

        @NotNull
        public @NotNull InvoicePartsDef.CommonInvoiceFields.Builder setTradingType​(@NotNull
                                                                                   @NotNull java.lang.String tradingType)
        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.
      • setNetPaymentAmount

        @NotNull
        public @NotNull InvoicePartsDef.CommonInvoiceFields.Builder setNetPaymentAmount​(@NotNull
                                                                                        @NotNull java.math.BigDecimal netPaymentAmount)
        Returns:
        The net amount of all the payments in an invoice.
      • setNetPaymentAmount

        @NotNull
        public @NotNull InvoicePartsDef.CommonInvoiceFields.Builder setNetPaymentAmount​(@NotNull
                                                                                        @NotNull java.lang.String netPaymentAmount)
        Returns:
        The net amount of all the payments in an invoice.