Modify information about a specific cart

REST: PUT /order/cart/{cartId}
@param cartId [required] Cart identifier
@param description [required] Description of your cart
@param expire [required] Time of expiration of the cart
167626
public OvhCart cart_cartId_PUT(String cartId, String description, Date expire) throws IOException {
		String qPath = "/order/cart/{cartId}";
		StringBuilder sb = path(qPath, cartId);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "description", description);
		addBody(o, "expire", expire);
		String resp = execN(qPath, "PUT", sb.toString(), o);
		return convertTo(resp, OvhCart.class);
	}
228899
@Override
	public void describeTo(Description description)
	{
		if (matchers.isEmpty())
		{
			description.appendText(compositeDescription != null ? compositeDescription : "anything");
		}
		else
		{
			String start = (compositeDescription != null) ? compositeDescription + " " : "";
		
			description.appendList(start, SEPARATOR, "", matchers);
		}
	}
447457
public boolean recordReturnDescription(String description) {
    if (currentInfo.documentReturn(description)) {
      populated = true;
      return true;
    } else {
      return false;
    }
  }
779466
function(name, value, expires) {
    expires = expires || "";
    if (Object.isNumber(expires)) {
      var days = expires;
      expires = new Date();
      expires.setTime(expires.getTime() + (days * 24 * 60 * 60 * 1000));
    }
    
    if (Object.isDate(expires))
      expires = expires.toGMTString();

    if (!Object.isUndefined(expires) && expires !== "")
      expires = "; expires=" + expires;
    
    this.name    = name;
    this.value   = value;
    this.expires = expires;
    
    document.cookie = name + "=" + value + expires + "; path=/";      
  }
484090
def update_ledger(self, ledger_id, description=None):
        
        arguments = {'description': description}
        return self.do_req('PUT',
                           self.merchant_api_base_url + '/ledger/' +
                           ledger_id + '/', arguments)
538828
public void setDescription(final String DESCRIPTION) {
        if (null == description) {
            _description = DESCRIPTION;
            fireTileEvent(VISIBILITY_EVENT);
            fireTileEvent(REDRAW_EVENT);
        } else {
            description.set(DESCRIPTION);
        }
    }
452005
void expireAfterWrite(String key, @Nullable String value) {
    requireArgument(expireAfterWriteDuration == UNSET_INT, "expireAfterWrite was already set");
    expireAfterWriteDuration = parseDuration(key, value);
    expireAfterWriteTimeUnit = parseTimeUnit(key, value);
  }
328972
boolean documentBlock(String description) {
    if (!lazyInitDocumentation()) {
      return true;
    }

    if (documentation.blockDescription != null) {
      return false;
    }

    documentation.blockDescription = description;
    return true;
  }
431885
public void setDescription(java.util.Collection<StringFilter> description) {
        if (description == null) {
            this.description = null;
            return;
        }

        this.description = new java.util.ArrayList<StringFilter>(description);
    }
979065
public void cart_cartId_coupon_DELETE(String cartId, String coupon) throws IOException {
		String qPath = "/order/cart/{cartId}/coupon";
		StringBuilder sb = path(qPath, cartId);
		query(sb, "coupon", coupon);
		execN(qPath, "DELETE", sb.toString(), null);
	}
400933
def modifyStopOrder(self, orderId, parentId, newStop, quantity,
                        transmit=True, account=None):
        
        if orderId in self.orders.keys():
            order = self.createStopOrder(
                quantity = quantity,
                parentId = parentId,
                stop     = newStop,
                trail    = False,
                transmit = transmit,
                account  = account
            )
            return self.placeOrder(self.orders[orderId]['contract'], order, orderId)

        return None
310865
@Override
    public void setDescription(final String description) {
        if (this.description == null) {
            this.description = new SyndContentImpl();
        }
        this.description.setValue(description);
    }
471624
public static void putExpirationDate(Bundle bundle, Date value) {
        Validate.notNull(bundle, "bundle");
        Validate.notNull(value, "value");
        putDate(bundle, EXPIRATION_DATE_KEY, value);
    }
504253
public void setExpirationTime(long expirationTime) {
	  if (lock == SET) {
		 throw new IllegalStateException("EntryInfo is locked");
	  }
	  expirationTimeFlag = SET;
	  this.expirationTime = expirationTime;
	  this.timeLimit = (int) ((expirationTime - System.currentTimeMillis()) / 1000L);
   }
561275
public void setExpiration(String expiration) {
        if (expiration == null) {
            _properties.remove(AMQP_PROP_EXPIRATION);
            return;
        }
        
        _properties.put(AMQP_PROP_EXPIRATION, expiration);
    }
1044350
public OvhCart cart_cartId_GET(String cartId) throws IOException {
		String qPath = "/order/cart/{cartId}";
		StringBuilder sb = path(qPath, cartId);
		String resp = execN(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhCart.class);
	}
283626
function addProductToCart(url, productID, formID, formBuildID, formToken) {
	let formdata = {
		product_id: productID,
		form_id: formID,
		form_build_id: formBuildID,
		form_token: formToken,
		quantity: 1,
		op: "Add to cart",
	};
	let headers = { "Content-Type": "application/x-www-form-urlencoded" };
	let res = http.post(url, formdata, { headers: headers });
	// verify add to cart succeeded
	check(res, {
		"add to cart succeeded": (res) => res.body.includes('Item successfully added to your cart')
	}) || fail("add to cart failed");
}