Class ApprovalFlowApprovalBuilder

java.lang.Object
com.commercetools.api.models.approval_flow.ApprovalFlowApprovalBuilder
All Implemented Interfaces:
Builder<ApprovalFlowApproval>

public class ApprovalFlowApprovalBuilder extends Object implements Builder<ApprovalFlowApproval>
ApprovalFlowApprovalBuilder
Example to create an instance using the builder pattern

     ApprovalFlowApproval approvalFlowApproval = ApprovalFlowApproval.builder()
             .approver(approverBuilder -> approverBuilder)
             .approvedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .build()
 
  • Constructor Details

    • ApprovalFlowApprovalBuilder

      public ApprovalFlowApprovalBuilder()
  • Method Details