Skip to content

Commit ae0d5d6

Browse files
sangeet-joy-twsangeet-joy_xero
andauthored
SIMPLE product enum changes (#607)
Co-authored-by: sangeet-joy_xero <sangeet.joy@xero.com>
1 parent 2a419cc commit ae0d5d6

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

Xero.NetStandard.OAuth2/Model/Appstore/Product.cs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ namespace Xero.NetStandard.OAuth2.Model.Appstore
3131
public partial class Product : IEquatable<Product>, IValidatableObject
3232
{
3333
/// <summary>
34-
/// The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product
34+
/// The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product * SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature
3535
/// </summary>
36-
/// <value>The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product </value>
36+
/// <value>The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product * SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature </value>
3737
[JsonConverter(typeof(Client.CustomStringEnumConverter))]
3838
public enum TypeEnum
3939
{
@@ -53,14 +53,20 @@ public enum TypeEnum
5353
/// Enum METERED for value: METERED
5454
/// </summary>
5555
[EnumMember(Value = "METERED")]
56-
METERED = 3
56+
METERED = 3,
57+
58+
/// <summary>
59+
/// Enum SIMPLE for value: SIMPLE
60+
/// </summary>
61+
[EnumMember(Value = "SIMPLE")]
62+
SIMPLE = 4
5763

5864
}
5965

6066
/// <summary>
61-
/// The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product
67+
/// The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product * SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature
6268
/// </summary>
63-
/// <value>The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product </value>
69+
/// <value>The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product * SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature </value>
6470
[DataMember(Name="type", EmitDefaultValue=false)]
6571
public TypeEnum Type { get; set; }
6672

docs/appstore/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -976,8 +976,8 @@
976976
},
977977
"type" : {
978978
"type" : "string",
979-
"description" : "The pricing model of the product:\n* FIXED: Customers are charged a fixed amount for each billing period\n* PER_SEAT: Customers are charged based on the number of units they purchase\n* METERED: Customers are charged per use of this product\n",
980-
"enum" : [ "FIXED", "PER_SEAT", "METERED" ]
979+
"description" : "The pricing model of the product:\n* FIXED: Customers are charged a fixed amount for each billing period\n* PER_SEAT: Customers are charged based on the number of units they purchase\n* METERED: Customers are charged per use of this product\n* SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature\n",
980+
"enum" : [ "FIXED", "PER_SEAT", "METERED", "SIMPLE" ]
981981
},
982982
"usageUnit" : {
983983
"type" : "string",

0 commit comments

Comments
 (0)