All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lark.oapi.service.compensation.v1.model.RecurringPaymentForUpdate Maven / Gradle / Ivy

Go to download

Larksuite open platform facilitates the integration of enterprise applications and larksuite, making collaboration and management more efficient

The newest version!
// Code generated by lark suite oapi sdk gen
/*
 * MIT License
 *
 * Copyright (c) 2022 Lark Technologies Pte. Ltd.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice, shall be included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

package com.lark.oapi.service.compensation.v1.model;

import com.lark.oapi.core.response.EmptyData;
import com.lark.oapi.service.compensation.v1.enums.*;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.SerializedName;
import com.lark.oapi.core.annotation.Body;
import com.lark.oapi.core.annotation.Path;
import com.lark.oapi.core.annotation.Query;

import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;

import com.lark.oapi.core.utils.Strings;
import com.lark.oapi.core.response.BaseResponse;

public class RecurringPaymentForUpdate {
    /**
     * 经常性支付记录id
     * 

示例值:7397033607132351532 */ @SerializedName("id") private String id; /** * 每次发放金额 *

示例值:10.00 */ @SerializedName("each_amount") private String eachAmount; /** * 发放开始时间 *

示例值:2024-10-20 */ @SerializedName("start_date") private String startDate; /** * 发放结束时间 *

示例值:2025-03-20 */ @SerializedName("end_date") private String endDate; /** * 币种id *

示例值:6863329932261459464 */ @SerializedName("currency_id") private String currencyId; /** * 发放方式 *

示例值:with_salary */ @SerializedName("issuance_type") private String issuanceType; /** * 原因 *

示例值:这是个备注 */ @SerializedName("remark") private String remark; // builder 开始 public RecurringPaymentForUpdate() { } public RecurringPaymentForUpdate(Builder builder) { /** * 经常性支付记录id *

示例值:7397033607132351532 */ this.id = builder.id; /** * 每次发放金额 *

示例值:10.00 */ this.eachAmount = builder.eachAmount; /** * 发放开始时间 *

示例值:2024-10-20 */ this.startDate = builder.startDate; /** * 发放结束时间 *

示例值:2025-03-20 */ this.endDate = builder.endDate; /** * 币种id *

示例值:6863329932261459464 */ this.currencyId = builder.currencyId; /** * 发放方式 *

示例值:with_salary */ this.issuanceType = builder.issuanceType; /** * 原因 *

示例值:这是个备注 */ this.remark = builder.remark; } public static Builder newBuilder() { return new Builder(); } public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getEachAmount() { return this.eachAmount; } public void setEachAmount(String eachAmount) { this.eachAmount = eachAmount; } public String getStartDate() { return this.startDate; } public void setStartDate(String startDate) { this.startDate = startDate; } public String getEndDate() { return this.endDate; } public void setEndDate(String endDate) { this.endDate = endDate; } public String getCurrencyId() { return this.currencyId; } public void setCurrencyId(String currencyId) { this.currencyId = currencyId; } public String getIssuanceType() { return this.issuanceType; } public void setIssuanceType(String issuanceType) { this.issuanceType = issuanceType; } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; } public static class Builder { /** * 经常性支付记录id *

示例值:7397033607132351532 */ private String id; /** * 每次发放金额 *

示例值:10.00 */ private String eachAmount; /** * 发放开始时间 *

示例值:2024-10-20 */ private String startDate; /** * 发放结束时间 *

示例值:2025-03-20 */ private String endDate; /** * 币种id *

示例值:6863329932261459464 */ private String currencyId; /** * 发放方式 *

示例值:with_salary */ private String issuanceType; /** * 原因 *

示例值:这是个备注 */ private String remark; /** * 经常性支付记录id *

示例值:7397033607132351532 * * @param id * @return */ public Builder id(String id) { this.id = id; return this; } /** * 每次发放金额 *

示例值:10.00 * * @param eachAmount * @return */ public Builder eachAmount(String eachAmount) { this.eachAmount = eachAmount; return this; } /** * 发放开始时间 *

示例值:2024-10-20 * * @param startDate * @return */ public Builder startDate(String startDate) { this.startDate = startDate; return this; } /** * 发放结束时间 *

示例值:2025-03-20 * * @param endDate * @return */ public Builder endDate(String endDate) { this.endDate = endDate; return this; } /** * 币种id *

示例值:6863329932261459464 * * @param currencyId * @return */ public Builder currencyId(String currencyId) { this.currencyId = currencyId; return this; } /** * 发放方式 *

示例值:with_salary * * @param issuanceType * @return */ public Builder issuanceType(String issuanceType) { this.issuanceType = issuanceType; return this; } /** * 发放方式 *

示例值:with_salary * * @param issuanceType {@link com.lark.oapi.service.compensation.v1.enums.RecurringPaymentForUpdateIssuanceTypeEnum} * @return */ public Builder issuanceType(com.lark.oapi.service.compensation.v1.enums.RecurringPaymentForUpdateIssuanceTypeEnum issuanceType) { this.issuanceType = issuanceType.getValue(); return this; } /** * 原因 *

示例值:这是个备注 * * @param remark * @return */ public Builder remark(String remark) { this.remark = remark; return this; } public RecurringPaymentForUpdate build() { return new RecurringPaymentForUpdate(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy