David Shao Lin Zhuo

NAME

Google::Checkout::General::MerchantCalculationResults

SYNOPSIS

DESCRIPTION

A sub-class of Google::Checkout::XML::Writer. This module can be use to write the <merchant-calculation-results> XML after a <merchant-calculation-callback> is received.

new GCO => ..., MERCHANT_CALCULATION_RESULT => ...

Constructor. The GCO argument should be an object of Google::Checkout::General::GCO and MERCHANT_CALCULATION_RESULT should be an array reference of Google::Checkout::General::MerchantCalculationResult objects.

get_merchant_calculation_result

Returns the array reference of Google::Checkout::General::MerchantCalculationResult.

add_merchant_calculation_result MCRESULT

Adds another MCRESULT (Google::Checkout::General::MerchantCalculationResult).

done

Returns the XML.

COPYRIGHT

Copyright 2006 Google. All rights reserved.

SEE ALSO

Google::Checkout::XML::Writer Google::Checkout::General::MerchantCalculationResult