Best Buy Interview Question

How would you create a simple fulfillment function or method?