Class ResolvedBulletPayment
- java.lang.Object
-
- com.opengamma.strata.product.payment.ResolvedBulletPayment
-
- All Implemented Interfaces:
ResolvedProduct
,Serializable
,org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class ResolvedBulletPayment extends Object implements ResolvedProduct, org.joda.beans.ImmutableBean, Serializable
A bullet payment, resolved for pricing.This is the resolved form of
BulletPayment
and is an input to the pricers. Applications will typically create aResolvedBulletPayment
from aBulletPayment
usingBulletPayment.resolve(ReferenceData)
.A
ResolvedBulletPayment
is bound to data that changes over time, such as holiday calendars. If the data changes, such as the addition of a new holiday, the resolved form will not be updated. Care must be taken when placing the resolved form in a cache or persistence layer.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResolvedBulletPayment.Builder
The bean-builder forResolvedBulletPayment
.static class
ResolvedBulletPayment.Meta
The meta-bean forResolvedBulletPayment
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolvedBulletPayment.Builder
builder()
Returns a builder used to create an instance of the bean.boolean
equals(Object obj)
Currency
getCurrency()
Gets the currency of this payment.Payment
getPayment()
Gets the payment to be made.int
hashCode()
static ResolvedBulletPayment.Meta
meta()
The meta-bean forResolvedBulletPayment
.ResolvedBulletPayment.Meta
metaBean()
static ResolvedBulletPayment
of(Payment payment)
Obtains an instance of a resolved bullet payment.ResolvedBulletPayment.Builder
toBuilder()
Returns a builder that allows this bean to be mutated.String
toString()
-
-
-
Method Detail
-
of
public static ResolvedBulletPayment of(Payment payment)
Obtains an instance of a resolved bullet payment.- Parameters:
payment
- the payment- Returns:
- the resolved bullet payment
-
getCurrency
public Currency getCurrency()
Gets the currency of this payment.- Returns:
- the payment currency
-
meta
public static ResolvedBulletPayment.Meta meta()
The meta-bean forResolvedBulletPayment
.- Returns:
- the meta-bean, not null
-
builder
public static ResolvedBulletPayment.Builder builder()
Returns a builder used to create an instance of the bean.- Returns:
- the builder, not null
-
metaBean
public ResolvedBulletPayment.Meta metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getPayment
public Payment getPayment()
Gets the payment to be made.- Returns:
- the value of the property, not null
-
toBuilder
public ResolvedBulletPayment.Builder toBuilder()
Returns a builder that allows this bean to be mutated.- Returns:
- the mutable builder, not null
-
-