ITransact fixes.

This commit is contained in:
Martin Kamerbeek 2008-05-29 20:19:17 +00:00
parent 63e93221bd
commit 2c57721e20
3 changed files with 33 additions and 18 deletions

View file

@ -268,6 +268,29 @@ sub get {
#-------------------------------------------------------------------
=head2 getAddress ( addressId )
Returns an instantiated WebGUI::Shop::Address object for the passed address id.
=head3 addressId
The id of the adress to instantiate.
=cut
sub getAddress {
my $self = shift;
my $addressId = shift;
if ($addressId) {
return $self->getCart->getAddressBook->getAddress( $addressId );
}
return undef;
}
#-------------------------------------------------------------------
=head2 getButton ( )
Returns the form that will take the user to check out.