CashierOrderInfo.java
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.diligrp.cashier.boss.domain;
import java.util.List;
public class CashierOrderInfo {
// 业务系统用户标识
private final String userId;
// 支付通道
private final List<PaymentPipeline> pipelines;
public CashierOrderInfo(String userId, List<PaymentPipeline> pipelines) {
this.userId = userId;
this.pipelines = pipelines;
}
public String getUserId() {
return userId;
}
public List<PaymentPipeline> getPipelines() {
return pipelines;
}
public static class PaymentPipeline {
// 支付通道
private final Long pipelineId;
// 支付渠道
private final Integer channelId;
public PaymentPipeline(Long pipelineId, Integer channelId) {
this.pipelineId = pipelineId;
this.channelId = channelId;
}
public Long getPipelineId() {
return pipelineId;
}
public Integer getChannelId() {
return channelId;
}
}
}