public final class ResolvedBulletPayment extends Object implements ResolvedProduct, org.joda.beans.ImmutableBean, Serializable
This is the resolved form of BulletPayment and is an input to the pricers.
Applications will typically create a ResolvedBulletPayment from a BulletPayment
using BulletPayment.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.
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedBulletPayment.Builder
The bean-builder for
ResolvedBulletPayment. |
static class |
ResolvedBulletPayment.Meta
The meta-bean for
ResolvedBulletPayment. |
| Modifier and Type | Method and 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 for
ResolvedBulletPayment. |
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() |
public static ResolvedBulletPayment of(Payment payment)
payment - the paymentpublic Currency getCurrency()
public static ResolvedBulletPayment.Meta meta()
ResolvedBulletPayment.public static ResolvedBulletPayment.Builder builder()
public ResolvedBulletPayment.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic Payment getPayment()
public ResolvedBulletPayment.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.