Skip to content

Commit

Permalink
Address PR feedback, update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
richherrera committed Nov 25, 2024
1 parent 7d55666 commit fcd5c15
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Sources/BraintreePayPal/BTContactInformation.swift
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fcd5c15

Please sign in to comment.