protected CustomerAvailabilityCollectionByTargetSegmentByReservationScopeOperations()

in src/main/java/com/microsoft/store/partnercenter/customers/products/CustomerAvailabilityCollectionByTargetSegmentByReservationScopeOperations.java [38:61]


	protected CustomerAvailabilityCollectionByTargetSegmentByReservationScopeOperations(IPartner rootPartnerOperations, String customerId, String productId, String skuId, String targetSegment, String reservationScope) 
	{
		super(rootPartnerOperations, new QuintupleTuple<String, String, String, String, String>(customerId, productId, skuId, targetSegment, reservationScope));

		if (StringHelper.isNullOrWhiteSpace(customerId)) {
			throw new IllegalArgumentException("customerId must be set");
		}

		if (StringHelper.isNullOrWhiteSpace(productId)) {
			throw new IllegalArgumentException("productId must be set");
		}

		if (StringHelper.isNullOrWhiteSpace(skuId)) {
			throw new IllegalArgumentException("skuId must be set");
		}

		if (StringHelper.isNullOrWhiteSpace(targetSegment)) {
			throw new IllegalArgumentException("targetSegment must be set");
        }
        
        if(StringHelper.isNullOrEmpty(reservationScope)){
			throw new IllegalArgumentException("reservationScope must be set");
        }
	}