Skip to content

Commit

Permalink
Merge pull request #219 from devkale/master
Browse files Browse the repository at this point in the history
SDK update for API's
  • Loading branch information
Sunny Raj Rathod committed Apr 25, 2017
2 parents 5486413 + 72063fc commit bdc8675
Show file tree
Hide file tree
Showing 13 changed files with 539 additions and 95 deletions.
58 changes: 56 additions & 2 deletions lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ class GetCustomerProfileRequest extends ANetApiRequestType
*/
private $customerProfileId = null;

/**
* @property string $merchantCustomerId
*/
private $merchantCustomerId = null;

/**
* @property string $email
*/
private $email = null;

/**
* @property boolean $unmaskExpirationDate
*/
Expand All @@ -36,7 +46,51 @@ public function getCustomerProfileId()
*/
public function setCustomerProfileId($customerProfileId)
{
$this->customerProfileId = $customerProfileId;
$this->customerProfileId = $customerProfileId;
return $this;
}

/**
* Gets as merchantCustomerId
*
* @return string
*/
public function getMerchantCustomerId()
{
return $this->merchantCustomerId;
}

/**
* Sets a new merchantCustomerId
*
* @param string $merchantCustomerId
* @return self
*/
public function setMerchantCustomerId($merchantCustomerId)
{
$this->merchantCustomerId = $merchantCustomerId;
return $this;
}

/**
* Gets as email
*
* @return string
*/
public function getEmail()
{
return $this->email;
}

/**
* Sets a new email
*
* @param string $email
* @return self
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}

Expand All @@ -58,7 +112,7 @@ public function getUnmaskExpirationDate()
*/
public function setUnmaskExpirationDate($unmaskExpirationDate)
{
$this->unmaskExpirationDate = $unmaskExpirationDate;
$this->unmaskExpirationDate = $unmaskExpirationDate;
return $this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ class GetTransactionDetailsResponse extends ANetApiResponseType
*/
private $transaction = null;

/**
* @property string $clientId
*/
private $clientId = null;

/**
* @property string $transrefId
*/
private $transrefId = null;

/**
* Gets as transaction
*
Expand All @@ -35,6 +45,49 @@ public function setTransaction(\net\authorize\api\contract\v1\TransactionDetails
return $this;
}

/**
* Gets as clientId
*
* @return string
*/
public function getClientId()
{
return $this->clientId;
}

}
/**
* Sets a new clientId
*
* @param string $clientId
* @return self
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
return $this;
}

/**
* Gets as transrefId
*
* @return string
*/
public function getTransrefId()
{
return $this->transrefId;
}

/**
* Sets a new transrefId
*
* @param string $transrefId
* @return self
*/
public function setTransrefId($transrefId)
{
$this->transrefId = $transrefId;
return $this;
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<?php

namespace net\authorize\api\contract\v1;

/**
* Class representing GetTransactionListForCustomerRequest
*/
class GetTransactionListForCustomerRequest extends ANetApiRequestType
{

/**
* @property string $customerProfileId
*/
private $customerProfileId = null;

/**
* @property string $customerPaymentProfileId
*/
private $customerPaymentProfileId = null;

/**
* @property \net\authorize\api\contract\v1\TransactionListSortingType $sorting
*/
private $sorting = null;

/**
* @property \net\authorize\api\contract\v1\PagingType $paging
*/
private $paging = null;

/**
* Gets as customerProfileId
*
* @return string
*/
public function getCustomerProfileId()
{
return $this->customerProfileId;
}

/**
* Sets a new customerProfileId
*
* @param string $customerProfileId
* @return self
*/
public function setCustomerProfileId($customerProfileId)
{
$this->customerProfileId = $customerProfileId;
return $this;
}

/**
* Gets as customerPaymentProfileId
*
* @return string
*/
public function getCustomerPaymentProfileId()
{
return $this->customerPaymentProfileId;
}

/**
* Sets a new customerPaymentProfileId
*
* @param string $customerPaymentProfileId
* @return self
*/
public function setCustomerPaymentProfileId($customerPaymentProfileId)
{
$this->customerPaymentProfileId = $customerPaymentProfileId;
return $this;
}

/**
* Gets as sorting
*
* @return \net\authorize\api\contract\v1\TransactionListSortingType
*/
public function getSorting()
{
return $this->sorting;
}

/**
* Sets a new sorting
*
* @param \net\authorize\api\contract\v1\TransactionListSortingType $sorting
* @return self
*/
public function setSorting(\net\authorize\api\contract\v1\TransactionListSortingType $sorting)
{
$this->sorting = $sorting;
return $this;
}

/**
* Gets as paging
*
* @return \net\authorize\api\contract\v1\PagingType
*/
public function getPaging()
{
return $this->paging;
}

/**
* Sets a new paging
*
* @param \net\authorize\api\contract\v1\PagingType $paging
* @return self
*/
public function setPaging(\net\authorize\api\contract\v1\PagingType $paging)
{
$this->paging = $paging;
return $this;
}


}

Loading

0 comments on commit bdc8675

Please sign in to comment.