Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit f57e778

Browse files
authored
Updates to the code documentation (#38)
1 parent 8a4d6c1 commit f57e778

10 files changed

Lines changed: 16 additions & 8 deletions

File tree

src/main/java/com/microsoft/store/partnercenter/entitlements/EntitlementCollectionOperations.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ public IEntireEntityCollectionRetrievalOperations<Entitlement, ResourceCollectio
5858
/**
5959
* Gets the entitlements for a customer.
6060
*
61-
* @param A flag to indicate if the expiry date is required to be returned along with the entitlement (if applicable).
6261
* @return The collection of entitlements for the customer.
6362
*/
6463
@Override

src/main/java/com/microsoft/store/partnercenter/invoices/EstimateCollectionOperations.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public EstimateCollectionOperations(IPartner rootPartnerOperations)
2828

2929
/**
3030
* Gets the estimate links of the recon line items.
31+
*
32+
* @return The estimate links of the recon line items.
3133
*/
3234
@Override
3335
public IEstimateLink getLinks()

src/main/java/com/microsoft/store/partnercenter/invoices/IEstimateCollection.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ public interface IEstimateCollection
1616
extends IPartnerComponent<String>
1717
{
1818
/**
19-
* Gets the estimate links of the recon line items.
19+
* Gets the estimate links for the recon line items.
20+
*
21+
* @return The estimate links for the recon line items.
2022
*/
2123
IEstimateLink getLinks();
2224
}

src/main/java/com/microsoft/store/partnercenter/invoices/IInvoice.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public interface IInvoice
3838
*
3939
* @param billingProvider The billing provider.
4040
* @param invoiceLineItemType The invoice line item type.
41-
* @return The invoice line item collection operations.
41+
*
42+
* @return The available invoice line item collection operations given a billing provider and invoice line item type.
4243
*/
4344
IInvoiceLineItemCollection by(BillingProvider billingProvider, InvoiceLineItemType invoiceLineItemType);
4445

@@ -49,6 +50,8 @@ public interface IInvoice
4950
* @param invoiceLineItemType The type of invoice line item type.
5051
* @param currencyCode The currency code.
5152
* @param period The period for unbilled recon.
53+
*
54+
* @return The available invoice line item collection operations given a billing provider and invoice line item type.
5255
*/
5356
IReconLineItemCollection By(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period);
5457

@@ -60,6 +63,8 @@ public interface IInvoice
6063
* @param currencyCode The currency code.
6164
* @param period The period for unbilled recon.
6265
* @param pageSize The number of records returned in a single operation.
66+
*
67+
* @return The available invoice line item collection operations given a billing provider and invoice line item type.
6368
*/
6469
IReconLineItemCollection By(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period, int pageSize);
6570
}

src/main/java/com/microsoft/store/partnercenter/invoices/InvoiceOperations.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public IInvoiceLineItemCollection by( BillingProvider billingProvider, InvoiceLi
7979
* @param invoiceLineItemType The type of invoice line item type.
8080
* @param currencyCode The currency code.
8181
* @param period The period for unbilled recon.
82-
* @param pageSize The number of records returned in a single operation.
8382
*/
8483
public IReconLineItemCollection By(BillingProvider provider, InvoiceLineItemType invoiceLineItemType, String currencyCode, BillingPeriod period)
8584
{

src/main/java/com/microsoft/store/partnercenter/invoices/ReceiptCollectionOperations.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public class ReceiptCollectionOperations
1919
*
2020
* @param rootPartnerOperations The root partner operations instance.
2121
* @param invoiceId The invoice identifier.
22-
* @param receiptId
2322
*/
2423
public ReceiptCollectionOperations(IPartner rootPartnerOperations, String invoiceId)
2524
{

src/main/java/com/microsoft/store/partnercenter/invoices/ReceiptStatementOperations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class ReceiptStatementOperations
2525
*
2626
* @param rootPartnerOperations The root partner operations instance.
2727
* @param invoiceId The invoice identifier.
28-
* @param receiptId
28+
* @param receiptId The receipt identifier.
2929
*/
3030
public ReceiptStatementOperations(IPartner rootPartnerOperations, String invoiceId, String receiptId)
3131
{

src/main/java/com/microsoft/store/partnercenter/models/entitlements/Entitlement.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ public void setExpiryDate(DateTime value)
105105

106106
/**
107107
* Gets the fulfillment state for the entitlement.
108+
*
109+
* @return The fulfillment state for the entitlement.
108110
*/
109111
public String getFulfillmentState()
110112
{

src/main/java/com/microsoft/store/partnercenter/models/orders/OrderLinks.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public Link getPatchOperation()
3939
* Sets the link to the patch operation of an order.
4040
*
4141
* @param value The link to the patch operation of an order.
42-
* @return The link to the patch operation of an order.
4342
*/
4443
public void setPatchOperation(Link value)
4544
{
@@ -60,7 +59,6 @@ public Link getProvisioningStatus()
6059
* Sets the link to the provisioning status of an order.
6160
*
6261
* @param value The link to the provisioning status of an order.
63-
* @return The link to the provisioning status of an order.
6462
*/
6563
public void setProvisioningStatus(Link value)
6664
{

src/main/java/com/microsoft/store/partnercenter/orders/IOrderLineItem.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ public interface IOrderLineItem
1717
{
1818
/**
1919
* Gets the available customer order line item activation link operations.
20+
*
21+
* @return The available customer order line item activation link operations.
2022
*/
2123
IOrderLineItemActivationLink getActivationLink();
2224
}

0 commit comments

Comments
 (0)