From dd47f5d1a26a5881e236b80259eeef6e806005f4 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 4 Apr 2022 12:42:26 +1000 Subject: [PATCH] Order context use Shop_AddressInfo not Shop_CheckoutAddressInfo, update references. --- classes/shop_addressinfo.php | 2 +- docs/actions/checkout_billing_info.htm | 2 +- docs/actions/checkout_shipping_info.htm | 2 +- models/shop_order.php | 31 +++++++++++++------------ 4 files changed, 19 insertions(+), 18 deletions(-) diff --git a/classes/shop_addressinfo.php b/classes/shop_addressinfo.php index 900927a..93c7317 100644 --- a/classes/shop_addressinfo.php +++ b/classes/shop_addressinfo.php @@ -254,7 +254,7 @@ public function save_to_order($order, $billing=true) /** * Checks whether the address represented with the object matches the address represented with another address information object. * @documentable - * @param Shop_CheckoutAddressInfo $address_info Specifies another address information object to compare with. + * @param Shop_AddressInfo $address_info Specifies another address information object to compare with. * @return boolean Returns TRUE if the address matches. Returns FALSE otherwise. */ public function equals($address_info) diff --git a/docs/actions/checkout_billing_info.htm b/docs/actions/checkout_billing_info.htm index aa22713..014f437 100644 --- a/docs/actions/checkout_billing_info.htm +++ b/docs/actions/checkout_billing_info.htm @@ -2,7 +2,7 @@

Variables