All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opengamma.strata.product.ProductTrade Maven / Gradle / Ivy

There is a newer version: 2.12.48
Show newest version
/*
 * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.strata.product;

/**
 * A trade that is directly based on a product.
 * 

* A product trade is a {@link Trade} that directly contains a reference to a {@link Product}. *

* Implementations of this interface must be immutable beans. */ public interface ProductTrade extends Trade { /** * Gets the underlying product that was agreed when the trade occurred. *

* The product captures the contracted financial details of the trade. * * @return the product */ public abstract Product getProduct(); //------------------------------------------------------------------------- /** * Returns an instance with the specified info. * * @param info the new info * @return the instance with the specified info */ @Override public abstract ProductTrade withInfo(PortfolioItemInfo info); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy