CloverConnector  4.0.5
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 
25 
26 
27 public class Discount {
28 
32  public String id { get; set; }
33 
37  public String name { get; set; }
38 
42  public Int64 amount { get; set; }
43 
47  public Int64 percentage { get; set; }
48 
49 }
50 
51 }
com.clover.sdk.v3.inventory.Discount
Definition: Discount.cs:27
com.clover.sdk.v3.inventory.Discount.name
String name
Name of the discount
Definition: Discount.cs:37
com.clover.sdk.v3.inventory.Discount.percentage
Int64 percentage
Discount amount in percent
Definition: Discount.cs:47
com.clover.sdk.v3.inventory
Definition: Attribute.cs:24
com.clover.sdk.v3.inventory.Discount.amount
Int64 amount
Discount amount in fraction of currency unit (e.g. cents) based on currency fraction digits supported
Definition: Discount.cs:42