Interface BonusPayment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BonusPayment.Builder,BonusPayment>, SdkBuilder<BonusPayment.Builder,BonusPayment>, SdkPojo
Enclosing class:
BonusPayment

public static interface BonusPayment.Builder extends SdkPojo, CopyableBuilder<BonusPayment.Builder,BonusPayment>
  • Method Details

    • workerId

      BonusPayment.Builder workerId(String workerId)

      The ID of the Worker to whom the bonus was paid.

      Parameters:
      workerId - The ID of the Worker to whom the bonus was paid.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bonusAmount

      BonusPayment.Builder bonusAmount(String bonusAmount)
      Sets the value of the BonusAmount property for this object.
      Parameters:
      bonusAmount - The new value for the BonusAmount property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assignmentId

      BonusPayment.Builder assignmentId(String assignmentId)

      The ID of the assignment associated with this bonus payment.

      Parameters:
      assignmentId - The ID of the assignment associated with this bonus payment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      BonusPayment.Builder reason(String reason)

      The Reason text given when the bonus was granted, if any.

      Parameters:
      reason - The Reason text given when the bonus was granted, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantTime

      BonusPayment.Builder grantTime(Instant grantTime)

      The date and time of when the bonus was granted.

      Parameters:
      grantTime - The date and time of when the bonus was granted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.