C# Класс Amazon.ECS.Model.PromotionBenefit

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
EscapeXML String

Открытые методы

Метод Описание
IsSetBenefitType ( ) : System.Boolean

Checks if BenefitType property is set

IsSetCeiling ( ) : System.Boolean

Checks if Ceiling property is set

IsSetComponentType ( ) : System.Boolean

Checks if ComponentType property is set

IsSetFixedAmount ( ) : System.Boolean

Checks if FixedAmount property is set

IsSetPercentOff ( ) : System.Boolean

Checks if PercentOff property is set

IsSetQuantity ( ) : System.Boolean

Checks if Quantity property is set

WithBenefitType ( String benefitType ) : PromotionBenefit

Sets the BenefitType property

WithCeiling ( Price ceiling ) : PromotionBenefit

Sets the Ceiling property

WithComponentType ( String componentType ) : PromotionBenefit

Sets the ComponentType property

WithFixedAmount ( Price fixedAmount ) : PromotionBenefit

Sets the FixedAmount property

WithPercentOff ( Double percentOff ) : PromotionBenefit

Sets the PercentOff property

WithQuantity ( Decimal quantity ) : PromotionBenefit

Sets the Quantity property

Защищенные методы

Метод Описание
ToXMLFragment ( ) : String

XML fragment representation of this object

Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only

Приватные методы

Метод Описание
EscapeXML ( String str ) : String

Описание методов

IsSetBenefitType() публичный Метод

Checks if BenefitType property is set
public IsSetBenefitType ( ) : System.Boolean
Результат System.Boolean

IsSetCeiling() публичный Метод

Checks if Ceiling property is set
public IsSetCeiling ( ) : System.Boolean
Результат System.Boolean

IsSetComponentType() публичный Метод

Checks if ComponentType property is set
public IsSetComponentType ( ) : System.Boolean
Результат System.Boolean

IsSetFixedAmount() публичный Метод

Checks if FixedAmount property is set
public IsSetFixedAmount ( ) : System.Boolean
Результат System.Boolean

IsSetPercentOff() публичный Метод

Checks if PercentOff property is set
public IsSetPercentOff ( ) : System.Boolean
Результат System.Boolean

IsSetQuantity() публичный Метод

Checks if Quantity property is set
public IsSetQuantity ( ) : System.Boolean
Результат System.Boolean

ToXMLFragment() защищенный Метод

XML fragment representation of this object
Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only
protected ToXMLFragment ( ) : String
Результат String

WithBenefitType() публичный Метод

Sets the BenefitType property
public WithBenefitType ( String benefitType ) : PromotionBenefit
benefitType String BenefitType property
Результат PromotionBenefit

WithCeiling() публичный Метод

Sets the Ceiling property
public WithCeiling ( Price ceiling ) : PromotionBenefit
ceiling Price Ceiling property
Результат PromotionBenefit

WithComponentType() публичный Метод

Sets the ComponentType property
public WithComponentType ( String componentType ) : PromotionBenefit
componentType String ComponentType property
Результат PromotionBenefit

WithFixedAmount() публичный Метод

Sets the FixedAmount property
public WithFixedAmount ( Price fixedAmount ) : PromotionBenefit
fixedAmount Price FixedAmount property
Результат PromotionBenefit

WithPercentOff() публичный Метод

Sets the PercentOff property
public WithPercentOff ( Double percentOff ) : PromotionBenefit
percentOff Double PercentOff property
Результат PromotionBenefit

WithQuantity() публичный Метод

Sets the Quantity property
public WithQuantity ( Decimal quantity ) : PromotionBenefit
quantity Decimal Quantity property
Результат PromotionBenefit