Skip to content

Commit 292dd8f

Browse files
authored
Merge pull request #10 from alipay/feature-update-composer
update add composer and init
2 parents 1eb9ac8 + ad5d816 commit 292dd8f

File tree

2 files changed

+184
-0
lines changed

2 files changed

+184
-0
lines changed

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "alipay/global-open-sdk-php",
3+
"description": "global-open-sdk-php",
4+
"type": "library",
5+
"license": "MIT",
6+
"autoload": {
7+
"psr-4": {
8+
"request": "request/",
9+
"model:": "model/"
10+
}
11+
},
12+
"homepage": "https://dashboard.alipay.com/global-payments/",
13+
"authors": [
14+
{
15+
"name": "Alipay",
16+
"email": "https://dashboard.alipay.com/global-payments/"
17+
}
18+
],
19+
"require": {}
20+
}

init.php

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
<?php
2+
3+
//request
4+
require __DIR__ . '/request/AlipayRequest.php';
5+
6+
//auth
7+
require __DIR__ . '/request/auth/AlipayAuthApplyTokenRequest.php';
8+
require __DIR__ . '/request/auth/AlipayAuthConsultRequest.php';
9+
require __DIR__ . '/request/auth/AlipayAuthQueryTokenRequest.php';
10+
require __DIR__ . '/request/auth/AlipayAuthRevokeTokenRequest.php';
11+
12+
//customs
13+
require __DIR__ . '/request/customs/AlipayCustomsDeclareRequest.php';
14+
require __DIR__ . '/request/customs/AlipayCustomsQueryRequest.php';
15+
16+
//merchant
17+
require __DIR__ . '/request/merchant/AlipayMerchantRegistrationInfoQueryRequest.php';
18+
require __DIR__ . '/request/merchant/AlipayMerchantRegistrationRequest.php';
19+
require __DIR__ . '/request/merchant/AlipayMerchantRegistrationStatusQueryRequest.php';
20+
21+
//order
22+
require __DIR__ . '/request/order/AlipayCreateOrderRequest.php';
23+
24+
//pay
25+
require __DIR__ . '/request/pay/AlipayCaptureRequest.php';
26+
require __DIR__ . '/request/pay/AlipayInquiryRefundRequest.php';
27+
require __DIR__ . '/request/pay/AlipayPayCancelRequest.php';
28+
require __DIR__ . '/request/pay/AlipayPayConsultRequest.php';
29+
require __DIR__ . '/request/pay/AlipayPaymentSessionRequest.php';
30+
require __DIR__ . '/request/pay/AlipayPayQueryRequest.php';
31+
require __DIR__ . '/request/pay/AlipayPayRequest.php';
32+
require __DIR__ . '/request/pay/AlipayRefundRequest.php';
33+
require __DIR__ . '/request/pay/EntryCodePaymentRequest.php';
34+
require __DIR__ . '/request/pay/OrderCodePaymentRequest.php';
35+
require __DIR__ . '/request/pay/UserPresentedCodePaymentRequest.php';
36+
37+
//risk
38+
require __DIR__ . '/request/risk/AlipayRiskScoreInquiryRequest.php';
39+
40+
41+
//subscription
42+
require __DIR__ . '/request/subscription/AlipaySubscriptionCancelRequest.php';
43+
require __DIR__ . '/request/subscription/AlipaySubscriptionChangeRequest.php';
44+
require __DIR__ . '/request/subscription/AlipaySubscriptionCreateRequest.php';
45+
46+
//user
47+
require __DIR__ . '/request/users/AlipayInitAuthenticationRequest.php';
48+
require __DIR__ . '/request/users/AlipayUserQueryInfoRequest.php';
49+
require __DIR__ . '/request/users/AlipayVerifyAuthenticationRequest.php';
50+
51+
52+
//model
53+
require __DIR__ . '/model/Address.php';
54+
require __DIR__ . '/model/Amount.php';
55+
require __DIR__ . '/model/AmountLimit.php';
56+
require __DIR__ . '/model/AmountLimitInfo.php';
57+
require __DIR__ . '/model/AntomPathConstants.php';
58+
require __DIR__ . '/model/Attachment.php';
59+
require __DIR__ . '/model/AuthenticationChannelType.php';
60+
require __DIR__ . '/model/AuthenticationType.php';
61+
require __DIR__ . '/model/BrowserInfo.php';
62+
require __DIR__ . '/model/Buyer.php';
63+
require __DIR__ . '/model/CardBrand.php';
64+
require __DIR__ . '/model/CardPaymentMethodDetail.php';
65+
require __DIR__ . '/model/Certificate.php';
66+
require __DIR__ . '/model/CertificateType.php';
67+
require __DIR__ . '/model/ChallengeActionForm.php';
68+
require __DIR__ . '/model/ChallengeTriggerSourceType.php';
69+
require __DIR__ . '/model/ChallengeType.php';
70+
require __DIR__ . '/model/CodeDetail.php';
71+
require __DIR__ . '/model/CodeValueType.php';
72+
require __DIR__ . '/model/ContactInfo.php';
73+
require __DIR__ . '/model/CouponPaymentMethodDetail.php';
74+
require __DIR__ . '/model/CreditPayFeeType.php';
75+
require __DIR__ . '/model/CreditPayPlan.php';
76+
require __DIR__ . '/model/CustomerBelongsTo.php';
77+
require __DIR__ . '/model/CustomerIdType.php';
78+
require __DIR__ . '/model/CustomsInfo.php';
79+
require __DIR__ . '/model/DiscountPaymentMethodDetail.php';
80+
require __DIR__ . '/model/DisplayType.php';
81+
require __DIR__ . '/model/Env.php';
82+
require __DIR__ . '/model/ExternalPaymentMethodDetail.php';
83+
require __DIR__ . '/model/Goods.php';
84+
require __DIR__ . '/model/GrantType.php';
85+
require __DIR__ . '/model/HttpRpcResult.php';
86+
require __DIR__ . '/model/InStorePaymentScenario.php';
87+
require __DIR__ . '/model/Logo.php';
88+
require __DIR__ . '/model/Merchant.php';
89+
require __DIR__ . '/model/MerchantCustomsInfo.php';
90+
require __DIR__ . '/model/MerchantRegistrationInfo.php';
91+
require __DIR__ . '/model/MerchantType.php';
92+
require __DIR__ . '/model/Order.php';
93+
require __DIR__ . '/model/OrderCodeForm.php';
94+
require __DIR__ . '/model/OrderInfo.php';
95+
require __DIR__ . '/model/OsType.php';
96+
require __DIR__ . '/model/PaymentFactor.php';
97+
require __DIR__ . '/model/PaymentMethod.php';
98+
require __DIR__ . '/model/PaymentMethodCategoryType.php';
99+
require __DIR__ . '/model/PaymentMethodDetail.php';
100+
require __DIR__ . '/model/PaymentMethodDetailType.php';
101+
require __DIR__ . '/model/PaymentMethodInfo.php';
102+
require __DIR__ . '/model/PaymentOption.php';
103+
require __DIR__ . '/model/PaymentVerificationData.php';
104+
require __DIR__ . '/model/PeriodRule.php';
105+
require __DIR__ . '/model/PresentmentMode.php';
106+
require __DIR__ . '/model/ProductCodeType.php';
107+
require __DIR__ . '/model/PspCustomerInfo.php';
108+
require __DIR__ . '/model/Quote.php';
109+
require __DIR__ . '/model/RedirectActionForm.php';
110+
require __DIR__ . '/model/RegistrationDetail.php';
111+
require __DIR__ . '/model/Result.php';
112+
require __DIR__ . '/model/ResultStatusType.php';
113+
require __DIR__ . '/model/RiskScoreDetail.php';
114+
require __DIR__ . '/model/RiskScoreResult.php';
115+
require __DIR__ . '/model/RiskScoreType.php';
116+
require __DIR__ . '/model/ScopeType.php';
117+
require __DIR__ . '/model/SettlementStrategy.php';
118+
require __DIR__ . '/model/Shipping.php';
119+
require __DIR__ . '/model/Store.php';
120+
require __DIR__ . '/model/TerminalType.php';
121+
require __DIR__ . '/model/TransactionType.php';
122+
require __DIR__ . '/model/Transaction.php';
123+
require __DIR__ . '/model/TransactionStatusType.php';
124+
require __DIR__ . '/model/Trial.php';
125+
require __DIR__ . '/model/UserIdentityType.php';
126+
require __DIR__ . '/model/UserName.php';
127+
require __DIR__ . '/model/WalletPaymentMethodType.php';
128+
require __DIR__ . '/model/WebSite.php';
129+
130+
131+
//example
132+
require __DIR__ . '/example/AuthTest.php';
133+
require __DIR__ . '/example/CustomsTest.php';
134+
require __DIR__ . '/example/EntryCodePaymentTest.php';
135+
require __DIR__ . '/example/OrderCodePaymentTest.php';
136+
require __DIR__ . '/example/PayTest.php';
137+
require __DIR__ . '/example/RegistrationTest.php';
138+
require __DIR__ . '/example/UserPresentedCodePaymentTest.php';
139+
140+
141+
142+
143+
144+
145+
146+
147+
148+
149+
150+
151+
152+
153+
154+
155+
156+
157+
158+
159+
160+
161+
162+
163+
164+

0 commit comments

Comments
 (0)