PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.8.1
GiveWP – Donation Plugin and Fundraising Platform v4.16.8.1
4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 All 254 releases
give / src / Subscriptions / resources / types.ts

types.ts in GiveWP – Donation Plugin and Fundraising Platform 4.16.8.1, at src/Subscriptions/resources/types.ts

28 lines 618 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 type Gateway = {
2 enabled: boolean;
3 id: string;
4 label: string;
5 supportsRefund: boolean;
6 supportsSubscriptions: boolean;
7 };
8
9 /**
10 * @since 4.8.0
11 */
12 export type GiveSubscriptionOptions = {
13 isAdmin: boolean;
14 adminUrl: string;
15 pluginUrl: string;
16 apiRoot: string;
17 legacyApiRoot: string;
18 apiNonce: string;
19 syncSubscriptionNonce: string;
20 subscriptionsAdminUrl: string;
21 currency: string;
22 isRecurringEnabled: boolean;
23 isFeeRecoveryEnabled: boolean;
24 subscriptionStatuses: { [statusCode: string]: string };
25 mode: 'test' | 'live';
26 gateways: Gateway[];
27 }
28