Skip to content

Commit

Permalink
Add docstring to new constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Harper committed Nov 14, 2023
1 parent 4326ccc commit ba137ce
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ public SubMerchant(String id, String merchantCategoryCode, ContactInformation co
this.contactInformation = contactInformation;
}

/**
* Sub-merchant details, only to be used if initiated by a Payment Facilitator
* @param id Payment Facilitator assigned numeric sub-merchant identifier
* @param merchantCategoryCode Four digit merchant category code
* @param contactInformation Sub-merchant's contact details
* @param vatId Sub-merchant's VAT ID, required for MobilePay requests
*/
public SubMerchant(String id, String merchantCategoryCode, ContactInformation contactInformation, String vatId) {
this.id = id;
this.merchantCategoryCode = merchantCategoryCode;
Expand Down

0 comments on commit ba137ce

Please sign in to comment.