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
BulletPaymentand is an input to the pricers. Applications will typically create aResolvedBulletPaymentfrom aBulletPaymentusingBulletPayment.resolve(ReferenceData).A
ResolvedBulletPaymentis 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 classResolvedBulletPayment.BuilderThe bean-builder forResolvedBulletPayment.static classResolvedBulletPayment.MetaThe meta-bean forResolvedBulletPayment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolvedBulletPayment.Builderbuilder()Returns a builder used to create an instance of the bean.booleanequals(Object obj)CurrencygetCurrency()Gets the currency of this payment.PaymentgetPayment()Gets the payment to be made.inthashCode()static ResolvedBulletPayment.Metameta()The meta-bean forResolvedBulletPayment.ResolvedBulletPayment.MetametaBean()static ResolvedBulletPaymentof(Payment payment)Obtains an instance of a resolved bullet payment.ResolvedBulletPayment.BuildertoBuilder()Returns a builder that allows this bean to be mutated.StringtoString()
-
-
-
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:
metaBeanin 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
-
-