CloverConnector  4.0.0
Copyright (C) 2018 Clover Network, Inc.
Discount.cs
1 
7 // Copyright (C) 2018 Clover Network, Inc.
8 //
9 // Licensed under the Apache License, Version 2.0 (the "License");
10 // you may not use this file except in compliance with the License.
11 //
12 // You may obtain a copy of the License at
13 // http://www.apache.org/licenses/LICENSE-2.0
14 //
15 // Unless required by applicable law or agreed to in writing, software
16 // distributed under the License is distributed on an "AS IS" BASIS,
17 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 // See the License for the specific language governing permissions and
19 // limitations under the License.
20 
21 using System;
22 using System.Collections.Generic;
23 
24 namespace com.clover.sdk.v3.order {
25 
26 
27 public class Discount {
28 
32  public String id { get; set; }
33 
37  public com.clover.sdk.v3.base_.Reference orderRef { get; set; }
38 
42  public com.clover.sdk.v3.base_.Reference lineItemRef { get; set; }
43 
47  public com.clover.sdk.v3.base_.Reference discount { get; set; }
48 
52  public String name { get; set; }
53 
57  public Int64 amount { get; set; }
58 
62  public Int64 percentage { get; set; }
63 
64 }
65 
66 }