-
Notifications
You must be signed in to change notification settings - Fork 2
/
sdk.go
61 lines (58 loc) · 2.37 KB
/
sdk.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Code generated by the Paddle SDK Generator; DO NOT EDIT.
package paddle
// SDK contains all sub-clients for the Paddle API.
type SDK struct {
*ProductsClient
*PricesClient
*TransactionsClient
*PricingPreviewClient
*AdjustmentsClient
*CustomersClient
*AddressesClient
*BusinessesClient
*PaymentMethodsClient
*CustomerPortalSessionsClient
*NotificationSettingsClient
*EventsTypesClient
*EventsClient
*NotificationsClient
*NotificationLogsClient
*NotificationSettingReplaysClient
*SimulationTypesClient
*SimulationsClient
*SimulationRunsClient
*SimulationRunEventsClient
*IPAddressesClient
*DiscountsClient
*SubscriptionsClient
*ReportsClient
}
// newSDK creates a new SDK instance. This is auto-generated, modifications should be done in the generator.
func newSDK(d Doer) *SDK {
return &SDK{
AddressesClient: &AddressesClient{doer: d},
AdjustmentsClient: &AdjustmentsClient{doer: d},
BusinessesClient: &BusinessesClient{doer: d},
CustomerPortalSessionsClient: &CustomerPortalSessionsClient{doer: d},
CustomersClient: &CustomersClient{doer: d},
DiscountsClient: &DiscountsClient{doer: d},
EventsClient: &EventsClient{doer: d},
EventsTypesClient: &EventsTypesClient{doer: d},
IPAddressesClient: &IPAddressesClient{doer: d},
NotificationLogsClient: &NotificationLogsClient{doer: d},
NotificationSettingReplaysClient: &NotificationSettingReplaysClient{doer: d},
NotificationSettingsClient: &NotificationSettingsClient{doer: d},
NotificationsClient: &NotificationsClient{doer: d},
PaymentMethodsClient: &PaymentMethodsClient{doer: d},
PricesClient: &PricesClient{doer: d},
PricingPreviewClient: &PricingPreviewClient{doer: d},
ProductsClient: &ProductsClient{doer: d},
ReportsClient: &ReportsClient{doer: d},
SimulationRunEventsClient: &SimulationRunEventsClient{doer: d},
SimulationRunsClient: &SimulationRunsClient{doer: d},
SimulationTypesClient: &SimulationTypesClient{doer: d},
SimulationsClient: &SimulationsClient{doer: d},
SubscriptionsClient: &SubscriptionsClient{doer: d},
TransactionsClient: &TransactionsClient{doer: d},
}
}