Interface PaymentStatusDraft
- All Superinterfaces:
Draft<PaymentStatusDraft>
PaymentStatusDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentStatusDraft paymentStatusDraft = PaymentStatusDraft.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic PaymentStatusDraftBuilderbuilder()builder factory method for PaymentStatusDraftstatic PaymentStatusDraftBuilderbuilder(PaymentStatusDraft template) create builder for PaymentStatusDraft instancecopyDeep()static PaymentStatusDraftdeepCopy(PaymentStatusDraft template) factory method to create a deep copy of PaymentStatusDraftExternal reference that identifies the current status of the Payment.Text describing the current status of the Payment.@Valid StateResourceIdentifiergetState()ResourceIdentifier to a State.static PaymentStatusDraftof()factory methodstatic PaymentStatusDraftof(PaymentStatusDraft template) factory method to create a shallow copy PaymentStatusDraftvoidsetInterfaceCode(String interfaceCode) External reference that identifies the current status of the Payment.voidsetInterfaceText(String interfaceText) Text describing the current status of the Payment.voidsetState(StateResourceIdentifier state) ResourceIdentifier to a State.static com.fasterxml.jackson.core.type.TypeReference<PaymentStatusDraft>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentStatusDraft(Function<PaymentStatusDraft, T> helper) accessor map function
-
Method Details
-
getInterfaceCode
String getInterfaceCode()External reference that identifies the current status of the Payment.
- Returns:
- interfaceCode
-
getInterfaceText
String getInterfaceText()Text describing the current status of the Payment.
- Returns:
- interfaceText
-
getState
ResourceIdentifier to a State.
- Returns:
- state
-
setInterfaceCode
External reference that identifies the current status of the Payment.
- Parameters:
interfaceCode- value to be set
-
setInterfaceText
Text describing the current status of the Payment.
- Parameters:
interfaceText- value to be set
-
setState
ResourceIdentifier to a State.
- Parameters:
state- value to be set
-
of
factory method- Returns:
- instance of PaymentStatusDraft
-
of
factory method to create a shallow copy PaymentStatusDraft- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentStatusDraft copyDeep() -
deepCopy
factory method to create a deep copy of PaymentStatusDraft- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentStatusDraft- Returns:
- builder
-
builder
create builder for PaymentStatusDraft instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentStatusDraft
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-