Skip to content

Commit

Permalink
1- Better example to set by defalt the name of the customer if any
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaRabie committed Jun 8, 2020
1 parent a02721e commit dabf7a9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ extension ExampleViewController: SessionDataSource {
}

internal var cardHolderName: String? {
return "tap default card holder name"
guard let customer = customer, let firstName = customer.firstName else { return "tap default card holder name" }
return firstName
}

internal var applePayMerchantID: String
Expand Down

0 comments on commit dabf7a9

Please sign in to comment.