Skip to content

Commit

Permalink
Update BTPayPalVaultEditResult Object
Browse files Browse the repository at this point in the history
  • Loading branch information
KunJeongPark committed Aug 7, 2024
1 parent 41088d9 commit f8e3b40
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions Sources/BraintreePayPal/BTPayPalVaultEditResult.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
import Foundation
import BraintreeCore

/// A result of the Edit FI flow used to display a customers updated payment details in your UI
/// - Warning: This feature is currently in beta and may change or be removed in future releases.
public class BTPayPalVaultEditResult {
public struct BTPayPalVaultEditResult {

// TODO: implement in a future PR
// MARK: - Public Properties

/// This ID is used to link subsequent retry attempts if payment is declined
public let clientMetadataID: String

/// ID of the payer
public let payerID: String?

/// email address of the payer
public let email: String?

/// first name of the payer
public let firstName: String?

/// last name of the payer
public let lastName: String?

/// phone number of the payer
public let phone: String?

/// shipping address of the payer
public let shippingAddress: BTPostalAddress?

/// description of the funding source
public let fundingSourceDescription: String?
}

0 comments on commit f8e3b40

Please sign in to comment.