C# Class Amazon.ECS.Model.TransactionTotals

Show file Open project: nexus49/grado Class Usage Examples

Private Properties

Property Type Description
EscapeXML String

Public Methods

Method Description
IsSetPromotion ( ) : System.Boolean

Checks if Promotion property is set

IsSetShippingCharge ( ) : System.Boolean

Checks if ShippingCharge property is set

IsSetSubtotal ( ) : System.Boolean

Checks if Subtotal property is set

IsSetTax ( ) : System.Boolean

Checks if Tax property is set

IsSetTotal ( ) : System.Boolean

Checks if Total property is set

WithPromotion ( Price promotion ) : TransactionTotals

Sets the Promotion property

WithShippingCharge ( Price shippingCharge ) : TransactionTotals

Sets the ShippingCharge property

WithSubtotal ( Price subtotal ) : TransactionTotals

Sets the Subtotal property

WithTax ( Price tax ) : TransactionTotals

Sets the Tax property

WithTotal ( Price total ) : TransactionTotals

Sets the Total 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

IsSetPromotion() public method

Checks if Promotion property is set
public IsSetPromotion ( ) : System.Boolean
return System.Boolean

IsSetShippingCharge() public method

Checks if ShippingCharge property is set
public IsSetShippingCharge ( ) : System.Boolean
return System.Boolean

IsSetSubtotal() public method

Checks if Subtotal property is set
public IsSetSubtotal ( ) : System.Boolean
return System.Boolean

IsSetTax() public method

Checks if Tax property is set
public IsSetTax ( ) : System.Boolean
return System.Boolean

IsSetTotal() public method

Checks if Total property is set
public IsSetTotal ( ) : 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

WithPromotion() public method

Sets the Promotion property
public WithPromotion ( Price promotion ) : TransactionTotals
promotion Price Promotion property
return TransactionTotals

WithShippingCharge() public method

Sets the ShippingCharge property
public WithShippingCharge ( Price shippingCharge ) : TransactionTotals
shippingCharge Price ShippingCharge property
return TransactionTotals

WithSubtotal() public method

Sets the Subtotal property
public WithSubtotal ( Price subtotal ) : TransactionTotals
subtotal Price Subtotal property
return TransactionTotals

WithTax() public method

Sets the Tax property
public WithTax ( Price tax ) : TransactionTotals
tax Price Tax property
return TransactionTotals

WithTotal() public method

Sets the Total property
public WithTotal ( Price total ) : TransactionTotals
total Price Total property
return TransactionTotals