Skip to content

Commit

Permalink
Fixed JavaDoc errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
trifonnt committed Oct 17, 2016
1 parent fe1bc40 commit 2c4fb1f
Show file tree
Hide file tree
Showing 22 changed files with 98 additions and 57 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ limitations under the License.

<groupId>com.github.trifonnt</groupId>
<artifactId>ext-lib-amazon-mws-finances</artifactId>
<version>1.0.0-alpha.1</version>
<version>1.0.0</version>
<packaging>jar</packaging>
<name>Amazon MWS :: Finances</name>
<description>Amazon MWS Finances API Client Library</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public interface MWSFinancesServiceAsync extends MWSFinancesService {
* @param request
* ListFinancialEventGroupsRequest request.
*
* @return Future<ListFinancialEventGroupsResponse> response.
* @return ListFinancialEventGroupsResponse response.
*/
Future<ListFinancialEventGroupsResponse> listFinancialEventGroupsAsync(
ListFinancialEventGroupsRequest request);
Expand All @@ -48,7 +48,7 @@ Future<ListFinancialEventGroupsResponse> listFinancialEventGroupsAsync(
* @param request
* ListFinancialEventGroupsByNextTokenRequest request.
*
* @return Future<ListFinancialEventGroupsByNextTokenResponse> response.
* @return ListFinancialEventGroupsByNextTokenResponse response.
*/
Future<ListFinancialEventGroupsByNextTokenResponse> listFinancialEventGroupsByNextTokenAsync(
ListFinancialEventGroupsByNextTokenRequest request);
Expand All @@ -61,7 +61,7 @@ Future<ListFinancialEventGroupsByNextTokenResponse> listFinancialEventGroupsByNe
* @param request
* ListFinancialEventsRequest request.
*
* @return Future<ListFinancialEventsResponse> response.
* @return ListFinancialEventsResponse response.
*/
Future<ListFinancialEventsResponse> listFinancialEventsAsync(
ListFinancialEventsRequest request);
Expand All @@ -76,7 +76,7 @@ Future<ListFinancialEventsResponse> listFinancialEventsAsync(
* @param request
* ListFinancialEventsByNextTokenRequest request.
*
* @return Future<ListFinancialEventsByNextTokenResponse> response.
* @return ListFinancialEventsByNextTokenResponse response.
*/
Future<ListFinancialEventsByNextTokenResponse> listFinancialEventsByNextTokenAsync(
ListFinancialEventsByNextTokenRequest request);
Expand All @@ -89,7 +89,7 @@ Future<ListFinancialEventsByNextTokenResponse> listFinancialEventsByNextTokenAsy
* @param request
* GetServiceStatusRequest request.
*
* @return Future<GetServiceStatusResponse> response.
* @return GetServiceStatusResponse response.
*/
Future<GetServiceStatusResponse> getServiceStatusAsync(
GetServiceStatusRequest request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public boolean isSetAdjustmentItemList() {
/**
* Add values for AdjustmentItemList, return this.
*
* @param adjustmentItemList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -220,7 +220,10 @@ public void writeTo(MwsWriter w) {
w.write("http://mws.amazonservices.com/Finances/2015-05-01", "AdjustmentEvent",this);
}

/** Value constructor. */
/** Value constructor.
* @param adjustmentType
* @param adjustmentAmount
* @param adjustmentItemList */
public AdjustmentEvent(String adjustmentType,Currency adjustmentAmount,List<AdjustmentItem> adjustmentItemList) {
this.adjustmentType = adjustmentType;
this.adjustmentAmount = adjustmentAmount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,14 @@ public void writeTo(MwsWriter w) {
w.write("http://mws.amazonservices.com/Finances/2015-05-01", "AdjustmentItem",this);
}

/** Value constructor. */
/** Value constructor.
* @param quantity
* @param perUnitAmount
* @param totalAmount
* @param sellerSKU
* @param fnSKU
* @param productDescription
* @param asin */
public AdjustmentItem(String quantity,Currency perUnitAmount,Currency totalAmount,String sellerSKU,String fnSKU,String productDescription,String asin) {
this.quantity = quantity;
this.perUnitAmount = perUnitAmount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ public void writeTo(MwsWriter w) {
w.write("http://mws.amazonservices.com/Finances/2015-05-01", "ChargeComponent",this);
}

/** Value constructor. */
/** Value constructor.
* @param chargeType
* @param chargeAmount */
public ChargeComponent(String chargeType,Currency chargeAmount) {
this.chargeType = chargeType;
this.chargeAmount = chargeAmount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,10 @@ public void writeTo(MwsWriter w) {
w.write("http://mws.amazonservices.com/Finances/2015-05-01", "ChargeInstrument",this);
}

/** Value constructor. */
/** Value constructor.
* @param description
* @param tail
* @param amount */
public ChargeInstrument(String description,String tail,Currency amount) {
this.description = description;
this.tail = tail;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public boolean isSetDebtRecoveryItemList() {
/**
* Add values for DebtRecoveryItemList, return this.
*
* @param debtRecoveryItemList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -271,7 +271,7 @@ public boolean isSetChargeInstrumentList() {
/**
* Add values for ChargeInstrumentList, return this.
*
* @param chargeInstrumentList
* @param values
* New values to add.
*
* @return This instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public boolean isSetShipmentEventList() {
/**
* Add values for ShipmentEventList, return this.
*
* @param shipmentEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -172,7 +172,7 @@ public boolean isSetRefundEventList() {
/**
* Add values for RefundEventList, return this.
*
* @param refundEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -226,7 +226,7 @@ public boolean isSetGuaranteeClaimEventList() {
/**
* Add values for GuaranteeClaimEventList, return this.
*
* @param guaranteeClaimEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -280,7 +280,7 @@ public boolean isSetChargebackEventList() {
/**
* Add values for ChargebackEventList, return this.
*
* @param chargebackEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -334,7 +334,7 @@ public boolean isSetPayWithAmazonEventList() {
/**
* Add values for PayWithAmazonEventList, return this.
*
* @param payWithAmazonEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -388,7 +388,7 @@ public boolean isSetServiceProviderCreditEventList() {
/**
* Add values for ServiceProviderCreditEventList, return this.
*
* @param serviceProviderCreditEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -442,7 +442,7 @@ public boolean isSetRetrochargeEventList() {
/**
* Add values for RetrochargeEventList, return this.
*
* @param retrochargeEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -496,7 +496,7 @@ public boolean isSetRentalTransactionEventList() {
/**
* Add values for RentalTransactionEventList, return this.
*
* @param rentalTransactionEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -550,7 +550,7 @@ public boolean isSetPerformanceBondRefundEventList() {
/**
* Add values for PerformanceBondRefundEventList, return this.
*
* @param performanceBondRefundEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -604,7 +604,7 @@ public boolean isSetServiceFeeEventList() {
/**
* Add values for ServiceFeeEventList, return this.
*
* @param serviceFeeEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -658,7 +658,7 @@ public boolean isSetDebtRecoveryEventList() {
/**
* Add values for DebtRecoveryEventList, return this.
*
* @param debtRecoveryEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -712,7 +712,7 @@ public boolean isSetLoanServicingEventList() {
/**
* Add values for LoanServicingEventList, return this.
*
* @param loanServicingEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -766,7 +766,7 @@ public boolean isSetAdjustmentEventList() {
/**
* Add values for AdjustmentEventList, return this.
*
* @param adjustmentEventList
* @param values
* New values to add.
*
* @return This instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public boolean isSetFinancialEventGroupList() {
/**
* Add values for FinancialEventGroupList, return this.
*
* @param financialEventGroupList
* @param values
* New values to add.
*
* @return This instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public boolean isSetFinancialEventGroupList() {
/**
* Add values for FinancialEventGroupList, return this.
*
* @param financialEventGroupList
* @param values
* New values to add.
*
* @return This instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,14 @@ public void writeTo(MwsWriter w) {
w.write("http://mws.amazonservices.com/Finances/2015-05-01", "ListFinancialEventsRequest",this);
}

/** Value constructor. */
/** Value constructor.
* @param sellerId
* @param mwsAuthToken
* @param maxResultsPerPage
* @param amazonOrderId
* @param financialEventGroupId
* @param postedAfter
* @param postedBefore */
public ListFinancialEventsRequest(String sellerId,String mwsAuthToken,Integer maxResultsPerPage,String amazonOrderId,String financialEventGroupId,XMLGregorianCalendar postedAfter,XMLGregorianCalendar postedBefore) {
this.sellerId = sellerId;
this.mwsAuthToken = mwsAuthToken;
Expand All @@ -401,7 +408,13 @@ public ListFinancialEventsRequest(String sellerId,String mwsAuthToken,Integer ma
this.postedBefore = postedBefore;
}

/** Legacy value constructor. */
/** Legacy value constructor.
* @param sellerId
* @param maxResultsPerPage
* @param amazonOrderId
* @param financialEventGroupId
* @param postedAfter
* @param postedBefore */
public ListFinancialEventsRequest(String sellerId,Integer maxResultsPerPage,String amazonOrderId,String financialEventGroupId,XMLGregorianCalendar postedAfter,XMLGregorianCalendar postedBefore) {
this.sellerId = sellerId;
this.maxResultsPerPage = maxResultsPerPage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public boolean isSetFeeList() {
/**
* Add values for FeeList, return this.
*
* @param feeList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -544,7 +544,17 @@ public void writeTo(MwsWriter w) {
w.write("http://mws.amazonservices.com/Finances/2015-05-01", "PayWithAmazonEvent",this);
}

/** Value constructor. */
/** Value constructor.
* @param sellerOrderId
* @param transactionPostedDate
* @param businessObjectType
* @param salesChannel
* @param charge
* @param feeList
* @param paymentAmountType
* @param amountDescription
* @param fulfillmentChannel
* @param storeName */
public PayWithAmazonEvent(String sellerOrderId,XMLGregorianCalendar transactionPostedDate,String businessObjectType,String salesChannel,ChargeComponent charge,List<FeeComponent> feeList,String paymentAmountType,String amountDescription,String fulfillmentChannel,String storeName) {
this.sellerOrderId = sellerOrderId;
this.transactionPostedDate = transactionPostedDate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public boolean isSetProductGroupList() {
/**
* Add values for ProductGroupList, return this.
*
* @param productGroupList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -220,7 +220,10 @@ public void writeTo(MwsWriter w) {
w.write("http://mws.amazonservices.com/Finances/2015-05-01", "PerformanceBondRefundEvent",this);
}

/** Value constructor. */
/** Value constructor.
* @param marketplaceCountryCode
* @param amount
* @param productGroupList */
public PerformanceBondRefundEvent(String marketplaceCountryCode,Currency amount,List<String> productGroupList) {
this.marketplaceCountryCode = marketplaceCountryCode;
this.amount = amount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public boolean isSetRentalChargeList() {
/**
* Add values for RentalChargeList, return this.
*
* @param rentalChargeList
* @param values
* New values to add.
*
* @return This instance.
Expand Down Expand Up @@ -326,7 +326,7 @@ public boolean isSetRentalFeeList() {
/**
* Add values for RentalFeeList, return this.
*
* @param rentalFeeList
* @param values
* New values to add.
*
* @return This instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public boolean isSetFeeList() {
/**
* Add values for FeeList, return this.
*
* @param feeList
* @param values
* New values to add.
*
* @return This instance.
Expand Down
Loading

0 comments on commit 2c4fb1f

Please sign in to comment.