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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull InvoicePartsDef.CommonInvoiceFields
static @NotNull InvoicePartsDef.CommonInvoiceFields
@Nullable String
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
@Nullable String
@Nullable String
@Nullable BigDecimal
@Nullable String
@Nullable String
static @NotNull InvoicePartsDef.CommonInvoiceFields.Builder
@NotNull String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getGroupID
- Returns:
- A unique identifier for this group.
-
getInvoiceType
- Returns:
- represents type of invoice, Caplin supported values are [Settlement, Premium], example=
-
getEntityDescription
- Returns:
- The entity the trade is on behalf of.
-
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
- Returns:
- The commodity of the trade.
-
getIssueDate
- Returns:
- What date the invoice was issued on.
-
getPaymentDate
- Returns:
- The date by when the payment needs to be done.
-
getNetPaymentAmount
- Returns:
- The net amount of all the payments in an invoice.
-
getCurrency
- Returns:
- The currency the transaction has been made in.
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
-
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
-