View Javadoc
1   package com.foxinmy.weixin4j.pay.profitsharing;
2   
3   import com.foxinmy.weixin4j.pay.type.profitsharing.ReceiverType;
4   
5   /**
6    * 请求分帐时使用的分帐方信息
7    *
8    * @author kit(kit.li@qq.com)
9    * @date 2020年05月25日
10   * @since weixin4j-pay 1.1.0
11   */
12  public class ReceiverProfit extends Receiver {
13      private int amount;
14      private String description;
15  
16      /**
17       * json deserialize need
18       */
19      public ReceiverProfit(){
20          super();
21      }
22  
23      public ReceiverProfit(ReceiverType type, String account, int amount, String description){
24          super(type, account, null);
25          this.amount = amount;
26          this.description = description;
27      }
28  
29      public int getAmount() {
30          return amount;
31      }
32  
33      public void setAmount(int amount) {
34          this.amount = amount;
35      }
36  
37      public String getDescription() {
38          return description;
39      }
40  
41      public void setDescription(String description) {
42          this.description = description;
43      }
44  }