/// <summary> /// Gets the shipping options. /// </summary> /// <param name="profile">The profile.</param> /// <param name="destination">The destination.</param> /// <param name="items">The items.</param> /// <param name="language">The language.</param> /// <returns></returns> private RequestResult GetShippingOptionsInternal(Profile profile, Destination destination, List <Item> items, CanadaPostLanguageEnum language) { var parcel = new eParcelBuilder(profile, destination, items, language); string result = SendMessage(parcel.GetMessage(true)); return(HandleResult(result, language)); }
/// <summary> /// Gets the shipping options. /// </summary> /// <param name="profile">The profile.</param> /// <param name="destination">The destination.</param> /// <param name="items">The items.</param> /// <param name="language">The language.</param> /// <returns></returns> private RequestResult GetShippingOptionsInternal(Profile profile, Destination destination, List<Item> items, CanadaPostLanguageEnum language) { var parcel = new eParcelBuilder(profile, destination, items, language); string result = SendMessage(parcel.GetMessage(true)); return HandleResult(result, language); }