-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
409 changed files
with
1,051 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
67 changes: 67 additions & 0 deletions
67
src/Model/Generated/Endpoint/AttachmentMonetaryAccountContent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
use bunq\Http\BunqResponse; | ||
use bunq\Model\Core\BunqModel; | ||
|
||
/** | ||
* Fetch the raw content of a monetary account attachment with given ID. The | ||
* raw content is the binary representation of a file, without any JSON | ||
* wrapping. | ||
* | ||
* @generated | ||
*/ | ||
class AttachmentMonetaryAccountContent extends BunqModel | ||
{ | ||
/** | ||
* Endpoint constants. | ||
*/ | ||
const ENDPOINT_URL_LISTING = 'user/%s/monetary-account/%s/attachment/%s/content'; | ||
|
||
/** | ||
* Object type. | ||
*/ | ||
const OBJECT_TYPE_GET = 'AttachmentMonetaryAccountContent'; | ||
|
||
/** | ||
* Get the raw content of a specific attachment. | ||
* | ||
* This method is called "listing" because "list" is a restricted PHP word | ||
* and cannot be used as constants, class names, function or method names. | ||
* | ||
* @param int $attachmentId | ||
* @param int|null $monetaryAccountId | ||
* @param string[] $customHeaders | ||
* | ||
* @return BunqResponseString | ||
*/ | ||
public static function listing( | ||
int $attachmentId, | ||
int $monetaryAccountId = null, | ||
array $customHeaders = [] | ||
): BunqResponseString { | ||
$apiClient = new ApiClient(static::getApiContext()); | ||
$responseRaw = $apiClient->get( | ||
vsprintf( | ||
self::ENDPOINT_URL_LISTING, | ||
[static::determineUserId(), static::determineMonetaryAccountId($monetaryAccountId), $attachmentId] | ||
), | ||
[], | ||
$customHeaders | ||
); | ||
|
||
return BunqResponseString::castFromBunqResponse( | ||
new BunqResponse($responseRaw->getBodyString(), $responseRaw->getHeaders()) | ||
); | ||
} | ||
|
||
/** | ||
* @return bool | ||
*/ | ||
public function isAllFieldNull() | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
use bunq\Http\BunqResponse; | ||
use bunq\Model\Core\BunqModel; | ||
|
||
/** | ||
* Fetch the raw content of a user attachment with given ID. The raw content | ||
* is the binary representation of a file, without any JSON wrapping. | ||
* | ||
* @generated | ||
*/ | ||
class AttachmentUserContent extends BunqModel | ||
{ | ||
/** | ||
* Endpoint constants. | ||
*/ | ||
const ENDPOINT_URL_LISTING = 'user/%s/attachment/%s/content'; | ||
|
||
/** | ||
* Object type. | ||
*/ | ||
const OBJECT_TYPE_GET = 'AttachmentUserContent'; | ||
|
||
/** | ||
* Get the raw content of a specific attachment. | ||
* | ||
* This method is called "listing" because "list" is a restricted PHP word | ||
* and cannot be used as constants, class names, function or method names. | ||
* | ||
* @param int $attachmentId | ||
* @param string[] $customHeaders | ||
* | ||
* @return BunqResponseString | ||
*/ | ||
public static function listing(int $attachmentId, array $customHeaders = []): BunqResponseString | ||
{ | ||
$apiClient = new ApiClient(static::getApiContext()); | ||
$responseRaw = $apiClient->get( | ||
vsprintf( | ||
self::ENDPOINT_URL_LISTING, | ||
[static::determineUserId(), $attachmentId] | ||
), | ||
[], | ||
$customHeaders | ||
); | ||
|
||
return BunqResponseString::castFromBunqResponse( | ||
new BunqResponse($responseRaw->getBodyString(), $responseRaw->getHeaders()) | ||
); | ||
} | ||
|
||
/** | ||
* @return bool | ||
*/ | ||
public function isAllFieldNull() | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BankSwitchServiceNetherlandsIncoming.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Model\Core\BunqModel; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Model\Core\BunqModel; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\ApiClient; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Model\Core\BunqModel; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Model\Core\BunqModel; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BunqResponseBankSwitchServiceNetherlandsIncomingPayment.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BunqResponseBillingContractSubscriptionList.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BunqResponseBunqMeFundraiserProfileUser.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BunqResponseBunqMeFundraiserProfileUserList.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BunqResponseBunqMeFundraiserResult.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BunqResponseBunqMeTabResultResponse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
1 change: 1 addition & 0 deletions
1
src/Model/Generated/Endpoint/BunqResponseCardGeneratedCvc2List.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
namespace bunq\Model\Generated\Endpoint; | ||
|
||
use bunq\Http\BunqResponse; | ||
|
Oops, something went wrong.