Online Help Center > SendSafely APIs

com.sendsafely.dto

Class PackageURL

getSecureLink()
Returns the secure link that must be sent to the recipients.
Return Type: URL
Parameters: N/A

setSecureLink(SecureLink)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
SecureLink URL N/A

getKeycode()
Returns the keycode
Return Type: String
Parameters: N/A

setKeycode(Keycode)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
Keycode String the keycode to set

needsApproval()
Returns true if the package needs approval before it can be accessed by all recipients.
Return Type: boolean
Parameters: N/A

setNeedsApproval(NeedsApproval)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
NeedsApproval boolean the needsApproval to set

getNotificationStatus()
Returns status DISABLED by default, SUCCESS if package email notification sent successfully, otherwise returns error message.
Return Type: String
Parameters: N/A

setNotificationStatus(NotificationStatus)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
NotificationStatus String the status message indication success or error