diff --git a/Sources/BraintreePayPal/BTContactInformation.swift b/Sources/BraintreePayPal/BTContactInformation.swift index 2ed84ca15..035a5746a 100644 --- a/Sources/BraintreePayPal/BTContactInformation.swift +++ b/Sources/BraintreePayPal/BTContactInformation.swift @@ -1,12 +1,17 @@ /// Contact information of the recipient for the order public struct BTContactInformation { - /// Email address of the recipient - let recipientEmail: String? + // MARK: - Internal Properties - /// Phone number of the recipient + let recipientEmail: String? let recipientPhoneNumber: BTPayPalPhoneNumber? + + // MARK: - Initializer + /// Intialize a BTContactInformation + /// - Parameters: + /// - recipientEmail: Optional: Email address of the recipient. + /// - recipientPhoneNumber: Optional:Phone number of the recipient. public init(recipientEmail: String? = nil, recipientPhoneNumber: BTPayPalPhoneNumber? = nil) { self.recipientEmail = recipientEmail self.recipientPhoneNumber = recipientPhoneNumber