/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the billingconductor-2021-07-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.BillingConductor { /// /// Constants used for properties of type AssociateResourceErrorReason. /// public class AssociateResourceErrorReason : ConstantClass { /// /// Constant ILLEGAL_CUSTOMLINEITEM for AssociateResourceErrorReason /// public static readonly AssociateResourceErrorReason ILLEGAL_CUSTOMLINEITEM = new AssociateResourceErrorReason("ILLEGAL_CUSTOMLINEITEM"); /// /// Constant INTERNAL_SERVER_EXCEPTION for AssociateResourceErrorReason /// public static readonly AssociateResourceErrorReason INTERNAL_SERVER_EXCEPTION = new AssociateResourceErrorReason("INTERNAL_SERVER_EXCEPTION"); /// /// Constant INVALID_ARN for AssociateResourceErrorReason /// public static readonly AssociateResourceErrorReason INVALID_ARN = new AssociateResourceErrorReason("INVALID_ARN"); /// /// Constant INVALID_BILLING_PERIOD_RANGE for AssociateResourceErrorReason /// public static readonly AssociateResourceErrorReason INVALID_BILLING_PERIOD_RANGE = new AssociateResourceErrorReason("INVALID_BILLING_PERIOD_RANGE"); /// /// Constant SERVICE_LIMIT_EXCEEDED for AssociateResourceErrorReason /// public static readonly AssociateResourceErrorReason SERVICE_LIMIT_EXCEEDED = new AssociateResourceErrorReason("SERVICE_LIMIT_EXCEEDED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AssociateResourceErrorReason(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AssociateResourceErrorReason FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AssociateResourceErrorReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type BillingGroupStatus. /// public class BillingGroupStatus : ConstantClass { /// /// Constant ACTIVE for BillingGroupStatus /// public static readonly BillingGroupStatus ACTIVE = new BillingGroupStatus("ACTIVE"); /// /// Constant PRIMARY_ACCOUNT_MISSING for BillingGroupStatus /// public static readonly BillingGroupStatus PRIMARY_ACCOUNT_MISSING = new BillingGroupStatus("PRIMARY_ACCOUNT_MISSING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public BillingGroupStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static BillingGroupStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator BillingGroupStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConflictExceptionReason. /// public class ConflictExceptionReason : ConstantClass { /// /// Constant PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT for ConflictExceptionReason /// public static readonly ConflictExceptionReason PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT = new ConflictExceptionReason("PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT"); /// /// Constant PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT for ConflictExceptionReason /// public static readonly ConflictExceptionReason PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT = new ConflictExceptionReason("PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT"); /// /// Constant PRICING_RULE_IN_PRICING_PLAN_CONFLICT for ConflictExceptionReason /// public static readonly ConflictExceptionReason PRICING_RULE_IN_PRICING_PLAN_CONFLICT = new ConflictExceptionReason("PRICING_RULE_IN_PRICING_PLAN_CONFLICT"); /// /// Constant RESOURCE_NAME_CONFLICT for ConflictExceptionReason /// public static readonly ConflictExceptionReason RESOURCE_NAME_CONFLICT = new ConflictExceptionReason("RESOURCE_NAME_CONFLICT"); /// /// Constant WRITE_CONFLICT_RETRY for ConflictExceptionReason /// public static readonly ConflictExceptionReason WRITE_CONFLICT_RETRY = new ConflictExceptionReason("WRITE_CONFLICT_RETRY"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ConflictExceptionReason(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ConflictExceptionReason FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ConflictExceptionReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type CurrencyCode. /// public class CurrencyCode : ConstantClass { /// /// Constant CNY for CurrencyCode /// public static readonly CurrencyCode CNY = new CurrencyCode("CNY"); /// /// Constant USD for CurrencyCode /// public static readonly CurrencyCode USD = new CurrencyCode("USD"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CurrencyCode(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CurrencyCode FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CurrencyCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type CustomLineItemRelationship. /// public class CustomLineItemRelationship : ConstantClass { /// /// Constant CHILD for CustomLineItemRelationship /// public static readonly CustomLineItemRelationship CHILD = new CustomLineItemRelationship("CHILD"); /// /// Constant PARENT for CustomLineItemRelationship /// public static readonly CustomLineItemRelationship PARENT = new CustomLineItemRelationship("PARENT"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CustomLineItemRelationship(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CustomLineItemRelationship FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CustomLineItemRelationship(string value) { return FindValue(value); } } /// /// Constants used for properties of type CustomLineItemType. /// public class CustomLineItemType : ConstantClass { /// /// Constant CREDIT for CustomLineItemType /// public static readonly CustomLineItemType CREDIT = new CustomLineItemType("CREDIT"); /// /// Constant FEE for CustomLineItemType /// public static readonly CustomLineItemType FEE = new CustomLineItemType("FEE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CustomLineItemType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CustomLineItemType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CustomLineItemType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PricingRuleScope. /// public class PricingRuleScope : ConstantClass { /// /// Constant BILLING_ENTITY for PricingRuleScope /// public static readonly PricingRuleScope BILLING_ENTITY = new PricingRuleScope("BILLING_ENTITY"); /// /// Constant GLOBAL for PricingRuleScope /// public static readonly PricingRuleScope GLOBAL = new PricingRuleScope("GLOBAL"); /// /// Constant SERVICE for PricingRuleScope /// public static readonly PricingRuleScope SERVICE = new PricingRuleScope("SERVICE"); /// /// Constant SKU for PricingRuleScope /// public static readonly PricingRuleScope SKU = new PricingRuleScope("SKU"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PricingRuleScope(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PricingRuleScope FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PricingRuleScope(string value) { return FindValue(value); } } /// /// Constants used for properties of type PricingRuleType. /// public class PricingRuleType : ConstantClass { /// /// Constant DISCOUNT for PricingRuleType /// public static readonly PricingRuleType DISCOUNT = new PricingRuleType("DISCOUNT"); /// /// Constant MARKUP for PricingRuleType /// public static readonly PricingRuleType MARKUP = new PricingRuleType("MARKUP"); /// /// Constant TIERING for PricingRuleType /// public static readonly PricingRuleType TIERING = new PricingRuleType("TIERING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PricingRuleType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PricingRuleType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PricingRuleType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationExceptionReason. /// public class ValidationExceptionReason : ConstantClass { /// /// Constant ACCOUNTS_ALREADY_ASSOCIATED for ValidationExceptionReason /// public static readonly ValidationExceptionReason ACCOUNTS_ALREADY_ASSOCIATED = new ValidationExceptionReason("ACCOUNTS_ALREADY_ASSOCIATED"); /// /// Constant ACCOUNTS_NOT_ASSOCIATED for ValidationExceptionReason /// public static readonly ValidationExceptionReason ACCOUNTS_NOT_ASSOCIATED = new ValidationExceptionReason("ACCOUNTS_NOT_ASSOCIATED"); /// /// Constant CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP for ValidationExceptionReason /// public static readonly ValidationExceptionReason CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP = new ValidationExceptionReason("CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP"); /// /// Constant CANNOT_PARSE for ValidationExceptionReason /// public static readonly ValidationExceptionReason CANNOT_PARSE = new ValidationExceptionReason("CANNOT_PARSE"); /// /// Constant CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS for ValidationExceptionReason /// public static readonly ValidationExceptionReason CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS = new ValidationExceptionReason("CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS"); /// /// Constant DUPLICATE_ACCOUNT for ValidationExceptionReason /// public static readonly ValidationExceptionReason DUPLICATE_ACCOUNT = new ValidationExceptionReason("DUPLICATE_ACCOUNT"); /// /// Constant DUPLICATE_PRICINGRULE_ARNS for ValidationExceptionReason /// public static readonly ValidationExceptionReason DUPLICATE_PRICINGRULE_ARNS = new ValidationExceptionReason("DUPLICATE_PRICINGRULE_ARNS"); /// /// Constant FIELD_VALIDATION_FAILED for ValidationExceptionReason /// public static readonly ValidationExceptionReason FIELD_VALIDATION_FAILED = new ValidationExceptionReason("FIELD_VALIDATION_FAILED"); /// /// Constant ILLEGAL_ACCOUNTS for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_ACCOUNTS = new ValidationExceptionReason("ILLEGAL_ACCOUNTS"); /// /// Constant ILLEGAL_BILLING_ENTITY for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_BILLING_ENTITY = new ValidationExceptionReason("ILLEGAL_BILLING_ENTITY"); /// /// Constant ILLEGAL_BILLING_PERIOD for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_BILLING_PERIOD = new ValidationExceptionReason("ILLEGAL_BILLING_PERIOD"); /// /// Constant ILLEGAL_BILLING_PERIOD_RANGE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_BILLING_PERIOD_RANGE = new ValidationExceptionReason("ILLEGAL_BILLING_PERIOD_RANGE"); /// /// Constant ILLEGAL_CHARGE_DETAILS for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_CHARGE_DETAILS = new ValidationExceptionReason("ILLEGAL_CHARGE_DETAILS"); /// /// Constant ILLEGAL_CHILD_ASSOCIATE_RESOURCE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_CHILD_ASSOCIATE_RESOURCE = new ValidationExceptionReason("ILLEGAL_CHILD_ASSOCIATE_RESOURCE"); /// /// Constant ILLEGAL_CUSTOMLINEITEM for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_CUSTOMLINEITEM = new ValidationExceptionReason("ILLEGAL_CUSTOMLINEITEM"); /// /// Constant ILLEGAL_CUSTOMLINEITEM_MODIFICATION for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_CUSTOMLINEITEM_MODIFICATION = new ValidationExceptionReason("ILLEGAL_CUSTOMLINEITEM_MODIFICATION"); /// /// Constant ILLEGAL_CUSTOMLINEITEM_UPDATE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_CUSTOMLINEITEM_UPDATE = new ValidationExceptionReason("ILLEGAL_CUSTOMLINEITEM_UPDATE"); /// /// Constant ILLEGAL_ENDED_BILLINGGROUP for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_ENDED_BILLINGGROUP = new ValidationExceptionReason("ILLEGAL_ENDED_BILLINGGROUP"); /// /// Constant ILLEGAL_EXPRESSION for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_EXPRESSION = new ValidationExceptionReason("ILLEGAL_EXPRESSION"); /// /// Constant ILLEGAL_MODIFIER_PERCENTAGE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_MODIFIER_PERCENTAGE = new ValidationExceptionReason("ILLEGAL_MODIFIER_PERCENTAGE"); /// /// Constant ILLEGAL_OPERATION for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_OPERATION = new ValidationExceptionReason("ILLEGAL_OPERATION"); /// /// Constant ILLEGAL_PRIMARY_ACCOUNT for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_PRIMARY_ACCOUNT = new ValidationExceptionReason("ILLEGAL_PRIMARY_ACCOUNT"); /// /// Constant ILLEGAL_RESOURCE_ARNS for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_RESOURCE_ARNS = new ValidationExceptionReason("ILLEGAL_RESOURCE_ARNS"); /// /// Constant ILLEGAL_SCOPE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_SCOPE = new ValidationExceptionReason("ILLEGAL_SCOPE"); /// /// Constant ILLEGAL_SERVICE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_SERVICE = new ValidationExceptionReason("ILLEGAL_SERVICE"); /// /// Constant ILLEGAL_TIERING_INPUT for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_TIERING_INPUT = new ValidationExceptionReason("ILLEGAL_TIERING_INPUT"); /// /// Constant ILLEGAL_TYPE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_TYPE = new ValidationExceptionReason("ILLEGAL_TYPE"); /// /// Constant ILLEGAL_UPDATE_CHARGE_DETAILS for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_UPDATE_CHARGE_DETAILS = new ValidationExceptionReason("ILLEGAL_UPDATE_CHARGE_DETAILS"); /// /// Constant ILLEGAL_USAGE_TYPE for ValidationExceptionReason /// public static readonly ValidationExceptionReason ILLEGAL_USAGE_TYPE = new ValidationExceptionReason("ILLEGAL_USAGE_TYPE"); /// /// Constant INVALID_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_ARN = new ValidationExceptionReason("INVALID_ARN"); /// /// Constant INVALID_BILLING_GROUP for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_BILLING_GROUP = new ValidationExceptionReason("INVALID_BILLING_GROUP"); /// /// Constant INVALID_BILLING_GROUP_STATUS for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_BILLING_GROUP_STATUS = new ValidationExceptionReason("INVALID_BILLING_GROUP_STATUS"); /// /// Constant INVALID_BILLING_PERIOD_FOR_OPERATION for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_BILLING_PERIOD_FOR_OPERATION = new ValidationExceptionReason("INVALID_BILLING_PERIOD_FOR_OPERATION"); /// /// Constant INVALID_BILLINGVIEW_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_BILLINGVIEW_ARN = new ValidationExceptionReason("INVALID_BILLINGVIEW_ARN"); /// /// Constant INVALID_FILTER for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_FILTER = new ValidationExceptionReason("INVALID_FILTER"); /// /// Constant INVALID_SKU_COMBO for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_SKU_COMBO = new ValidationExceptionReason("INVALID_SKU_COMBO"); /// /// Constant INVALID_TIME_RANGE for ValidationExceptionReason /// public static readonly ValidationExceptionReason INVALID_TIME_RANGE = new ValidationExceptionReason("INVALID_TIME_RANGE"); /// /// Constant MISMATCHED_BILLINGGROUP_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISMATCHED_BILLINGGROUP_ARN = new ValidationExceptionReason("MISMATCHED_BILLINGGROUP_ARN"); /// /// Constant MISMATCHED_BILLINGVIEW_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISMATCHED_BILLINGVIEW_ARN = new ValidationExceptionReason("MISMATCHED_BILLINGVIEW_ARN"); /// /// Constant MISMATCHED_CUSTOMLINEITEM_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISMATCHED_CUSTOMLINEITEM_ARN = new ValidationExceptionReason("MISMATCHED_CUSTOMLINEITEM_ARN"); /// /// Constant MISMATCHED_PRICINGPLAN_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISMATCHED_PRICINGPLAN_ARN = new ValidationExceptionReason("MISMATCHED_PRICINGPLAN_ARN"); /// /// Constant MISMATCHED_PRICINGRULE_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISMATCHED_PRICINGRULE_ARN = new ValidationExceptionReason("MISMATCHED_PRICINGRULE_ARN"); /// /// Constant MISSING_BILLINGGROUP for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISSING_BILLINGGROUP = new ValidationExceptionReason("MISSING_BILLINGGROUP"); /// /// Constant MISSING_CUSTOMLINEITEM for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISSING_CUSTOMLINEITEM = new ValidationExceptionReason("MISSING_CUSTOMLINEITEM"); /// /// Constant MISSING_LINKED_ACCOUNT_IDS for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISSING_LINKED_ACCOUNT_IDS = new ValidationExceptionReason("MISSING_LINKED_ACCOUNT_IDS"); /// /// Constant MISSING_PRICING_PLAN_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISSING_PRICING_PLAN_ARN = new ValidationExceptionReason("MISSING_PRICING_PLAN_ARN"); /// /// Constant MISSING_PRICINGPLAN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MISSING_PRICINGPLAN = new ValidationExceptionReason("MISSING_PRICINGPLAN"); /// /// Constant MULTIPLE_LINKED_ACCOUNT_IDS for ValidationExceptionReason /// public static readonly ValidationExceptionReason MULTIPLE_LINKED_ACCOUNT_IDS = new ValidationExceptionReason("MULTIPLE_LINKED_ACCOUNT_IDS"); /// /// Constant MULTIPLE_PRICING_PLAN_ARN for ValidationExceptionReason /// public static readonly ValidationExceptionReason MULTIPLE_PRICING_PLAN_ARN = new ValidationExceptionReason("MULTIPLE_PRICING_PLAN_ARN"); /// /// Constant OTHER for ValidationExceptionReason /// public static readonly ValidationExceptionReason OTHER = new ValidationExceptionReason("OTHER"); /// /// Constant PRICINGRULES_ALREADY_ASSOCIATED for ValidationExceptionReason /// public static readonly ValidationExceptionReason PRICINGRULES_ALREADY_ASSOCIATED = new ValidationExceptionReason("PRICINGRULES_ALREADY_ASSOCIATED"); /// /// Constant PRICINGRULES_NOT_ASSOCIATED for ValidationExceptionReason /// public static readonly ValidationExceptionReason PRICINGRULES_NOT_ASSOCIATED = new ValidationExceptionReason("PRICINGRULES_NOT_ASSOCIATED"); /// /// Constant PRICINGRULES_NOT_EXIST for ValidationExceptionReason /// public static readonly ValidationExceptionReason PRICINGRULES_NOT_EXIST = new ValidationExceptionReason("PRICINGRULES_NOT_EXIST"); /// /// Constant PRIMARY_CANNOT_DISASSOCIATE for ValidationExceptionReason /// public static readonly ValidationExceptionReason PRIMARY_CANNOT_DISASSOCIATE = new ValidationExceptionReason("PRIMARY_CANNOT_DISASSOCIATE"); /// /// Constant PRIMARY_NOT_ASSOCIATED for ValidationExceptionReason /// public static readonly ValidationExceptionReason PRIMARY_NOT_ASSOCIATED = new ValidationExceptionReason("PRIMARY_NOT_ASSOCIATED"); /// /// Constant TOO_MANY_ACCOUNTS_IN_REQUEST for ValidationExceptionReason /// public static readonly ValidationExceptionReason TOO_MANY_ACCOUNTS_IN_REQUEST = new ValidationExceptionReason("TOO_MANY_ACCOUNTS_IN_REQUEST"); /// /// Constant TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS for ValidationExceptionReason /// public static readonly ValidationExceptionReason TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS = new ValidationExceptionReason("TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS"); /// /// Constant TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST for ValidationExceptionReason /// public static readonly ValidationExceptionReason TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST = new ValidationExceptionReason("TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST"); /// /// Constant UNKNOWN_OPERATION for ValidationExceptionReason /// public static readonly ValidationExceptionReason UNKNOWN_OPERATION = new ValidationExceptionReason("UNKNOWN_OPERATION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ValidationExceptionReason(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ValidationExceptionReason FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ValidationExceptionReason(string value) { return FindValue(value); } } }