Package com.ibm.sbt.services.client.smartcloud.bss

Examples of com.ibm.sbt.services.client.smartcloud.bss.OrderJsonBuilder


      return String.valueOf(response.getAsLong("Long"));
    }
   
    public String createSubscription(String customerId, int duration, String partNumber, int quantity) throws BssException, JsonException, IOException {
    SubscriptionManagementService subscriptionManagement = getSubscriptionManagementService();
    OrderJsonBuilder order = new OrderJsonBuilder();
    order.setCustomerId(customerId)
       .setDurationUnits(SubscriptionManagementService.DurationUnits.YEARS)
         .setDurationLength(duration)
         .setPartNumber(partNumber)
         .setPartQuantity(quantity)
         .setBillingFrequency(BillingFrequency.ARC);
View Full Code Here

TOP

Related Classes of com.ibm.sbt.services.client.smartcloud.bss.OrderJsonBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.