/**
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
/**
* Entity objects describing a swap.
* <p>
* A swap takes place between two counterparties who agree to exchange streams of payments.
* In the simplest vanilla interest rate swap, there are two legs, one with a fixed rate
* and the other a floating rate. Many other more complex swaps can also be represented.
*/
package com.opengamma.strata.product.swap;