-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update sign template missing enum (#1201)
- Loading branch information
1 parent
2e931d8
commit fcb6657
Showing
8 changed files
with
939 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/main/java/com/box/sdk/BoxSignTemplateAdditionalInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.box.sdk; | ||
|
||
import java.util.List; | ||
|
||
|
||
/** | ||
* Box Sign Template additional information on which fields are required | ||
* and which fields are not editable. | ||
*/ | ||
public class BoxSignTemplateAdditionalInfo { | ||
private final List<String> nonEditable; | ||
private final BoxSignTemplateAdditionalInfoRequired required; | ||
|
||
public BoxSignTemplateAdditionalInfo(List<String> nonEditable, | ||
BoxSignTemplateAdditionalInfoRequired required) { | ||
this.nonEditable = nonEditable; | ||
this.required = required; | ||
} | ||
|
||
/** | ||
* Get non-editable fields. | ||
* | ||
* @return list of non-editable fields.\ | ||
*/ | ||
public List<String> getNonEditable() { | ||
return this.nonEditable; | ||
} | ||
|
||
/** | ||
* Gets the required fields. | ||
* | ||
* @return the required fields. | ||
*/ | ||
public BoxSignTemplateAdditionalInfoRequired getRequired() { | ||
return this.required; | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/main/java/com/box/sdk/BoxSignTemplateAdditionalInfoRequired.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.box.sdk; | ||
|
||
import java.util.List; | ||
|
||
|
||
/** | ||
* Box Sign Template additional information on which fields are required. | ||
*/ | ||
public class BoxSignTemplateAdditionalInfoRequired { | ||
private final List<List<String>> signers; | ||
|
||
/** | ||
* Constructs a BoxSignTemplateAdditionalInfoRequired object with the provided list of signers. | ||
*/ | ||
public BoxSignTemplateAdditionalInfoRequired(List<List<String>> signers) { | ||
this.signers = signers; | ||
} | ||
|
||
/** | ||
* Gets the required signer fields. | ||
* | ||
* @return the required signer fields. | ||
*/ | ||
public List<List<String>> getSigners() { | ||
return this.signers; | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
src/main/java/com/box/sdk/BoxSignTemplateCustomBranding.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
package com.box.sdk; | ||
|
||
/** | ||
* Custom branding applied to notifications and signature requests. | ||
*/ | ||
public class BoxSignTemplateCustomBranding { | ||
private final String brandingColor; | ||
private final String companyName; | ||
private final String emailFooterText; | ||
private final String logoUri; | ||
|
||
/** | ||
* Constructs a BoxSignTemplateCustomBranding object with the provided information. | ||
* | ||
* @param brandingColor the branding color. | ||
* @param companyName the company name. | ||
* @param emailFooterText the email footer text. | ||
* @param logoUri the logo URI. | ||
*/ | ||
public BoxSignTemplateCustomBranding(String brandingColor, String companyName, String emailFooterText, | ||
String logoUri) { | ||
this.brandingColor = brandingColor; | ||
this.companyName = companyName; | ||
this.emailFooterText = emailFooterText; | ||
this.logoUri = logoUri; | ||
} | ||
|
||
/** | ||
* Gets the branding color. | ||
* | ||
* @return the branding color. | ||
*/ | ||
public String getBrandingColor() { | ||
return this.brandingColor; | ||
} | ||
|
||
/** | ||
* Gets the company name. | ||
* | ||
* @return the company name. | ||
*/ | ||
public String getCompanyName() { | ||
return this.companyName; | ||
} | ||
|
||
/** | ||
* Gets the email footer text. | ||
* | ||
* @return the email footer text. | ||
*/ | ||
public String getEmailFooterText() { | ||
return this.emailFooterText; | ||
} | ||
|
||
/** | ||
* Gets the logo URI. | ||
* | ||
* @return the logo URI. | ||
*/ | ||
public String getLogoUri() { | ||
return this.logoUri; | ||
} | ||
} |
Oops, something went wrong.