-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update FuturePay interactions with config options
- Loading branch information
1 parent
3ded9fb
commit e90abba
Showing
4 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { AgreementMap } from "./AgreementMap"; | ||
|
||
/** | ||
* Defines the configuration options used when interacting with FuturePay. | ||
*/ | ||
export default interface FuturePayAgreementConfig { | ||
/** | ||
* The optional callback URL to be used by FuturePay to notify of the interaction status. | ||
*/ | ||
callbackUrl: string | null; | ||
|
||
/** | ||
* The optional additional properties to be used to construct the form inputs used when interacting with FuturePay. | ||
*/ | ||
additionalProperties: AgreementMap | null; | ||
|
||
/** | ||
* The optional flag to indicate whether the FuturePay interaction should be initiated in a new tab. | ||
*/ | ||
openInNewTab: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters