Class PaymentRequired.Builder
- java.lang.Object
-
- com.courier.api.resources.commons.types.PaymentRequired.Builder
-
- All Implemented Interfaces:
PaymentRequired._FinalStage,PaymentRequired.MessageStage
- Enclosing class:
- PaymentRequired
public static final class PaymentRequired.Builder extends java.lang.Object implements PaymentRequired.MessageStage, PaymentRequired._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentRequiredbuild()PaymentRequired.Builderfrom(PaymentRequired other)PaymentRequired._FinalStagemessage(java.lang.String message)A message describing the error that occurred.
-
-
-
Method Detail
-
from
public PaymentRequired.Builder from(PaymentRequired other)
- Specified by:
fromin interfacePaymentRequired.MessageStage
-
message
public PaymentRequired._FinalStage message(java.lang.String message)
A message describing the error that occurred.
- Specified by:
messagein interfacePaymentRequired.MessageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public PaymentRequired build()
- Specified by:
buildin interfacePaymentRequired._FinalStage
-
-