TransactionDocsDataProtocol
public protocol TransactionDocsDataProtocol : AnyObject
A protocol that defines methods and properties for managing the state of transaction documents in a photo payment flow. Conforming types are responsible for tracking, modifying, and handling the state related to attaching documents to a transaction.
-
The view controller responsible for presenting document-related views.
Declaration
Swift
var presentingViewController: UIViewController? { get set } -
The list of attached transaction document ids.
Declaration
Swift
var transactionDocIDs: [String] { get } -
Retrieves the current value of the “Always Attach Documents” setting.
Declaration
Swift
func getAlwaysAttachDocsValue() -> BoolReturn Value
A
Boolrepresenting whether documents should always be attached to the transaction. -
Sets the “Always Attach Documents” setting to a given value.
Declaration
Swift
func setAlwaysAttachDocs(_ value: Bool)Parameters
valueA
Boolindicating whether documents should always be attached to the transaction.
View on GitHub
TransactionDocsDataProtocol Protocol Reference