Skip to content

Commit

Permalink
Generated Xendit php SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
xendit-devx-bot committed Sep 20, 2023
1 parent b10916e commit b41bf8d
Show file tree
Hide file tree
Showing 678 changed files with 138,603 additions and 16,270 deletions.
12 changes: 0 additions & 12 deletions .editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion .env.example

This file was deleted.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "composer" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
27 changes: 27 additions & 0 deletions .github/workflows/generate-release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate Release Tag
on:
repository_dispatch:
types: [create-release-tag]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set the value in bash
id: parse-changelog
run: |
echo "changelog<<EOF" >> "$GITHUB_OUTPUT"
echo "${{ github.event.client_payload.changelog }}" | tr -s '%0A' '\n' >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: Create Release
id: create-release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
with:
tag_name: v${{ github.event.client_payload.version }}
release_name: v${{ github.event.client_payload.version }}
body: ${{ steps.parse-changelog.outputs.changelog }}
draft: false
prerelease: false
38 changes: 0 additions & 38 deletions .github/workflows/php.yml

This file was deleted.

38 changes: 10 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore

# Created by https://www.gitignore.io/api/visualstudiocode
# Edit at https://www.gitignore.io/?templates=visualstudiocode

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files
.history

# End of https://www.gitignore.io/api/visualstudiocode

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

# For people using composer
composer.phar
/vendor/

