Module Values.BonusPaymentSource

An object representing a Bonus payment paid to a Worker.

Sourcetype nonrec t = {
  1. workerId : CustomerId.t option;
    (*

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

    *)
  2. bonusAmount : CurrencyAmount.t option;
  3. assignmentId : EntityId.t option;
    (*

    The ID of the assignment associated with this bonus payment.

    *)
  4. reason : String_.t option;
    (*

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

    *)
  5. grantTime : Timestamp.t option;
    (*

    The date and time of when the bonus was granted.

    *)
}
Sourceval make : ?workerId:??? -> ?bonusAmount:??? -> ?assignmentId:??? -> ?reason:??? -> ?grantTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CustomerId.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t