Class CreateStatementReq.Builder
- java.lang.Object
-
- com.chrt.api.resources.billing.statements.requests.CreateStatementReq.Builder
-
- All Implemented Interfaces:
CreateStatementReq._FinalStage,CreateStatementReq.PaymentVectorTypeStage,CreateStatementReq.SettlementTypeStage
- Enclosing class:
- CreateStatementReq
public static final class CreateStatementReq.Builder extends java.lang.Object implements CreateStatementReq.PaymentVectorTypeStage, CreateStatementReq.SettlementTypeStage, CreateStatementReq._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateStatementReqbuild()CreateStatementReq.Builderfrom(CreateStatementReq other)CreateStatementReq._FinalStagepaymentDestinationDriverId(Nullable<java.lang.String> paymentDestinationDriverId)Payment destination driver IDCreateStatementReq._FinalStagepaymentDestinationDriverId(java.lang.String paymentDestinationDriverId)Payment destination driver IDCreateStatementReq._FinalStagepaymentDestinationDriverId(java.util.Optional<java.lang.String> paymentDestinationDriverId)Payment destination driver IDCreateStatementReq._FinalStagepaymentDestinationOrgId(Nullable<java.lang.String> paymentDestinationOrgId)Payment destination org ID (on-CHRT org)CreateStatementReq._FinalStagepaymentDestinationOrgId(java.lang.String paymentDestinationOrgId)Payment destination org ID (on-CHRT org)CreateStatementReq._FinalStagepaymentDestinationOrgId(java.util.Optional<java.lang.String> paymentDestinationOrgId)Payment destination org ID (on-CHRT org)CreateStatementReq._FinalStagepaymentOriginOffChrtShipperOrgId(Nullable<java.lang.String> paymentOriginOffChrtShipperOrgId)Payment origin off-CHRT shipper org IDCreateStatementReq._FinalStagepaymentOriginOffChrtShipperOrgId(java.lang.String paymentOriginOffChrtShipperOrgId)Payment origin off-CHRT shipper org IDCreateStatementReq._FinalStagepaymentOriginOffChrtShipperOrgId(java.util.Optional<java.lang.String> paymentOriginOffChrtShipperOrgId)Payment origin off-CHRT shipper org IDCreateStatementReq._FinalStagepaymentOriginOrgId(Nullable<java.lang.String> paymentOriginOrgId)Payment origin org ID (on-CHRT org)CreateStatementReq._FinalStagepaymentOriginOrgId(java.lang.String paymentOriginOrgId)Payment origin org ID (on-CHRT org)CreateStatementReq._FinalStagepaymentOriginOrgId(java.util.Optional<java.lang.String> paymentOriginOrgId)Payment origin org ID (on-CHRT org)CreateStatementReq.SettlementTypeStagepaymentVectorType(PaymentVectorTypeEnum1 paymentVectorType)Payment vector typeCreateStatementReq._FinalStagesettlementType(SettlementTypeEnum1 settlementType)Settlement type for this statement
-
-
-
Method Detail
-
from
public CreateStatementReq.Builder from(CreateStatementReq other)
- Specified by:
fromin interfaceCreateStatementReq.PaymentVectorTypeStage
-
paymentVectorType
public CreateStatementReq.SettlementTypeStage paymentVectorType(@NotNull PaymentVectorTypeEnum1 paymentVectorType)
Payment vector type
Payment vector type
- Specified by:
paymentVectorTypein interfaceCreateStatementReq.PaymentVectorTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
settlementType
public CreateStatementReq._FinalStage settlementType(@NotNull SettlementTypeEnum1 settlementType)
Settlement type for this statement
Settlement type for this statement
- Specified by:
settlementTypein interfaceCreateStatementReq.SettlementTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentDestinationDriverId
public CreateStatementReq._FinalStage paymentDestinationDriverId(Nullable<java.lang.String> paymentDestinationDriverId)
Payment destination driver ID
- Specified by:
paymentDestinationDriverIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentDestinationDriverId
public CreateStatementReq._FinalStage paymentDestinationDriverId(java.lang.String paymentDestinationDriverId)
Payment destination driver ID
- Specified by:
paymentDestinationDriverIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentDestinationDriverId
public CreateStatementReq._FinalStage paymentDestinationDriverId(java.util.Optional<java.lang.String> paymentDestinationDriverId)
Payment destination driver ID
- Specified by:
paymentDestinationDriverIdin interfaceCreateStatementReq._FinalStage
-
paymentDestinationOrgId
public CreateStatementReq._FinalStage paymentDestinationOrgId(Nullable<java.lang.String> paymentDestinationOrgId)
Payment destination org ID (on-CHRT org)
- Specified by:
paymentDestinationOrgIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentDestinationOrgId
public CreateStatementReq._FinalStage paymentDestinationOrgId(java.lang.String paymentDestinationOrgId)
Payment destination org ID (on-CHRT org)
- Specified by:
paymentDestinationOrgIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentDestinationOrgId
public CreateStatementReq._FinalStage paymentDestinationOrgId(java.util.Optional<java.lang.String> paymentDestinationOrgId)
Payment destination org ID (on-CHRT org)
- Specified by:
paymentDestinationOrgIdin interfaceCreateStatementReq._FinalStage
-
paymentOriginOffChrtShipperOrgId
public CreateStatementReq._FinalStage paymentOriginOffChrtShipperOrgId(Nullable<java.lang.String> paymentOriginOffChrtShipperOrgId)
Payment origin off-CHRT shipper org ID
- Specified by:
paymentOriginOffChrtShipperOrgIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentOriginOffChrtShipperOrgId
public CreateStatementReq._FinalStage paymentOriginOffChrtShipperOrgId(java.lang.String paymentOriginOffChrtShipperOrgId)
Payment origin off-CHRT shipper org ID
- Specified by:
paymentOriginOffChrtShipperOrgIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentOriginOffChrtShipperOrgId
public CreateStatementReq._FinalStage paymentOriginOffChrtShipperOrgId(java.util.Optional<java.lang.String> paymentOriginOffChrtShipperOrgId)
Payment origin off-CHRT shipper org ID
- Specified by:
paymentOriginOffChrtShipperOrgIdin interfaceCreateStatementReq._FinalStage
-
paymentOriginOrgId
public CreateStatementReq._FinalStage paymentOriginOrgId(Nullable<java.lang.String> paymentOriginOrgId)
Payment origin org ID (on-CHRT org)
- Specified by:
paymentOriginOrgIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentOriginOrgId
public CreateStatementReq._FinalStage paymentOriginOrgId(java.lang.String paymentOriginOrgId)
Payment origin org ID (on-CHRT org)
- Specified by:
paymentOriginOrgIdin interfaceCreateStatementReq._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
paymentOriginOrgId
public CreateStatementReq._FinalStage paymentOriginOrgId(java.util.Optional<java.lang.String> paymentOriginOrgId)
Payment origin org ID (on-CHRT org)
- Specified by:
paymentOriginOrgIdin interfaceCreateStatementReq._FinalStage
-
build
public CreateStatementReq build()
- Specified by:
buildin interfaceCreateStatementReq._FinalStage
-
-