/// <summary> /// Create a new <charge-and-ship-order> API request message /// </summary> /// <param name="merchantID">Google Checkout Merchant ID</param> /// <param name="merchantKey">Google Checkout Merchant Key</param> /// <param name="env">A String representation of /// <see cref="EnvironmentType"/></param> /// <param name="googleOrderNumber">The Google Order Number</param> public ChargeAndShipOrderRequest(string merchantID, string merchantKey, string env, string googleOrderNumber) : base(merchantID, merchantKey, env, googleOrderNumber) { ItemShippingInformation = new ItemShippingInformation(); TrackingDataList = new TrackingDataList(); }
/// <summary> /// Create a new <charge-and-ship-order> API request message /// </summary> /// <param name="merchantID">Google Checkout Merchant ID</param> /// <param name="merchantKey">Google Checkout Merchant Key</param> /// <param name="env">A String representation of /// <see cref="EnvironmentType"/></param> /// <param name="googleOrderNumber">The Google Order Number</param> /// <param name="currency">The Currency used to charge the order</param> /// <param name="amount">The Amount to charge</param> public ChargeAndShipOrderRequest(string merchantID, string merchantKey, string env, string googleOrderNumber, string currency, decimal amount) : base(merchantID, merchantKey, env, googleOrderNumber) { ItemShippingInformation = new ItemShippingInformation(); TrackingDataList = new TrackingDataList(); _currency = currency; this.Amount = amount; }
/// <summary> /// Create a new <charge-and-ship-order> API request message /// using the configuration settings /// </summary> /// <param name="googleOrderNumber">The Google Order Number</param> public ChargeAndShipOrderRequest(string googleOrderNumber) : base(googleOrderNumber) { ItemShippingInformation = new ItemShippingInformation(); TrackingDataList = new TrackingDataList(); }