Пример #1
0
 /// <summary>
 /// Create a new &lt;charge-and-ship-order&gt; 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();
 }
Пример #2
0
 /// <summary>
 /// Create a new &lt;charge-and-ship-order&gt; 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;
 }
Пример #3
0
 /// <summary>
 /// Create a new &lt;charge-and-ship-order&gt; 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();
 }