PrimerHeadlessUniversalCheckoutRawDataManagerDelegate
in order to receive different callbacks from your RawDataManager
.
rawData
set is valid, and all the errors that occurred during validation.
rawData
. Changing rawData
triggers this callback.
Some time after this is called, primerRawDataManager(_:didReceiveMetadata:forState:)
will be called with the relevant metadata for the state.
Use this method to indicate to the user that metadata is being fetched; for example, by showing a loading spinner or other UI until the metadata has been returned.
primerRawDataManager(_:willFetchMetadataForState:)
is called.
Use this method to query new validation metadata, add informational UI, or allow the user to add
additional payment information required to make a payment.
primerRawDataManager(_:willFetchMetadataForState:)
and
primerRawDataManager(_:didReceiveMetadata:forState:)
.rawData
. Check the section below for the metadata types that can be returned.