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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull InvoicePartsDef.CommonInvoiceFieldsstatic @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 Stringstatic @NotNull InvoicePartsDef.CommonInvoiceFields.Builder@NotNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 agreed-upon date by which the buyer must transfer payment to the seller for the commodity delivered.
-
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:
getFieldFlagsin interfaceBuilderMessage- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFieldsin 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
-