.idea/*

.phpunit.result.cache
clover.xml
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock

.env
# php-cs-fixer cache
.php_cs.cache
.php-cs-fixer.cache

composer.phar
composer-setup.php
bin/
# PHPUnit cache
.phpunit.result.cache
23 changes: 23 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
202 changes: 202 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
.github/dependabot.yml
.github/workflows/generate-release-tag.yml
.gitignore
.php-cs-fixer.dist.php
LICENSE
README.md
composer.json
docs/PaymentMethod.yaml
docs/PaymentMethod/BillingInformation.md
docs/PaymentMethod/Card.md
docs/PaymentMethod/CardChannelProperties.md
docs/PaymentMethod/CardParameters.md
docs/PaymentMethod/CardParametersCardInformation.md
docs/PaymentMethod/CardVerificationResults.md
docs/PaymentMethod/CardVerificationResultsThreeDSecure.md
docs/PaymentMethod/ChannelAmountLimits.md
docs/PaymentMethod/ChannelAmountLimitsAllOf.md
docs/PaymentMethod/ChannelProperty.md
docs/PaymentMethod/ChannelPropertyAllOf.md
docs/PaymentMethod/CreatePaymentMethod409Response.md
docs/PaymentMethod/CreatePaymentMethod503Response.md
docs/PaymentMethod/DirectDebit.md
docs/PaymentMethod/DirectDebitAllOf.md
docs/PaymentMethod/DirectDebitBankAccount.md
docs/PaymentMethod/DirectDebitChannelCode.md
docs/PaymentMethod/DirectDebitChannelProperties.md
docs/PaymentMethod/DirectDebitDebitCard.md
docs/PaymentMethod/DirectDebitParameters.md
docs/PaymentMethod/DirectDebitType.md
docs/PaymentMethod/EWallet.md
docs/PaymentMethod/EWalletAccount.md
docs/PaymentMethod/EWalletChannelCode.md
docs/PaymentMethod/EWalletChannelProperties.md
docs/PaymentMethod/EWalletParameters.md
docs/PaymentMethod/GetAllPaymentMethods400Response.md
docs/PaymentMethod/GetAllPaymentMethods403Response.md
docs/PaymentMethod/GetAllPaymentMethods404Response.md
docs/PaymentMethod/GetAllPaymentMethodsDefaultResponse.md
docs/PaymentMethod/OverTheCounter.md
docs/PaymentMethod/OverTheCounterChannelCode.md
docs/PaymentMethod/OverTheCounterChannelProperties.md
docs/PaymentMethod/OverTheCounterChannelPropertiesUpdate.md
docs/PaymentMethod/OverTheCounterParameters.md
docs/PaymentMethod/OverTheCounterUpdateParameters.md
docs/PaymentMethod/PaymentChannel.md
docs/PaymentMethod/PaymentChannelAllOf.md
docs/PaymentMethod/PaymentChannelList.md
docs/PaymentMethod/PaymentChannelListLinksInner.md
docs/PaymentMethod/PaymentChannelListLinksInnerAllOf.md
docs/PaymentMethod/PaymentMethod.md
docs/PaymentMethod/PaymentMethodAction.md
docs/PaymentMethod/PaymentMethodApi.md
docs/PaymentMethod/PaymentMethodAuthParameters.md
docs/PaymentMethod/PaymentMethodCountry.md
docs/PaymentMethod/PaymentMethodExpireParameters.md
docs/PaymentMethod/PaymentMethodList.md
docs/PaymentMethod/PaymentMethodParameters.md
docs/PaymentMethod/PaymentMethodReusability.md
docs/PaymentMethod/PaymentMethodStatus.md
docs/PaymentMethod/PaymentMethodType.md
docs/PaymentMethod/PaymentMethodUpdateParameters.md
docs/PaymentMethod/QRCode.md
docs/PaymentMethod/QRCodeChannelCode.md
docs/PaymentMethod/QRCodeChannelProperties.md
docs/PaymentMethod/QRCodeParameters.md
docs/PaymentMethod/SimulatePaymentRequest.md
docs/PaymentMethod/TokenizedCardInformation.md
docs/PaymentMethod/VirtualAccount.md
docs/PaymentMethod/VirtualAccountAllOf.md
docs/PaymentMethod/VirtualAccountAlternativeDisplay.md
docs/PaymentMethod/VirtualAccountChannelCode.md
docs/PaymentMethod/VirtualAccountChannelProperties.md
docs/PaymentMethod/VirtualAccountChannelPropertiesPatch.md
docs/PaymentMethod/VirtualAccountParameters.md
docs/PaymentMethod/VirtualAccountUpdateParameters.md
docs/header.jpg
lib/ApiException.php
lib/Configuration.php
lib/HeaderSelector.php
lib/Model/ModelInterface.php
lib/ObjectSerializer.php
lib/PaymentMethod/BillingInformation.php
lib/PaymentMethod/Card.php
lib/PaymentMethod/CardChannelProperties.php
lib/PaymentMethod/CardParameters.php
lib/PaymentMethod/CardParametersCardInformation.php
lib/PaymentMethod/CardVerificationResults.php
lib/PaymentMethod/CardVerificationResultsThreeDSecure.php
lib/PaymentMethod/ChannelAmountLimits.php
lib/PaymentMethod/ChannelAmountLimitsAllOf.php
lib/PaymentMethod/ChannelProperty.php
lib/PaymentMethod/ChannelPropertyAllOf.php
lib/PaymentMethod/CreatePaymentMethod409Response.php
lib/PaymentMethod/CreatePaymentMethod503Response.php
lib/PaymentMethod/DirectDebit.php
lib/PaymentMethod/DirectDebitAllOf.php
lib/PaymentMethod/DirectDebitBankAccount.php
lib/PaymentMethod/DirectDebitChannelCode.php
lib/PaymentMethod/DirectDebitChannelProperties.php
lib/PaymentMethod/DirectDebitDebitCard.php
lib/PaymentMethod/DirectDebitParameters.php
lib/PaymentMethod/DirectDebitType.php
lib/PaymentMethod/EWallet.php
lib/PaymentMethod/EWalletAccount.php
lib/PaymentMethod/EWalletChannelCode.php
lib/PaymentMethod/EWalletChannelProperties.php
lib/PaymentMethod/EWalletParameters.php
lib/PaymentMethod/GetAllPaymentMethods400Response.php
lib/PaymentMethod/GetAllPaymentMethods403Response.php
lib/PaymentMethod/GetAllPaymentMethods404Response.php
lib/PaymentMethod/GetAllPaymentMethodsDefaultResponse.php
lib/PaymentMethod/OverTheCounter.php
lib/PaymentMethod/OverTheCounterChannelCode.php
lib/PaymentMethod/OverTheCounterChannelProperties.php
lib/PaymentMethod/OverTheCounterChannelPropertiesUpdate.php
lib/PaymentMethod/OverTheCounterParameters.php
lib/PaymentMethod/OverTheCounterUpdateParameters.php
lib/PaymentMethod/PaymentChannel.php
lib/PaymentMethod/PaymentChannelAllOf.php
lib/PaymentMethod/PaymentChannelList.php
lib/PaymentMethod/PaymentChannelListLinksInner.php
lib/PaymentMethod/PaymentChannelListLinksInnerAllOf.php
lib/PaymentMethod/PaymentMethod.php
lib/PaymentMethod/PaymentMethodAction.php
lib/PaymentMethod/PaymentMethodApi.php
lib/PaymentMethod/PaymentMethodAuthParameters.php
lib/PaymentMethod/PaymentMethodCountry.php
lib/PaymentMethod/PaymentMethodExpireParameters.php
lib/PaymentMethod/PaymentMethodList.php
lib/PaymentMethod/PaymentMethodParameters.php
lib/PaymentMethod/PaymentMethodReusability.php
lib/PaymentMethod/PaymentMethodStatus.php
lib/PaymentMethod/PaymentMethodType.php
lib/PaymentMethod/PaymentMethodUpdateParameters.php
lib/PaymentMethod/QRCode.php
lib/PaymentMethod/QRCodeChannelCode.php
lib/PaymentMethod/QRCodeChannelProperties.php
lib/PaymentMethod/QRCodeParameters.php
lib/PaymentMethod/SimulatePaymentRequest.php
lib/PaymentMethod/TokenizedCardInformation.php
lib/PaymentMethod/VirtualAccount.php
lib/PaymentMethod/VirtualAccountAllOf.php
lib/PaymentMethod/VirtualAccountAlternativeDisplay.php
lib/PaymentMethod/VirtualAccountChannelCode.php
lib/PaymentMethod/VirtualAccountChannelProperties.php
lib/PaymentMethod/VirtualAccountChannelPropertiesPatch.php
lib/PaymentMethod/VirtualAccountParameters.php
lib/PaymentMethod/VirtualAccountUpdateParameters.php
phpunit.xml.dist
test/Api/PaymentMethodApiTest.php
test/Model/BillingInformationTest.php
test/Model/CardChannelPropertiesTest.php
test/Model/CardParametersCardInformationTest.php
test/Model/CardParametersTest.php
test/Model/CardTest.php
test/Model/CardVerificationResultsTest.php
test/Model/CardVerificationResultsThreeDSecureTest.php
test/Model/ChannelAmountLimitsAllOfTest.php
test/Model/ChannelAmountLimitsTest.php
test/Model/ChannelPropertyAllOfTest.php
test/Model/ChannelPropertyTest.php
test/Model/CreatePaymentMethod409ResponseTest.php
test/Model/CreatePaymentMethod503ResponseTest.php
test/Model/DirectDebitDebitCardTest.php
test/Model/DirectDebitParametersTest.php
test/Model/EWalletAccountTest.php
test/Model/EWalletChannelCodeTest.php
test/Model/EWalletChannelPropertiesTest.php
test/Model/EWalletParametersTest.php
test/Model/EWalletTest.php
test/Model/GetAllPaymentMethods400ResponseTest.php
test/Model/GetAllPaymentMethods403ResponseTest.php
test/Model/GetAllPaymentMethods404ResponseTest.php
test/Model/GetAllPaymentMethodsDefaultResponseTest.php
test/Model/OverTheCounterChannelCodeTest.php
test/Model/OverTheCounterChannelPropertiesTest.php
test/Model/OverTheCounterChannelPropertiesUpdateTest.php
test/Model/OverTheCounterUpdateParametersTest.php
test/Model/PaymentChannelAllOfTest.php
test/Model/PaymentChannelListLinksInnerAllOfTest.php
test/Model/PaymentChannelListLinksInnerTest.php
test/Model/PaymentChannelListTest.php
test/Model/PaymentChannelTest.php
test/Model/PaymentMethodActionTest.php
test/Model/PaymentMethodAuthParametersTest.php
test/Model/PaymentMethodCountryTest.php
test/Model/PaymentMethodExpireParametersTest.php
test/Model/PaymentMethodListTest.php
test/Model/PaymentMethodUpdateParametersTest.php
test/Model/QRCodeChannelCodeTest.php
test/Model/QRCodeChannelPropertiesTest.php
test/Model/QRCodeParametersTest.php
test/Model/QRCodeTest.php
test/Model/SimulatePaymentRequestTest.php
test/Model/TokenizedCardInformationTest.php
test/Model/VirtualAccountAllOfTest.php
test/Model/VirtualAccountAlternativeDisplayTest.php
test/Model/VirtualAccountChannelCodeTest.php
test/Model/VirtualAccountChannelPropertiesPatchTest.php
test/Model/VirtualAccountChannelPropertiesTest.php
test/Model/VirtualAccountTest.php
test/Model/VirtualAccountUpdateParametersTest.php
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.6.0
29 changes: 29 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

/**
* @generated
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
*/
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('vendor')
->exclude('test')
->exclude('tests')
;

$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'phpdoc_order' => true,
'array_syntax' => [ 'syntax' => 'short' ],
'strict_comparison' => true,
'strict_param' => true,
'no_trailing_whitespace' => false,
'no_trailing_whitespace_in_comment' => false,
'braces' => false,
'single_blank_line_at_eof' => false,
'blank_line_after_namespace' => false,
'no_leading_import_slash' => false,
])
->setFinder($finder)
;
Loading

0 comments on commit b41bf8d

Please sign in to comment.