Skip to content

Add method to get order-items from accounts filtering by phone

Administrator requested to merge account-get-order-item-by-phone into master

Create the Account.get_order_item_by_phone method. It retrieves an OrderItem from the given Account filtering by a phone number. If more than one order-item has the same phone number, and the method returns them together, MultipleOrderItemsWithSamePhoneError is raised.

Merge request reports

Loading