Class PaymentReconciliation.Detail.Builder
- java.lang.Object
-
- com.ibm.fhir.model.builder.AbstractBuilder<Element>
-
- com.ibm.fhir.model.type.Element.Builder
-
- com.ibm.fhir.model.type.BackboneElement.Builder
-
- com.ibm.fhir.model.resource.PaymentReconciliation.Detail.Builder
-
- Enclosing class:
- PaymentReconciliation.Detail
public static class PaymentReconciliation.Detail.Builder extends BackboneElement.Builder
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
modifierExtension
-
Fields inherited from class com.ibm.fhir.model.type.Element.Builder
extension, id
-
Fields inherited from class com.ibm.fhir.model.builder.AbstractBuilder
validating
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentReconciliation.Detail.Builder
amount(Money amount)
The monetary amount allocated from the total payment to the payable.PaymentReconciliation.Detail
build()
Build thePaymentReconciliation.Detail
PaymentReconciliation.Detail.Builder
date(Date date)
The date from the response resource containing a commitment to pay.PaymentReconciliation.Detail.Builder
date(LocalDate date)
Convenience method for settingdate
.PaymentReconciliation.Detail.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element.PaymentReconciliation.Detail.Builder
extension(Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element.protected PaymentReconciliation.Detail.Builder
from(PaymentReconciliation.Detail detail)
PaymentReconciliation.Detail.Builder
id(String id)
Unique id for the element within a resource (for internal references).PaymentReconciliation.Detail.Builder
identifier(Identifier identifier)
Unique identifier for the current payment item for the referenced payable.PaymentReconciliation.Detail.Builder
modifierExtension(Extension... modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants.PaymentReconciliation.Detail.Builder
modifierExtension(Collection<Extension> modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants.PaymentReconciliation.Detail.Builder
payee(Reference payee)
The party which is receiving the payment.PaymentReconciliation.Detail.Builder
predecessor(Identifier predecessor)
Unique identifier for the prior payment item for the referenced payable.PaymentReconciliation.Detail.Builder
request(Reference request)
A resource, such as a Claim, the evaluation of which could lead to payment.PaymentReconciliation.Detail.Builder
response(Reference response)
A resource, such as a ClaimResponse, which contains a commitment to payment.PaymentReconciliation.Detail.Builder
responsible(Reference responsible)
A reference to the individual who is responsible for inquiries regarding the response and its payment.PaymentReconciliation.Detail.Builder
submitter(Reference submitter)
The party which submitted the claim or financial transaction.PaymentReconciliation.Detail.Builder
type(CodeableConcept type)
Code to indicate the nature of the payment.protected void
validate(PaymentReconciliation.Detail detail)
-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
from, validate
-
Methods inherited from class com.ibm.fhir.model.type.Element.Builder
from, validate
-
Methods inherited from class com.ibm.fhir.model.builder.AbstractBuilder
isValidating, setValidating
-
-
-
-
Method Detail
-
id
public PaymentReconciliation.Detail.Builder id(String id)
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.- Overrides:
id
in classBackboneElement.Builder
- Parameters:
id
- Unique id for inter-element referencing- Returns:
- A reference to this Builder instance
-
extension
public PaymentReconciliation.Detail.Builder extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Adds new element(s) to the existing list. If any of the elements are null, calling
build()
will fail.- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public PaymentReconciliation.Detail.Builder extension(Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()
will fail.- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
- Throws:
NullPointerException
- If the passed collection is null
-
modifierExtension
public PaymentReconciliation.Detail.Builder modifierExtension(Extension... modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Adds new element(s) to the existing list. If any of the elements are null, calling
build()
will fail.- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
modifierExtension
public PaymentReconciliation.Detail.Builder modifierExtension(Collection<Extension> modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()
will fail.- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
- Throws:
NullPointerException
- If the passed collection is null
-
identifier
public PaymentReconciliation.Detail.Builder identifier(Identifier identifier)
Unique identifier for the current payment item for the referenced payable.- Parameters:
identifier
- Business identifier of the payment detail- Returns:
- A reference to this Builder instance
-
predecessor
public PaymentReconciliation.Detail.Builder predecessor(Identifier predecessor)
Unique identifier for the prior payment item for the referenced payable.- Parameters:
predecessor
- Business identifier of the prior payment detail- Returns:
- A reference to this Builder instance
-
type
public PaymentReconciliation.Detail.Builder type(CodeableConcept type)
Code to indicate the nature of the payment.This element is required.
- Parameters:
type
- Category of payment- Returns:
- A reference to this Builder instance
-
request
public PaymentReconciliation.Detail.Builder request(Reference request)
A resource, such as a Claim, the evaluation of which could lead to payment.- Parameters:
request
- Request giving rise to the payment- Returns:
- A reference to this Builder instance
-
submitter
public PaymentReconciliation.Detail.Builder submitter(Reference submitter)
The party which submitted the claim or financial transaction.Allowed resource types for this reference:
- Parameters:
submitter
- Submitter of the request- Returns:
- A reference to this Builder instance
-
response
public PaymentReconciliation.Detail.Builder response(Reference response)
A resource, such as a ClaimResponse, which contains a commitment to payment.- Parameters:
response
- Response committing to a payment- Returns:
- A reference to this Builder instance
-
date
public PaymentReconciliation.Detail.Builder date(LocalDate date)
Convenience method for settingdate
.- Parameters:
date
- Date of commitment to pay- Returns:
- A reference to this Builder instance
- See Also:
date(com.ibm.fhir.model.type.Date)
-
date
public PaymentReconciliation.Detail.Builder date(Date date)
The date from the response resource containing a commitment to pay.- Parameters:
date
- Date of commitment to pay- Returns:
- A reference to this Builder instance
-
responsible
public PaymentReconciliation.Detail.Builder responsible(Reference responsible)
A reference to the individual who is responsible for inquiries regarding the response and its payment.Allowed resource types for this reference:
- Parameters:
responsible
- Contact for the response- Returns:
- A reference to this Builder instance
-
payee
public PaymentReconciliation.Detail.Builder payee(Reference payee)
The party which is receiving the payment.Allowed resource types for this reference:
- Parameters:
payee
- Recipient of the payment- Returns:
- A reference to this Builder instance
-
amount
public PaymentReconciliation.Detail.Builder amount(Money amount)
The monetary amount allocated from the total payment to the payable.- Parameters:
amount
- Amount allocated to this payable- Returns:
- A reference to this Builder instance
-
build
public PaymentReconciliation.Detail build()
- Specified by:
build
in interfaceBuilder<Element>
- Specified by:
build
in classBackboneElement.Builder
- Returns:
- An immutable object of type
PaymentReconciliation.Detail
- Throws:
IllegalStateException
- if the current state cannot be built into a valid Detail per the base specification
-
validate
protected void validate(PaymentReconciliation.Detail detail)
-
from
protected PaymentReconciliation.Detail.Builder from(PaymentReconciliation.Detail detail)
-
-