See the link in the original question. The Delivery class is CMS.Ecommerce.Delivery and is in the signature of the GetPrice method in the ICarrierProvider interface.
namespace CMS.Ecommerce
{
// Summary:
// Class representing a delivery (bunch of items shipped together using a shipping
// option).
public sealed class Delivery
{
public Delivery();
// Summary:
// Custom data.
public IDataContainer CustomData { get; internal set; }
//
// Summary:
// Address where delivery is shipped to.
public IAddress DeliveryAddress { get; internal set; }
//
// Summary:
// Items shipped in this delivery. Only products and accessory product options
// are present.
public IEnumerable<DeliveryItem> Items { get; internal set; }
//
// Summary:
// The date of shipping (package departure from store).
public DateTime ShippingDate { get; internal set; }
//
// Summary:
// Shipping option used to deliver this delivery.
public ShippingOptionInfo ShippingOption { get; internal set; }
//
// Summary:
// Weight of whole package.
public decimal Weight { get; internal set; }
}
}
In my GetPrice method, I can get the delivery Weight and Items and from the DeliveryAddress, I can call GetStateCode() and GetCountryTwoLetterCode(). The other properties of DeliveryAddress I cannot get to populate from the form on the page.