C# Class Amazon.ECS.Model.Price

Mostra file Open project: nexus49/grado Class Usage Examples

Private Properties

Property Type Description
EscapeXML String

Public Methods

Method Description
IsSetAmount ( ) : System.Boolean

Checks if Amount property is set

IsSetCurrencyCode ( ) : System.Boolean

Checks if CurrencyCode property is set

IsSetFormattedPrice ( ) : System.Boolean

Checks if FormattedPrice property is set

WithAmount ( Decimal amount ) : Price

Sets the Amount property

WithCurrencyCode ( String currencyCode ) : Price

Sets the CurrencyCode property

WithFormattedPrice ( String formattedPrice ) : Price

Sets the FormattedPrice property

Protected Methods

Method Description
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

Private Methods

Method Description
EscapeXML ( String str ) : String

Method Details

IsSetAmount() public method

Checks if Amount property is set
public IsSetAmount ( ) : System.Boolean
return System.Boolean

IsSetCurrencyCode() public method

Checks if CurrencyCode property is set
public IsSetCurrencyCode ( ) : System.Boolean
return System.Boolean

IsSetFormattedPrice() public method

Checks if FormattedPrice property is set
public IsSetFormattedPrice ( ) : System.Boolean
return System.Boolean

ToXMLFragment() protected method

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
return String

WithAmount() public method

Sets the Amount property
public WithAmount ( Decimal amount ) : Price
amount Decimal Amount property
return Price

WithCurrencyCode() public method

Sets the CurrencyCode property
public WithCurrencyCode ( String currencyCode ) : Price
currencyCode String CurrencyCode property
return Price

WithFormattedPrice() public method

Sets the FormattedPrice property
public WithFormattedPrice ( String formattedPrice ) : Price
formattedPrice String FormattedPrice property
return Price