Skip to content

Commit c4a0184

Browse files
committed
Updating from the new xsd
1 parent f5a282d commit c4a0184

105 files changed

Lines changed: 460 additions & 473 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

genclass.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo Make sure the ns-dest uses destination as: $apidir
1414
logfile=./xsdgen.log
1515
echo `date` > $logfile
1616
echo Generating PHP Classes >> $logfile
17-
vendor/goetas/xsd2php/bin/xsd2php.php convert:php \
17+
vendor/goetas/xsd2php/bin/xsd2php convert:php \
1818
--ns-dest='net.authorize.api.contract.v1.;lib/net/authorize/api/contract/v1' \
1919
--ns-map='http://www.w3.org/2001/XMLSchema;W3/XMLSchema/2001/' \
2020
--ns-map='AnetApi/xml/v1/schema/AnetApiSchema.xsd;net.authorize.api.contract.v1' \
@@ -27,7 +27,7 @@ if [ -d "$jmsdir" ]; then
2727
fi
2828
mkdir -p "$jmsdir"
2929
echo Generating Serializers for Classes >> $logfile
30-
vendor/goetas/xsd2php/bin/xsd2php.php convert:jms-yaml \
30+
vendor/goetas/xsd2php/bin/xsd2php convert:jms-yaml \
3131
--ns-dest='net.authorize.api.contract.v1.;lib/net/authorize/api/yml/v1' \
3232
--ns-map='http://www.w3.org/2001/XMLSchema;W3/XMLSchema/2001/' \
3333
--ns-map='AnetApi/xml/v1/schema/AnetApiSchema.xsd;net.authorize.api.contract.v1' \

lib/net/authorize/api/contract/v1/ANetApiRequestType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ANetApiRequestType
77
*
8-
*
8+
*
99
* XSD Type: ANetApiRequest
1010
*/
1111
class ANetApiRequestType

lib/net/authorize/api/contract/v1/ANetApiResponseType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ANetApiResponseType
77
*
8-
*
8+
*
99
* XSD Type: ANetApiResponse
1010
*/
1111
class ANetApiResponseType

lib/net/authorize/api/contract/v1/ARBGetSubscriptionListResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function setTotalNumInResultSet($totalNumInResultSet)
4747
* @return self
4848
* @param \net\authorize\api\contract\v1\SubscriptionDetailType $subscriptionDetail
4949
*/
50-
public function addSubscriptionDetailToSubscriptionDetails(\net\authorize\api\contract\v1\SubscriptionDetailType $subscriptionDetail)
50+
public function addToSubscriptionDetails(\net\authorize\api\contract\v1\SubscriptionDetailType $subscriptionDetail)
5151
{
5252
$this->subscriptionDetails[] = $subscriptionDetail;
5353
return $this;

lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ARBGetSubscriptionListSortingType
77
*
8-
*
8+
*
99
* XSD Type: ARBGetSubscriptionListSorting
1010
*/
1111
class ARBGetSubscriptionListSortingType

lib/net/authorize/api/contract/v1/ARBSubscriptionType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ARBSubscriptionType
77
*
8-
*
8+
*
99
* XSD Type: ARBSubscriptionType
1010
*/
1111
class ARBSubscriptionType

lib/net/authorize/api/contract/v1/ArrayOfSettingType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ArrayOfSettingType
77
*
8-
*
8+
*
99
* XSD Type: ArrayOfSetting
1010
*/
1111
class ArrayOfSettingType
@@ -22,7 +22,7 @@ class ArrayOfSettingType
2222
* @return self
2323
* @param \net\authorize\api\contract\v1\SettingType $setting
2424
*/
25-
public function addSettingToSetting(\net\authorize\api\contract\v1\SettingType $setting)
25+
public function addToSetting(\net\authorize\api\contract\v1\SettingType $setting)
2626
{
2727
$this->setting[] = $setting;
2828
return $this;

lib/net/authorize/api/contract/v1/BankAccountMaskedType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing BankAccountMaskedType
77
*
8-
*
8+
*
99
* XSD Type: bankAccountMaskedType
1010
*/
1111
class BankAccountMaskedType

lib/net/authorize/api/contract/v1/BankAccountType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing BankAccountType
77
*
8-
*
8+
*
99
* XSD Type: bankAccountType
1010
*/
1111
class BankAccountType

lib/net/authorize/api/contract/v1/BatchDetailsType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing BatchDetailsType
77
*
8-
*
8+
*
99
* XSD Type: batchDetailsType
1010
*/
1111
class BatchDetailsType
@@ -211,7 +211,7 @@ public function setProduct($product)
211211
* @return self
212212
* @param \net\authorize\api\contract\v1\BatchStatisticType $statistic
213213
*/
214-
public function addStatisticToStatistics(\net\authorize\api\contract\v1\BatchStatisticType $statistic)
214+
public function addToStatistics(\net\authorize\api\contract\v1\BatchStatisticType $statistic)
215215
{
216216
$this->statistics[] = $statistic;
217217
return $this;

0 commit comments

Comments
 (0)