Export to GitHub

google-checkout-java-sdk - issue #4

Need access to some fields


Posted on Sep 5, 2007 by Happy Bird

(BugReport from UniTechnology) Class CheckoutShoppingCartRequest has field 'document' with package visibility and this is inconvenient in case when you need to override methods CheckoutShoppingCartRequest.getXmlPretty () , CheckoutShoppingCartRequest.getXml() and put new classes in package with name different from 'com.google.checkout.checkout' In MerchantCalculationResults class filed 'document' is private that is inconvenient too.

Comment #1

Posted on Sep 5, 2007 by Happy Bird

new owner of this bug

Comment #2

Posted on Sep 28, 2007 by Massive Horse

(No comment was entered for this change.)

Comment #3

Posted on Oct 1, 2007 by Massive Horse

The solution to this issue was to provide a protected accessor method getDocument() which allows classes that inherit CheckoutShoppingCartRequest to access the document field.

Status: Fixed

Labels:
Type-Defect Priority-Medium OpSys-All